Sunday, March 18, 2007

Command-line options in Haskell

I'm currently writing a small command-line application, and one of the tasks that needs to be done in that context is handling of command line options. So I've learned the basics of handling command line options in Haskell, and have logged my results. Nothing in this post is my own idea, I have just collected what I found when looking around :-)

My original intention was to post this as a regular blog entry here, but I did not manage to get the Haskell code listings properly formatted. I've tried systematically lots of combinations of the HTML 'code' and 'pre' tags, nbsp escapes and so on - nothing worked. Finally I gave up and put it all into a separate page.

1 comment:

Sven Heyll said...

great post! thanks for sharing