Skip to content

Instantly share code, notes, and snippets.

@scott-fleischman
Created March 2, 2016 18:47
Show Gist options
  • Select an option

  • Save scott-fleischman/88e9b6c62b61fbac2f80 to your computer and use it in GitHub Desktop.

Select an option

Save scott-fleischman/88e9b6c62b61fbac2f80 to your computer and use it in GitHub Desktop.
Response to Functional Programming Is Not Popular Because It Is Weird http://probablydance.com/2016/02/27/functional-programming-is-not-popular-because-it-is-weird/
let preheatedOven = preheat oven 175<C>
let preparedPans = map (grease >> flour) pans
let flourMixture = whisk [ flour ; bakingSoda ; salt ]
creamUntil (all [ light ; fluffy ]) [ butter ; whiteSugar ; brownSugar ]
|> beatInOneAtATime eggs
|> mix bananas
|> addAlternately [ flourMixture ; buttermilk ]
|> stir (walnuts |> chop)
|> pourInto preparedPans
|> bake preheatedOven 30<min>
|> map (rmvoe >> placeOn (dampen teaTowel))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment