1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-03 09:41:10 +03:00
juvix/tests
Jan Mas Rovira ef16b45ca6
Aliasing (#2301)
- Closes #2188.

This pr introduces a new syntactical statement for defining aliases:
```
syntax alias newName := oldName;
```
where `oldName` can be any name in the expression namespace. Fixity and
module aliases are not supported at the moment.

- The `newName` does not inherit the fixity of `oldName`. We have agreed
that the goal is to inherit the fixity of `oldName` except if `newName`
has a fixity statement, but this will be done in a separate pr as it
requires #2310.
2023-08-25 15:28:58 +02:00
..
Asm New compilation pipeline (#1832) 2023-03-14 16:24:07 +01:00
benchmark Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
Compilation Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
Core Fold lets when the bound variable occurs at most once (#2231) 2023-06-29 13:02:10 +02:00
examplesExpected Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Geb/positive Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
Internal Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
negative Aliasing (#2301) 2023-08-25 15:28:58 +02:00
positive Aliasing (#2301) 2023-08-25 15:28:58 +02:00
runtime/positive Respect fixity in runtime printer (#2182) 2023-06-07 11:44:41 +02:00
smoke/Commands Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
VampIR Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
.gitattributes Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00