Skip to content

Commit 4e5f137

Browse files
committed
Adding continuation-prommpt-available? document
1 parent a15c2b4 commit 4e5f137

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/sagittarius/continuations.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ approximately the same as like this:
3232
(call-with-continuation-prompt thunk tag #f)
3333
```
3434

35+
###### [!Function] `continuation-prompt-available?` _tag_ :optional (_cont_ #f)
36+
37+
Returns if the prompt with _tag_ is available in the continuation.
38+
39+
If _cont_ is `#f` or omit, then it checks the current continuation.__
40+
Otherwise, _cont_ must satisfy `continuation?`, then check the given
41+
continuation.
42+
43+
3544
###### [!Function] `abort-current-continuation` _tag_ . _args_
3645
###### [!Function] `abort/cc` _tag_ . _args_
3746

0 commit comments

Comments
 (0)