This website requires JavaScript.
Explore
Help
Sign In
nocturn9x
/
peon
Watch
2
Star
2
Fork
You've already forked peon
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
63cdda42ce
peon
/
tests
/
generics3.pn
8 lines
103 B
Plaintext
Raw
Blame
History
# Another test for generic functions
import std;
fn sum[T: any](a: T, b: T): T {
return a + b;
}
Reference in New Issue
View Git Blame
Copy Permalink