Paste: A quine

Author: tylerg
Mode: factor
Date: Thu, 15 Jan 2009 02:23:34
Plain Text |
! no big deal, I'm sure this has popped up somewhere else
! inspired by Smullyan's "Satan, Cantor, and Infinity"

: norm ( [ P ]  -- [ [ P ] P ] )
  dup  [ [ ] curry ] dip compose ;

 [ [ norm ] norm ] ! evaluates to itself when "called"

Annotation: another

Author: tylerg
Mode: factor
Date: Thu, 15 Jan 2009 02:44:47
Plain Text |
! sorry couldn't help myself

: dupcur dup curry ;

[ [ dupcur ] dupcur ] ! also evaluated works

Annotation: tylerg

Author: an obvious revelation
Mode: factor
Date: Wed, 21 Jan 2009 07:25:42
Plain Text |
! norm IS dup curry !

: norm dup curry ;

New Annotation

Summary:
Author:
Mode:
Body: