[Haskell-beginners] Differences between OO-style Interfaces and
type classes. Any 'Haskell' way of doing it?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Sat Apr 4 13:08:23 EDT 2009
On 2009 Apr 4, at 11:06, Александър Л. Димитров
wrote:
> So, my problem here is: I'd like a tree to store partial functions
> of possibly
> different types and then be able to compose a leaf's or non-leaf's
> payload with
> all the parent's payloads to yield a final result.
Have you considered using generics?
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/beginners/attachments/20090404/398039c2/PGP.bin
More information about the Beginners
mailing list