Skip to content

Instantly share code, notes, and snippets.

@ataulm
Last active August 10, 2018 10:59
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 ataulm/e3a387cddf340fbdd71daea114774564 to your computer and use it in GitHub Desktop.
Save ataulm/e3a387cddf340fbdd71daea114774564 to your computer and use it in GitHub Desktop.
public interface Function0<out R> : Function<R> {
public operator fun invoke(): R
}
public interface Function1<in P1, out R> : Function<R> {
public operator fun invoke(p1: P1): R
}
public interface Function2<in P1, in P2, out R> : Function<R> {
public operator fun invoke(p1: P1, p2: P2): R
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment