[Haskell-cafe] typeclass constraints?
Brandon Allbery
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
e.g. I/O.
--
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...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161105/5bf205d8/attachment.html>
More information about the Haskell-Cafe
mailing list