Skip to content

Instantly share code, notes, and snippets.

@Raynos

Raynos/x.js Secret

Created March 28, 2013 22: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 Raynos/d275669b81dce98b8eda to your computer and use it in GitHub Desktop.
Save Raynos/d275669b81dce98b8eda to your computer and use it in GitHub Desktop.
var user = getUser()
var company = getCompany()
// transformMany :: [Observable Xn] -> (X1 -> X2 -> X3 -> ... -> Y) -> Observable Y
var res = transformMany([user, company], function (user, company){
/* return combination */
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment