mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 05:42:26 +03:00
21d5034e60
In this PR, we ran the Juvix formatter so that we can now freely run `make format`, `make check`, or `make pre-commit` without any unexpected file changes. This goes after: - https://github.com/anoma/juvix/pull/2486
15 lines
313 B
Plaintext
15 lines
313 B
Plaintext
module LambdaCalculus;
|
|
|
|
LambdaTy : Type -> Type := Lambda;
|
|
|
|
AppTy : Type -> Type := App;
|
|
|
|
type Expr (V : Type) :=
|
|
| var : V -> Expr V
|
|
| lam : LambdaTy V -> Expr V
|
|
| app : AppTy V -> Expr V;
|
|
|
|
type Lambda (V : Type) := mkLambda : Expr V -> Lambda V;
|
|
|
|
type App (V : Type) := mkApp : Expr V -> Expr V -> App V;
|