1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-03 09:41:10 +03:00
juvix/examples/milestone
Łukasz Czajka 60a191b786
Numeric, ordering and equality traits (#2433)
* Adapts to https://github.com/anoma/juvix-stdlib/pull/86
* Adds a pass in `toEvalTransformations` to automatically inline all
record projection functions, regardless of the optimization level. This
is necessary to ensure that arithmetic operations and comparisons on
`Nat` or `Int` are always represented directly with the corresponding
built-in Core functions. This is generally highly desirable and required
for the Geb target.
* Adds the `inline: always` pragma which indicates that a function
should always be inlined during the mandatory inlining phase, regardless
of optimization level.
2023-10-09 18:25:01 +02:00
..
Bank Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
Collatz Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
Fibonacci Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
Hanoi Improve formatting of single-constructor types and records (#2342) 2023-09-07 16:20:14 +02:00
HelloWorld Format juvix files using new function syntax (#2245) 2023-07-11 17:22:07 +02:00
PascalsTriangle Remove old function syntax (#2305) 2023-08-24 16:24:47 +02:00
TicTacToe Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00
Tutorial Numeric, ordering and equality traits (#2433) 2023-10-09 18:25:01 +02:00