Closed robrix closed 10 years ago
HMRMap(HMRAnd(HMREqual(x), HMRContain(y)), f)
is not super idiomatic/readable.
[[HMREqual(x) and:HMRContain(y)] map:f]
is better.
Simplifying terminals is slightly trickier. May just want to expose the class names:
[[[HMREqual :x] and:[HMRContain :y] map:f]
(I’m not seriously suggesting : as the selector, I’m just not sure what it should be.)
:
x.hmr_literal
is not super idiomatic/readable.
is better.
Simplifying terminals is slightly trickier. May just want to expose the class names:
(I’m not seriously suggesting
:
as the selector, I’m just not sure what it should be.)