1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-07 08:08:44 +03:00
juvix/tests/Compilation/positive/test019.juvix
Łukasz Czajka 2baad15a41 Remove old function syntax (#2305)
* Enables new function syntax in local let-declarations
* Closes #2251
2023-08-24 16:24:47 +02:00

12 lines
251 B
Plaintext

-- self-application
module test019;
import Stdlib.Prelude open;
-- change this to a lambda once we have type annotations for lambdas
app : ({A : Type} → A → A) → {A : Type} → A → A
| x := x x;
main : IO := printNatLn (app id (3 + 4));