Open
Description
The following fails:
Define run n = \s. if 0 < n then run (n - 1n) s else ()
giving the error
Defn.prim_mk_defn:
at Defn.prim_mk_defn:
failure in internal translation to tupled format
Clearly the equivalent definition:
Define run n s = if 0 < n then run (n - 1n) s else ()
is fine.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.