[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] From records to a type class

Subject: Re: [Haskell-cafe] From records to a type class
From: Stephen Tetley
Date: Sat, 16 Jan 2010 08:27:33 +0000
Hi Taru

If you haven't obviously got dispatch on type then records are certainly fine.

Some obigatory examples:

http://www.cas.mcmaster.ca/~kahl/Publications/TR/2000-01/Kahl-Braun-Scheffczyk-2000a.pdf
(see the Editor type page 13)

http://www.cas.mcmaster.ca/~kahl/Publications/Conf/Kahl-1999a.pdf

http://web.cecs.pdx.edu/~sheard/papers/JfpPearl.ps

Parsec's Text.ParserCombinators.Parsec.Token module is an example that
has seen widespread use.

http://hackage.haskell.org/packages/archive/parsec/2.1.0.1/doc/html/Text-ParserCombinators-Parsec-Token.html


Best wishes

Stephen
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>