July 14, 2005
The Hello World CollectionThis is a website featuring the "Hello World" program in over 200 programming languages ("Hello World" became famous as the first example in The C Programming Language (that version is here).
Someone pointed out that Monad (or MSH as we tend to refer to the language) was not on there, so I submitted it. There was a bit of debate over what program to submit and finally we decided on the most basic one:
which works because in Monad objects that reach the end of the pipeline are output (the program above is really an object -- the System.String initialized to "Hello World!" -- sent down the pipeline, except there is nothing after it on the pipeline, so it is sent to the default outputter, which displays it to the console).
Posted by AdamBa at July 14, 2005 10:08 PM
TrackBack URL for this entry: