Logo
Explore Help
Sign In
mark/mers
1
0
Fork 0
You've already forked mers
mirror of https://github.com/Dummi26/mers.git synced 2025-07-03 23:38:02 +02:00
Code Issues Actions Packages Projects Releases Wiki Activity
69 Commits 1 Branch 0 Tags
Commit Graph

1 Commits

Author SHA1 Message Date
Dummi26
2ac19dcd00 added iterators: any function that takes no arguments can be used in a for loop. Each iteration, it will be called once. If its value matches, the for loop will execute its block with that value. If the value doesn't match, the for loop will stop. This also required adding function types: fn((input11 input12 output1) (input21 input22 output2)). The type maps inputs to outputs, because the add function isn't add(int/float int/float) -> int/float, but rather add((int int int) (int float float) (float int float) (float float float)) (notice that add(int int) can't return float and any other add can't return ints). 2023-04-19 15:40:05 +02:00
Powered by Gitea Version: 1.23.8 Page: 102ms Template: 15ms
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