Click to See Complete Forum and Search --> : Quine sentences


BenVitale
11-05-2007, 01:46 PM
A Quine sentence is a program that returns itself when evaluated.

Here's a really simple:

(funcall #'(lambda (x) (list 'funcall x x)) #'(lambda (x) (list 'funcall x x)))

Can anyone think of any other Quine sentences, maybe in other languages? They are pretty easy in functional languages.