Skip to content

Instantly share code, notes, and snippets.

@MarioAriasC
Created September 6, 2014 19:56
Show Gist options
  • Save MarioAriasC/b1bcf5628bb16644a6db to your computer and use it in GitHub Desktop.
Save MarioAriasC/b1bcf5628bb16644a6db to your computer and use it in GitHub Desktop.
Partial
/**
* Marker class to be used as the representation of a non-appliled parameter
*
* Created by IntelliJ IDEA.
* @author Mario Arias
* Date: 6/09/14
* Time: 11:07
*/
public class Partial<T> {
}
public fun <T> partial(): Partial<T> = Partial()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment