Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add value comparison operators #93

Open
pyroscope opened this issue Jun 10, 2018 · 0 comments
Open

Add value comparison operators #93

pyroscope opened this issue Jun 10, 2018 · 0 comments

Comments

@pyroscope
Copy link
Owner

pyroscope commented Jun 10, 2018

  • Because greater= sucks for numbers
  • math.eq, math.lt, math.gt, math.ne, math.le, math.ge
  • Same semantics as other math.* commands
    • maybe change (fix) semantics before the release, namely the obscure handling of nested lists after the 1st arg
    • strings (digits) or values accepted
    • operator is applied to first arg against all following args
    • default OR semantics – return on first "true"
  • See also Add 'is.*' command group #58 for the more complex / general version (but this has merit on its own)
@pyroscope pyroscope added this to the Canvas v2 (PS-1.1) milestone Jun 10, 2018
@pyroscope pyroscope self-assigned this Jun 16, 2018
@pyroscope pyroscope modified the milestones: Canvas v2 (PS-1.1), PS 1.2 Jun 27, 2018
@pyroscope pyroscope removed their assignment Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant