Skip to content

Instantly share code, notes, and snippets.

@bvssvni
Created April 17, 2014 19:23
Show Gist options
  • Select an option

  • Save bvssvni/11006165 to your computer and use it in GitHub Desktop.

Select an option

Save bvssvni/11006165 to your computer and use it in GitHub Desktop.
NumPair : Type -> Type -> Type
NumPair a b = (Num a, Num b)
numTriple : (NumPair a b, Num c) => a -> b -> c -> (a, b, c)
numTriple x y z = (x, y, z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment