DEV Community

Discussion on: Know When to Fold 'Em

Collapse
 
yorodm profile image
Yoandy Rodriguez Martinez

Types are one thing that I find easier to talk about in Haskell than English. Here's the type signature for foldr:

As someone told me once when I said the same about OOP and Common Lisp: "The Nerd is strong is this one".

As a fellow nerd, I salute you!

Collapse
 
deciduously profile image
Ben Lovy

CLOS is a thing of beauty :)