It would be really handy for me right now to be able to match on
flvectors, and I think it's useful enough for minimal Racket. I've
already tried this option:
1. Export flvector as a match expander from racket/flonum
but racket/match depends on racket/flonum somehow. So I looked through
the
I think you should do 2': Change racket/match to recognize patterns
with #'flvector heads -- ie, use the binding for flvector from
`racket/flonum` to determine if something matches.
The use of symbolic names in match, rather than bindings, is a
leftover rather than something we should keep adding
Great idea!
Neil ⊥
On 04/17/2014 05:00 PM, Sam Tobin-Hochstadt wrote:
I think you should do 2': Change racket/match to recognize patterns
with #'flvector heads -- ie, use the binding for flvector from
`racket/flonum` to determine if something matches.
The use of symbolic names in match,
3 matches
Mail list logo