Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Palindromic Quine
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-01-30 (12:57)
From: Kuba Ober <ober.14@o...>
Subject: Re: [Caml-list] Palindromic Quine
On Tuesday 29 January 2008, Bünzli Daniel wrote:
> So your email below is a program ? You can define any string to be a
> program but it won't be that useful.

Yeah, but I guess the constraint is that you have to run/process it in some 
sort of what would normally be considered programming environment ;)

So, the error message approach, being a non-palindromic quine, will work with 
many compilers in fact.

I guess the contest designers have to decide one way or the other on the "it 
must be a correct program" constraint.

Cheers, Kuba