mirror of
https://github.com/anoma/juvix.git
synced 2024-12-03 09:41:10 +03:00
2793514325
Since it is common to want to assign a named argument a variable of the same name, we add special syntax for it. E.g. ``` f (fieldA : A) (fieldB : B) : S := mkS@{ fieldC := fieldA; -- normal named argument fieldA; -- pun fieldB -- pun }; ``` |
||
---|---|---|
.. | ||
package | ||
package-base/Juvix/Builtin |