case-view documentation says that it uses equal? to compare the observable against the lit, but the implementation uses memv which is the eqv? condition. This makes it impossible to switch on strings because they can't be compared by eqv?.
Suggested solution: Change case-view's implementation to use member as the test.
case-view
documentation says that it usesequal?
to compare the observable against the lit, but the implementation usesmemv
which is theeqv?
condition. This makes it impossible to switch on strings because they can't be compared byeqv?
.Suggested solution: Change
case-view
's implementation to usemember
as the test.Relevant code:
private/view/if.rkt
line 137.As always, thank you for your amazing work!