Skip to content

Instantly share code, notes, and snippets.

@geocodinglife
Last active October 27, 2015 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geocodinglife/986ff129a33422974354 to your computer and use it in GitHub Desktop.
Save geocodinglife/986ff129a33422974354 to your computer and use it in GitHub Desktop.
simple math
g = -> (f, x) { f.call(x, 3) }
h = -> (x, y) { x + y }
g.call(h, 5)
>>8
#same as this
geo = -> (zombi, gasparin) { zombi.call(gasparin, 3) }
jose = -> (gasparin, frankenstein) { gasparin + frankenstein }
geo.call(jose, 5)
>> 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment