Djinn command-line interface
root
djinn-cli
djinn
is a tool to generate Haskell code from a type signature. This fork attempts to bring the modernize the codebase and provide easy integration with editors at the same time.
For instance
$ djinn "(.*)" "(c -> d) -> (a -> b -> c) -> a -> b -> d"
(.*) :: (c -> d) -> (a -> b -> c) -> a -> b -> d
(.*) a b c d = a (b c d)
Do be warned, however: djinn-cli
is very much a work in progress. I provide it in its uncompleted state mainly because it integrates with editors in a way that the pre-fork djinn
cannot. While it is not buggy, it is also not particularly featureful at the moment.