Re:Cons is your friend
by mindslight on Thursday September 11, 2014 @02:58PM
(#8304458)
Actually, generic protocols and parametric polymorphism are my friends. Representation is quite important, but that doesn't mean I want to hang out with it every day.
[ Parent
| on HN ]
AFAIR one of the lessons from the Fortress development was in fact that choosing a suitable fundamental representation led to better protocols
i.e. if you assume that "the list" is implemented with conc (i.e. it's a tree) it's more natural to come up with "the loop" as parallel by default, while starting with a cons list you may more likely end up with a sequential one.