Fix many/e enum bug (probably impossible to observe at redex level)
This commit is contained in:
parent
3abb14a63e
commit
31469441dc
|
@ -785,7 +785,7 @@
|
|||
[(e)
|
||||
(define fix-size
|
||||
(if (= 0 (size e))
|
||||
0
|
||||
1
|
||||
+inf.0))
|
||||
(fix/e fix-size
|
||||
(λ (self)
|
||||
|
|
|
@ -419,3 +419,8 @@
|
|||
(many/e nats/e))
|
||||
(check-bijection? natss)
|
||||
|
||||
(define emptys/e
|
||||
(many/e empty/e))
|
||||
(check-equal? (decode emptys/e 0) '())
|
||||
(check-bijection? emptys/e)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user