Skip to content

Commit

Permalink
added matcher to let
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Nov 22, 2016
1 parent b63f941 commit d4024ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions let.zp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
;; husk-scheme (github.com/justinethier/husk-scheme).
(define-syntax let
(syntax-rules ()
((_ (((x ...) v) ...) e1 e2 ...)
(apply (lambda (x ...) e1 e2 ...) v ...))
((_ ((x v) ...) e1 e2 ...)
((lambda (x ...) e1 e2 ...) v ...))
((_ name ((x v) ...) e1 e2 ...)
Expand Down

0 comments on commit d4024ec

Please sign in to comment.