19 Dec 07:55
Re: getOpt return record of type a rather than [a]
Henning Thielemann <lemming <at> henning-thielemann.de>
2007-12-19 06:55:19 GMT
2007-12-19 06:55:19 GMT
On Tue, 18 Dec 2007, Stefan O'Rear wrote: > The approach you describe is quite possible with the current GetOpt, > just apply (foldr ($) initialValue) to the return value, and allow a to > be instantiated with a function type. Great idea! One should add this as example to the docs of GetOpt, because the example given there works the way I didn't like.
RSS Feed