status
failed

My first quine

I finally got around to writing a quine today, it turned out to be not so daunting once given a good chunk of thought and some experimentation. It’s not particularly pretty (well, in fact it’s very ugly indeed,) but it is mine!

I later realised it could be done much better by using two putStrLns and a show to avoid having to encode special characters in the first string. Therefore I present my second quine!

Much more readable!

Afterwards, looking for comparable ones, I found this quine, and a rather neat one-liner, both of which use essentially the same tricks.