Skip to content

Commit

Permalink
removed lambda from unwrap-into
Browse files Browse the repository at this point in the history
  • Loading branch information
YarinHeffes authored and stylewarning committed Jan 16, 2025
1 parent 31be825 commit d8bff9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/classes.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ Typical `fail` continuations are:
container))

(declare unwrap-into ((Unwrappable (Result :c)) (TryInto :a :b :c) => :a -> :b))
(define unwrap-into
(define (unwrap-into x)
"Same as `tryInto` followed by `unwrap`."
(fn (x) (unwrap (tryinto x))))
(unwrap (tryinto x)))

(declare with-default ((Unwrappable :container) =>
:element
Expand Down

0 comments on commit d8bff9b

Please sign in to comment.