X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Adders.hs;h=6ada7df0f58d522c73522df6a3014c8944eb047c;hb=c2f45d330f40225e7e5a1b6606665a16c2883d41;hp=408e6b89c43e93cf291f460f0bafd154942eed45;hpb=c154f599b83d1a91e99993666139e01f10033d5c;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Adders.hs b/Adders.hs index 408e6b8..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 D2 Bit -functiontest = \v -> let r = select d0 d1 d2 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