FunctionalProgrammingSimplified icon indicating copy to clipboard operation
FunctionalProgrammingSimplified copied to clipboard

page 90 (p74) def getOrElse[B >: A](default: => B): B = ???

Open peteanning opened this issue 5 years ago • 0 comments

This is an example of pass-by-name and you don't cover this until page 255(p239) I worked it out eventually when I got there it suddenly made sense.

peteanning avatar Jun 04 '19 15:06 peteanning