DOKK / manpages / debian 10 / djinn / djinn.1.en
DJINN(1) General Commands Manual DJINN(1)

djinn - generate Haskell expressions from types

djinn [OPTION ... ] [FILE ... ]

Djinn uses a theorem prover for intuitionistic propositional logic to generate a Haskell expression when given a type.

Given a type the program will deduce an expression of this type, if one exists. If the Djinn says the type is not realizable it is because there is no (total) expression of the given type.

[-|+]multi
Print multiple solutions.
[-|+]sorted
Sort solutions.
[-|+]debug
Debug mode.

The program provides interactive documentation.

djinn was written by Lennart Augustsson and Thomas Johnsson.

This manual page was written by Raúl Benencia for the Debian Project.

October 06 2013