A type-level Quine in Haskell.
$ ghc -fcontext-stack=2048 type-level-quine-poc.hs
$ ./type-level-quine-poc
NOTE:
-fcontext-stack=2048
is required. (Otherwise, ghc will fail with stack overflow)- The compilation may take a few minutes.
- The result is partially snipped; this is not a complete quine.
$ ghc -fcontext-stack=2048 type-level-quine.hs
$ ./type-level-quine
NOTE:
- This may make your OS stuck because of short of memory.
- Actually I has failed to confirm this.
Both are written in Japanese.