dedbox/racket-algebraic

add exact matches for containers

Closed this issue · 2 comments

Right now, #hash([x . 1]) matches a hash with at least the one binding. Instead, it should match a hash with only the one binding.

Inexact match should be denoted with a hanging wildcard, like it already is for instances or pairs:

(φ #hash([x . 1] . _) OK)

Other forms: struct, regexp, vector (?)

I think this is a reader customization.

This feature is no longer necessary. Use #:if and equality predicates if you need more precision.