We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
allM
1 parent 554ec2c commit 6632c4aCopy full SHA for 6632c4a
1 file changed
src/Core/Core.idr
@@ -267,7 +267,7 @@ Show Error where
267
case cov of
268
IsCovering => "Oh yes it is (Internal error!)"
269
MissingCases cs => "Missing cases:\n\t" ++
270
- joinBy "\n\t" (toList $ map show cs)
+ joinBy "\n\t" (map show cs)
271
NonCoveringCall ns => "Calls non covering function"
272
++ (case ns of
273
[fn] => " " ++ show fn
@@ -975,7 +975,7 @@ allM f (x :: xs)
975
namespace SnocList
976
export
977
allM : (a -> Core Bool) -> SnocList a -> Core Bool
978
- allM f [<] = pure False
+ allM f [<] = pure True
979
allM f (xs :< x)
980
= if !(f x)
981
then allM f xs
0 commit comments