X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Adders.hs;h=85e86c0f4a985f20da6d69207c4a9fa43e5825d4;hb=033234e675f920e7577427a7328ede133ea40f94;hp=57823bd5009d935bb0c41c9fb2873f75d803f706;hpb=ce7380ad772e2a81c0329c6ee495e18fa0a62280;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Adders.hs b/Adders.hs index 57823bd..85e86c0 100644 --- a/Adders.hs +++ b/Adders.hs @@ -174,8 +174,8 @@ highordtest = \x -> xand a b = hwand a b -functiontest :: TFVec D4 (Bit, Bit) -> (TFVec D4 Bit, TFVec D4 Bit) -functiontest = \v -> let r = unzip v in r +functiontest :: TFVec D4 Bit -> (TFVec D4 Bit, TFVec D4 Bit) +functiontest = \v -> let r = (rotl v, rotr v) in r xhwnot x = hwnot x