Prompted by A Scala Quine, here’s a nice one in Haskell that I haven’t seen anywhere else…
main = (putStr . ap (++) show) "main = (putStr . ap (++) show) "
Edit: I have found it somewhere else
Here, to be exact.
Prompted by A Scala Quine, here’s a nice one in Haskell that I haven’t seen anywhere else…
main = (putStr . ap (++) show) "main = (putStr . ap (++) show) "
Edit: I have found it somewhere else
Here, to be exact.
Comments 1
This one involves less dark magic:
main = putStrLn (s ++ show s) where s = “main = putStrLn (s ++ show s) where s = “
Posted 22 Mar 2010 at 11:50 pm ¶Post a Comment