1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-13 19:49:20 +03:00
juvix/test/Scope
Łukasz Czajka 5948a38a54
Named arguments syntax with function definitions (#2494)
* Closes #2365
* Implements the syntax `f@{x1 := def1; ...; xn := defn}` and `f@?{x1 :=
def1; ..; xn := defn}`. Each definition inside the `@{..}` is an
ordinary function definition. The `@?` version allows partial
application (not all explicit named arguments need to be provided). This
subsumes the old record creation syntax.
2023-11-07 12:02:22 +01:00
..
Negative.hs Named arguments syntax with function definitions (#2494) 2023-11-07 12:02:22 +01:00
Positive.hs Use a Juvix source file to define a package (#2434) 2023-10-27 12:35:20 +01:00