Skip to content

Commit 6632c4a

Browse files
committed
[ fix ] align allM for SnocList with List version
1 parent 554ec2c commit 6632c4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Core/Core.idr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Show Error where
267267
case cov of
268268
IsCovering => "Oh yes it is (Internal error!)"
269269
MissingCases cs => "Missing cases:\n\t" ++
270-
joinBy "\n\t" (toList $ map show cs)
270+
joinBy "\n\t" (map show cs)
271271
NonCoveringCall ns => "Calls non covering function"
272272
++ (case ns of
273273
[fn] => " " ++ show fn
@@ -975,7 +975,7 @@ allM f (x :: xs)
975975
namespace SnocList
976976
export
977977
allM : (a -> Core Bool) -> SnocList a -> Core Bool
978-
allM f [<] = pure False
978+
allM f [<] = pure True
979979
allM f (xs :< x)
980980
= if !(f x)
981981
then allM f xs

0 commit comments

Comments
 (0)