mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 05:42:26 +03:00
e951df077d
- Closes #3095
19 lines
312 B
Plaintext
19 lines
312 B
Plaintext
module SignatureWithBody;
|
|
|
|
import Stdlib.Prelude open;
|
|
|
|
isNull : {A : Type} → List A → Bool :=
|
|
λ{
|
|
| nil := true
|
|
| _ := false
|
|
};
|
|
|
|
isNull' : {A : Type} → List A → Bool :=
|
|
let
|
|
aux : {A : Type} → List A → Bool :=
|
|
λ{
|
|
| nil := true
|
|
| _ := false
|
|
};
|
|
in aux;
|