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