mirror of
https://github.com/anoma/juvix.git
synced 2024-12-11 08:25:46 +03:00
[tests] fix definition of Data.List.filter
This commit is contained in:
parent
b4d58bf566
commit
7ec3fede62
@ -25,7 +25,7 @@ filter : (a : Type) → (a → Bool) → List a → List a;
|
||||
filter a f (nil _) ≔ nil a;
|
||||
filter a f (∷ _ h hs) ≔ match f h {
|
||||
true ↦ ∷ a h (filter a f hs);
|
||||
true ↦ filter a f hs;
|
||||
false ↦ filter a f hs;
|
||||
};
|
||||
|
||||
import Data.Nat;
|
||||
|
Loading…
Reference in New Issue
Block a user