[Haskell-cafe] Implementing parental using blood type

José A. Romero L. escherdragon at gmail.com
Sun Jun 29 19:33:47 UTC 2014

:-) Of course, if I were really serious about it I'd have written at least
one quickCheck test, right? Fixed version in attachment.


On Sun, Jun 29, 2014 at 9:10 PM, Francesco Ariis <fa-ml at ariis.it> wrote:

> On Sun, Jun 29, 2014 at 08:42:02PM +0200, José A. Romero L. wrote:
> > To solve the specific problem you pose, one doesn't need to know anything
> > about the relationship between alleles and blood types -- you don't even
> > need to know what an allele is :-)
> Cleverly written (especially the last line of (#)! Though as it is:
>     λ> (A # A)
> hangs
> -F
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

José A. Romero L.
escherdragon at gmail.com
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140629/7976d86a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Blood.hs
Type: text/x-haskell
Size: 798 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140629/7976d86a/attachment.hs>

More information about the Haskell-Cafe mailing list