Skip to content

Instantly share code, notes, and snippets.

@Zolomon
Created November 28, 2014 14:35
Show Gist options
  • Select an option

  • Save Zolomon/e9173c3f642804dd0500 to your computer and use it in GitHub Desktop.

Select an option

Save Zolomon/e9173c3f642804dd0500 to your computer and use it in GitHub Desktop.
Studying for exam in Haskell
func = \f g x -> f (g x)
func2 = \g x -> (.) (g x)
func3 = \g x -> (\g2 x2 -> g x (g2 x2))
f1 = (($)$($))
f2 = (($)($))
f3 = \x -> (\f1 x1 -> f1 x1) x
f4 x f1 x1 = (f1 x1) x
b1 = (.)(.)
b2 = \g x -> (.) (g x)
b3 = \g x -> (\h y -> (g x) (h y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment