Re: [Haskell-cafe] Re: ANN: CmdArgs - easy command line argument processing

2009-09-28 Thread Max Bolingbroke
2009/9/28 Ben Franksen ben.frank...@online.de: To expose an impure function (!) in an API, I don't know... I mean, couldn't one just wrap the value like this  data Attributed a -- opaque  (=) :: a - Attrib - Attributed a  mode :: Data a = Attributed a - Mode a and thus retain a purely

[Haskell-cafe] Re: ANN: CmdArgs - easy command line argument processing

2009-09-27 Thread Ben Franksen
Neil Mitchell wrote: I am pleased to announce CmdArgs v0.1. CmdArgs is a library for easy command line argument processing - taking the arguments passed into your program from getArgs and converting them into a structured value for use in your program. Compared to the System.Console.GetOpts