Skip to content

Commit

Permalink
fix: cbpv monadic example
Browse files Browse the repository at this point in the history
  • Loading branch information
LighghtEeloo committed Feb 14, 2024
1 parent ef6bce6 commit c495f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zydeco-lang/tests/nonzero-exit-code/cbpv-monadic.zy
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ main
) +Int(6);

// factorial, poor usage of stack
// do ! demo-scompu cbpv-env +App(Rec("fact", +Env(Lam("x",
// do ! demo-scompu cbpv-env +App(+Rec("fact", +Env(+Lam("x",
// +Bind(
// +App(+App(+Force(+Var("eq")), +Var("x")), +Int(0)),
// "b",
Expand All @@ -927,7 +927,7 @@ main
// ))), +Int(6)) +Int(720);

// factorial, tail call
// do ! demo-scompu cbpv-env +App(+App(Rec("fact", +Env(Lam("acc", +Lam("x",
// do ! demo-scompu cbpv-env +App(+App(+Rec("fact", +Env(+Lam("acc", +Lam("x",
// +Bind(
// +App(+App(+Force(+Var("eq")), +Var("x")), +Int(0)),
// "b",
Expand Down

0 comments on commit c495f83

Please sign in to comment.