microsoft/BosqueLanguage

Error in README.md

Closed this issue · 2 comments

Probably you have error in README.md in Update y-value on point Record example:

updateY(@{x=1, y=2, z=3}, 5) //@{x=-1, y=5, z=3}

If updateY update y-value why x-value changed from 1 to -1?

Observe that the code also sets x=-x. So the name is the confusing thing.

Thanks for raising this issue. This was definitely a problem and I have renamed the method + updated the associated text.

Closing this issue now but feel free to reopen if you think there are any more problems.