1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/PragmasFormat.juvix
Łukasz Czajka c31e373c88
Add: pragma support (#1997)
* Closes #1965 
* Implements the `unroll` pragma to control the unrolling depth on a
per-function basis.
* Implements parsing of the `inline` pragma.

---------

Co-authored-by: janmasrovira <janmasrovira@gmail.com>
2023-04-26 15:26:13 +02:00

8 lines
95 B
Plaintext

module PragmasFormat;
open import Stdlib.Prelude;
{-# inline: Tre #-}
main : Nat;
main := 0;