Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created September 2, 2015 15:46
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 shigemk2/a17d5c2508be3b90ae22 to your computer and use it in GitHub Desktop.
Save shigemk2/a17d5c2508be3b90ae22 to your computer and use it in GitHub Desktop.
def ほげ(n: Int): Int = {
n
}
println(ほげ(3))
type ほげ = Int
def α(n: ほげ): ほげ = {
n
}
println(α(3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment