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."
Another compilable haiku. Again, read the := as "if."
A program which may be read artistically as a limerick. The program defines the natural numbers.
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
A compilable and runnable haiku that demonstrates the use of read() and write() predicates.
A haiku to demonstrate file reading.
The following haiku pair demonstrates both reading and writing to a file.