[Haskell-cafe] ANN: HCard -- A library for implementing card-like
jfredett at gmail.com
Tue Apr 7 22:42:46 EDT 2009
HCard, is a library which supports a card-like data structures, it uses
associated types  to provide shuffling, dealing, and other
general enough to support many different types of playing cards, it
currently comes with the common "French Deck" (4-suit, 13 card deck that
is very common in the US) implemented and an example (though untested)
cribbage scoring application.
You can find HCard here [2,3], and a post about it's use of associated
types here .
On another note, I can't think of a good reason I should be using
associated types, as I explain in . Well, no good reason other than
the "cool factor" -- can anyone enlighten me on a possible practical
benefit of using Assoc types as opposed to a simple indexed record?
Anyway, enjoy HCard!
 darcs get http://patch-tag.com/publicrepos/HCard
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 296 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090407/230085a3/jfredett.vcf
More information about the Haskell-Cafe