Optional parameters and for-each loops finally landed in #hare today 🎉
Drew DeVault
Optional parameters and for-each loops finally landed in #hare today 🎉 3 comments
Drew DeVault
@gloopsies has not been added to the tutorial yet, but it's in the specification Short answer is you can provide a default value for the last parameter(s) of a function signature so long as the default values can be determined at compile-time (which has a special meaning in hare)
soc
@drewdevault Chemists/physicists consider Osmium and Iridium to be the two densest materials in the universe. It appears that at the time of definition they weren't aware of Zyg. |
@drewdevault
I can't find anything about optional parameters in the tutorial or git logs, any resources about it?