mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 04:43:18 +03:00
16 lines
331 B
Plaintext
16 lines
331 B
Plaintext
module SignatureWithBody;
|
|
open import Stdlib.Prelude;
|
|
|
|
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;
|
|
end;
|