New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add schema-aware letfn #53

merged 2 commits into from Jan 4, 2014


None yet
2 participants

rkday commented Jan 4, 2014


I had a situation where it was useful to have letfn with schema syntax, e.g.

      [(x :- Number [] "8")
       (y :- String [m :- Number] m)]
    (y (x)))

I thought this might be useful to add back in to the main project, so I've added it to schema.macros and added a set of tests which pass on Clojure and Clojurescript.


This comment has been minimized.


w01fe commented Jan 4, 2014

Awesome, thanks for your contribution!

w01fe added a commit that referenced this pull request Jan 4, 2014

Merge pull request #53 from rkday/letfn
Add schema-aware letfn

@w01fe w01fe merged commit e45b589 into plumatic:master Jan 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment