Skip to content

Instantly share code, notes, and snippets.

@kevinwright
Created January 5, 2014 13:47
Show Gist options
  • Select an option

  • Save kevinwright/8268444 to your computer and use it in GitHub Desktop.

Select an option

Save kevinwright/8268444 to your computer and use it in GitHub Desktop.
block"""
| implicit def fnFromProduct${N}[A,..Z]: Aux[(A::..Z) => Res, (A,..Z) => Res] = new FnFromProduct[(A::..Z) => Res] {
| type Out = (A,..Z) => Res
| def apply(hf : (A::..Z) => Res): Out = (a:A,..z:Z) => hf(a::..z)
| }
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment