DJINN(1)

πŸ“¦ version 2014.9.7, in debian bookworm, ubuntu jammy, ubuntu noble

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