1
1
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:
Jan Mas Rovira 2022-02-24 00:31:21 +01:00
parent b4d58bf566
commit 7ec3fede62

View File

@ -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;