Logo
Explore Help
Sign In
miloignis/kraken
1
0
Fork 0
You've already forked kraken
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
2ac1639b5eea5a34e0cc8d0158830e2ee1e070fa
kraken/tests/test_functionMultipleTemplateTest.krak

14 lines
167 B
Plaintext
Raw Normal View History

Actually implemented some sort of primitive hierarchy for the results of things like 1 + 2.0 as well as port test_functionMultipleTemplateTest.krak so we now have 5/71
2016-02-05 16:43:14 -05:00
import simple_print:*;
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun addAndPrint<T,J>(a: T, b: J): void {
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
print(a+b);
}
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun main(): int {
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
Traits for function templates working! Need to finish for objects and specilizations, and I think also else statements.
2014-07-18 08:52:15 -07:00
addAndPrint<int,double>(10,12.14159);
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
print("\n");
return 0;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 452ms Template: 28ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API