DJINN(1)
DJINN(1) π
okay bestie, so this is the manual page for djinn, living in the General Commands Manual section, and it is genuinely one of the most iconic little tools out there, no cap.
β¨ NAME β¨
djinn β generate Haskell expressions from types π¦
π SYNOPSIS π
djinn [OPTION ... ] [FILE ... ]
π DESCRIPTION π
so like. Djinn uses a theorem prover for intuitionistic propositional logic to generate a Haskell expression when you give it a type. yes, for real. it's giving wizard behavior.
you hand it a type, and the program will deduce an expression of that type, if one exists. and if Djinn says the type is not realizable, that's because there is no (total) expression of the given type. like, it's not being rude, it's just facts. the type is simply not giving anything.
πΈ OPTIONS πΈ
[-|+]multiβ print multiple solutions. more than one answer? she's generous like that π[-|+]sortedβ sort solutions. organized queen behavior π[-|+]debugβ debug mode. for when you need to see the ~inner workings~ π
β SEE ALSO β
the program provides interactive documentation. yep, it documents itself. main character energy fr fr.
π AUTHOR π
djinn was written by Lennart Augustsson and Thomas Johnsson. legends, honestly.
this manual page was written by RaΓΊl Benencia for the Debian Project. ty for your service π«Ά
and that's the whole vibe check bestie β this page was dated October 06 2013, brought to you by the Debian Project, and it's still slaying to this day. periodt. π β¨
π¦ where this page comes from
- debian bookworm: djinn 2014.9.7-9+b2 Β· BSD-3-Clause
- ubuntu jammy: djinn 2014.9.7-9build4.1 Β· BSD-3-Clause
- ubuntu noble: djinn 2014.9.7-9build6 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms