Created
November 26, 2011 20:39
-
-
Save ericbmerritt/1396266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?FORALL({FunName, ArgName, Op}, {ident(), ident(), op()}, | |
begin | |
Expr = lists:flatten( | |
io_lib:format("(defn ~s [~s] (~s (mod ~s) 0))", | |
[FunName, ArgName, Op, ArgName])), | |
Tokens = jxa_lex:lex(Expr), | |
[] == Tokens | |
end). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment