-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
questionUncertainty is involvedUncertainty is involved
Description
Currently, the expression hash.contains(5) gets translated to contains(hash).eval(&5). If you understand that context, it makes sense. If you are coming from another language that uses in or contains operators, it gets confusing (the expression 4 < 5 gets translated to: lt(5).eval(&4))
- Some languages have an
inoperator. So5 in hashwould naturally translate toin(hash).eval(&5). - Some languages flip that and have a
containsoperator. Sohash contains 5would naturally translate tocontains(5).eval(&hash).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionUncertainty is involvedUncertainty is involved