Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nberger/more-macro-musings
https://github.com/nberger/more-macro-musings
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nberger/more-macro-musings
- Owner: nberger
- License: epl-1.0
- Created: 2015-09-17T19:41:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T18:03:31.000Z (about 9 years ago)
- Last Synced: 2024-05-09T21:28:50.111Z (6 months ago)
- Language: Clojure
- Size: 141 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# more-macro-musings
Repository with the code for my post [_More portable (complex) macro musing_](http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing/)
Build must be passing: [![Circle CI](https://circleci.com/gh/nberger/more-macro-musings.svg?style=svg)](https://circleci.com/gh/nberger/more-macro-musings) :)
## Usage
The first commit is an original reduced version of the [juxt.iota/given](https://github.com/juxt/iota/blob/master/src/juxt/iota.cljc#L50) macro in clj.
The other 6 commits correspond to each of the tried alternatives in the post. The last one is the one that works :)
For each commit you can run the clojure tests with `lein test` and the cljs tests with `lein doo node node-test` (node >= 0.12 needed)
Clojure tests should work for every commit. ClojureScript tests will only work for two of them :)
## License
Copyright © 2015 Nicolás Berger
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.