Prolog Poetry
Skip to end of metadata
Go to start of metadata

Who says computer science is completely left-brained?



A compilable haiku about eternity, which will take that long if you query ?-time(willEnd). Read the := as "when" or "if."

--Mary



Another compilable haiku. Again, read the := as "if."

--Elena



A program which may be read artistically as a limerick. The program defines the natural numbers.

Unknown macro: {div}

X is nat if there is some N
such that s N X and nat N when
nill is nat is the base
S N Be gin follow Chase
N is Chase and N is Be gin
--Mary



A compilable and runnable haiku that demonstrates the use of read() and write() predicates.

--Elena

A haiku to demonstrate file reading.

--Mary

The following haiku pair demonstrates both reading and writing to a file.

--Mary

Labels
  • No labels