From: christiaanb Date: Thu, 17 Jun 2010 14:19:46 +0000 (+0200) Subject: map fst works again after latest fixes to clash X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fc%CE%BBash.git;a=commitdiff_plain;h=194439bf45d057aacf6f0a45ac2469495c94eb30 map fst works again after latest fixes to clash --- diff --git a/reducer.hs b/reducer.hs index a4d4bbb..dfbc842 100644 --- a/reducer.hs +++ b/reducer.hs @@ -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)