Created
February 16, 2013 12:30
-
-
Save nddrylliog/4966715 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sack: cover template <Kalamazoo> { | |
init: func@ { | |
"Sack with elements of size %d" printfln(Kalamazoo size) | |
} | |
} | |
main: func { | |
s := makeSack(Int) | |
} | |
makeSack: func <Kilimandjaro> (Kilimandjaro: Class) -> Sack<Kilimandjaro> { | |
Sack<Kilimandjaro> new() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment