Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created February 16, 2013 12:30
Show Gist options
  • Save nddrylliog/4966715 to your computer and use it in GitHub Desktop.
Save nddrylliog/4966715 to your computer and use it in GitHub Desktop.
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