[Haskell-cafe] typeclass constraints?
allbery.b at gmail.com
Sat Nov 5 20:50:58 UTC 2016
On Sat, Nov 5, 2016 at 3:09 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
> So each test is of type: (String, value), for various value types all of
> which (only) have to be members of the *Show* class.
Had you considered [(String, String)]? Remember that Haskell is lazy; it's
not going to evaluate those expressions until their values are needed for
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe