https://www.slideshare.net/ScottWlaschin/fp-patterns-ndc-london2014 says
Bad news: Composition patterns only work for functions that have one parameter!
Good news! Every function is a one parameter function!
How can we implement the composite pattern in terms of functions in functional languages, in the same spirit of the implementation of the composite pattern in OO languages?
Thanks.
Aucun commentaire:
Enregistrer un commentaire