Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone



Create macros, which are calls that can substitute arguments into an expression. E.g. apply-start-offset | start-s = (cf-rnd-a $distance).



make_signature :: [(Parse.Var, Expr.Symbol, Int)] -> Sig.Parser [BaseTypes.Val] Source #

Since I don't have the Sig.Parsers but just the ArgDocs, I can't check the types, but I can have the right doc. The type will be checked by the calls when I apply them.

TODO these are all required, but should I support optional args? But isn't the whole point of doing this in haskell that I don't get tied up in more and more hacky language features?