in reply to Roles and functional programming
Traits (and Roles) are very much like Functors in functional programming.
If you mean Functors in the SML/OCaml sense, then yes. If you mean Functors like in Haskell, then not really, they are closer to Typeclasses in Haskell.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Roles and functional programming
by zby (Vicar) on Nov 27, 2008 at 09:27 UTC |