Skip to content

Commit

Permalink
add another failing test for continuations
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 18, 2025
1 parent 4071506 commit 5efe41c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/continuations.scm
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,8 @@
(reverse result)
(iter (counter) (cons i result))))
'(0 1 2))))

;; https://docs.scheme.org/surveys/petrofsky-catastrophe/
(test.failing "continuations: Petrofsky catastrophe"
(lambda (t)
(t.is (call/cc (lambda (c) (0 (c 1)))) 1)))

0 comments on commit 5efe41c

Please sign in to comment.