Post Aa0PFljCPBdZ86h9Em by FenTiger@mastodon.social
(DIR) More posts by FenTiger@mastodon.social
(DIR) Post #Aa0OBLVfqFyUhehCQy by tedu@honk.tedunangst.com
2023-09-21T22:09:19Z
0 likes, 0 repeats
The three acceptable keywords to introduce a function (should your language need one) are "fn", "func", and "function". You may not use "fun". Unacceptable.
(DIR) Post #Aa0OGGePKrBd547ytM by tux0r@layer8.space
2023-09-21T22:10:15Z
0 likes, 0 repeats
@tedu (defun)!
(DIR) Post #Aa0P72XoVs4qg8Cusi by tedu@honk.tedunangst.com
2023-09-21T22:19:45Z
0 likes, 0 repeats
@zev I was thinking actually about "def" and decided it's bad because it doesn't even tell us what's being defined.But defun is just nonsense. Unless you're defining an un.
(DIR) Post #Aa0PFljCPBdZ86h9Em by FenTiger@mastodon.social
2023-09-21T22:14:22Z
0 likes, 0 repeats
@tedu My new language will work as follows:f - a function of 1 argumentfu - a function of 2 argumentsfun - a function of 3 argumentsfunc - a function of 4 argumentsfunct - a function of 5 argumentsfuncti - a function of 6 argumentsfunctio - a function of 7 arguments
(DIR) Post #Aa0PFmc96tabsWP1sm by tedu@honk.tedunangst.com
2023-09-21T22:21:19Z
0 likes, 0 repeats
@FenTiger this is the way.
(DIR) Post #Aa0eAVr3UcmTlRJzRA by tedu@honk.tedunangst.com
2023-09-22T01:08:21Z
0 likes, 0 repeats
@tromino this is amazing.