[Haskell-cafe] short yet featureful grep

David House dmhouse at gmail.com
Fri Apr 28 03:47:40 EDT 2006


On 27/04/06, John Meacham <john at repetae.net> wrote:
> my favorite example is the featureful yet short grep, supporting quite a
> few non-trivial options as well as a detailed '--help' message. :)

Does getOptions really take an arbitrary n-tuple? Why? That seems a
very odd way of doing things. The only advantage I can think of over
lists is that tuples don't have to be typically homogeneous, but I
would have thought that you could get your ?? and ==> operators to
spit out the correct types.

--
-David House, dmhouse at gmail.com, http://xmouse.ithium.net


More information about the Haskell-Cafe mailing list