summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-06-11 20:01:23 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-06-11 20:01:23 +0200
commit14056f19d355a43f529d746b3a2cc105ed54e891 (patch)
tree63f5c39f1795bf3039990eaeeb5654eea51faf07
parent8e69e941d69ed129b63d4ba9303fe929c20e3879 (diff)
downloadmetatile-14056f19d355a43f529d746b3a2cc105ed54e891.tar
metatile-14056f19d355a43f529d746b3a2cc105ed54e891.zip
-Wall police
darcs-hash:20070611180123-a5988-6d080dc357baadd3be573cce2942f765ac4cd832
-rw-r--r--StackSet.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/StackSet.hs b/StackSet.hs
index 1b258fc..a226573 100644
--- a/StackSet.hs
+++ b/StackSet.hs
@@ -267,7 +267,7 @@ integrate (Node x l r) = reverse l ++ x : r
-- True. Order is preserved, and focus moves to the next node to the right (if
-- necessary).
filter :: (a -> Bool) -> Stack a -> Stack a
-filter p Empty = Empty
+filter _ Empty = Empty
filter p (Node f ls rs) = case L.filter p (f:rs) of
(f':rs') -> Node f' (L.filter p ls) rs'
[] -> case reverse $ L.filter p ls of