mirror of
https://github.com/anoma/juvix.git
synced 2025-01-07 08:08:44 +03:00
2baad15a41
* Enables new function syntax in local let-declarations * Closes #2251
12 lines
251 B
Plaintext
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));
|
|
|