Open lukaszcz opened 2 weeks ago
Typechecking
module papp; import Stdlib.Prelude open; f (x y : Nat) : Nat := x + y; g : Nat -> Nat := f@?{y := 1};
gives the error
/Users/heliax/Documents/progs/juvix/papp.juvix:7:19-24: error: Missing arguments in named application: • x
Instead, f@?{y := 1} should be desugared to a lambda-abstraction:
f@?{y := 1}
\{x := f x 1}
I think we agreed to remove the @? syntax.
@?
Typechecking
gives the error
Instead,
f@?{y := 1}
should be desugared to a lambda-abstraction: