diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-08-07 16:43:46 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-08-07 16:43:46 +0200 |
commit | 649dfb57a92e579859fb2d85f85ba961333fdd17 (patch) | |
tree | 441bf2b24cb1d270db43352d2e7390089a9a87f7 | |
parent | 4f7051c9775415b67ff706254295b41aa66cd20e (diff) | |
download | metatile-649dfb57a92e579859fb2d85f85ba961333fdd17.tar metatile-649dfb57a92e579859fb2d85f85ba961333fdd17.zip |
Remove 'Eq' constraint from StackSet.index
darcs-hash:20070807144346-a5988-d01d24a1edb7af29e729ef4f5529b4cf6e9fc721
-rw-r--r-- | StackSet.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StackSet.hs b/StackSet.hs index d902b39..40d1c0b 100644 --- a/StackSet.hs +++ b/StackSet.hs @@ -320,7 +320,7 @@ filter p (Stack f ls rs) = case L.filter p (f:rs) of -- the head of the list. The implementation is given by the natural -- integration of a one-hole list cursor, back to a list. -- -index :: Eq a => StackSet i a s sd -> [a] +index :: StackSet i a s sd -> [a] index = with [] integrate -- let is = t : r ++ reverse l in take (length is) (dropWhile (/= m) (cycle is)) |