-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'd like to take a maybe and unwrap it by running a thunk when it's a nothing. from-just works with a plain value instead of a thunk, while from-just! doesn't let me override the nothing behavior. I can work around this easily but it seems like something that should be built in.
An #:on-nothing keyword argument to from-just! would let me do this while remaining backward compatible and not adding a third from-just function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels