Closed florence closed 4 years ago
Actually this might just be that it accepts programs where the argument size doesn't decrease. See:
#lang cur
(require
cur/stdlib/nat
cur/stdlib/equality
cur/stdlib/sugar)
(define/rec/match bang! : Nat -> (== 0 1)
[n => (bang! n)])
Which typechecks.
See
bang!1
infinite loops.using
bang!2
in the gives: