Skip to content

Instantly share code, notes, and snippets.

@NN---
Created November 29, 2016 07:32
Show Gist options
  • Save NN---/1978ca7559d0e03abd41ac3ebec16d0d to your computer and use it in GitHub Desktop.
Save NN---/1978ca7559d0e03abd41ac3ebec16d0d to your computer and use it in GitHub Desktop.
class A
{
public static @:(a: A) : int { 0 } // implicit
public static @:>(a: A) : int { 2 } // explicit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment