1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 04:43:18 +03:00
juvix/test/Scope
Jan Mas Rovira 2793514325
Puns for named application (#2890)
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
  };
```
2024-07-16 12:23:22 +02:00
..
Negative.hs Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
Positive.hs Puns for named application (#2890) 2024-07-16 12:23:22 +02:00