[Haskell-beginners] type T' = T a b c
Imants Cekusins
imantc at gmail.com
Mon Aug 22 12:51:13 UTC 2016
> data T a b = T a b
> type T2 a b c = T a (b, c)
how would this work if T were a record? say:
data T a b = T {
a::a,
b::b,
agnostic::Int
}
could we make a T' (no param) out of it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160822/ec906bc4/attachment.html>
More information about the Beginners
mailing list