[Haskell-beginners] Tree-like Structure with unique elements on each level
Imants Cekusins
imantc at gmail.com
Sat Jan 2 21:12:57 UTC 2016
> data Predicate a = Any | Pred (S.Set a)
data Product a = Pany | Prod (S.Set(Predicate a, S.Set(Product a)))
Does this fit:
data Predicate a = Any | Pred a
data Product a = Pred' (Predicate a) | Prod (Product a)
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160102/e0c65895/attachment.html>
More information about the Beginners
mailing list