Really revert all of the recent rotating changes.
[matthijs/master-project/cλash.git] / reducer.hs
index a4d4bbb23dc4b7ef081a18fc24c997cb6e119abe..dfbc8424474fd2db2148c138abad5b999eae0d53 100644 (file)
@@ -133,7 +133,7 @@ rippleBuffer ::
 rippleBuffer (State buf) (inp, shift) = (State buf', out1, out2)
   where
     -- Write value
-    next_valids              = (map (\(a, b) -> a) buf) <<+ True
+    next_valids              = (map fst buf) <<+ True
     buf''                    = zipWith selects buf next_valids
     selects cell next_valid  = if (not (fst cell)) && next_valid then
                                  (True, inp)