X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Adders.hs;h=9e78fcf87dd6a0b4c431133b5e6ad5bbfb9b918e;hb=e091fb6b78ed5ea074e4c41879a712a806771ba4;hp=2f3af384a5f186886c0c15f607f0fa13ba52a9fb;hpb=fad6e9a1f43072174c3f2a791383a72d26b26be8;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Adders.hs b/Adders.hs index 2f3af38..9e78fcf 100644 --- a/Adders.hs +++ b/Adders.hs @@ -174,8 +174,8 @@ highordtest = \x -> xand a b = hwand a b -functiontest :: Bit -> TFVec D3 Bit -functiontest = \a -> let r = generaten d3 hwnot a in r +functiontest :: TFVec D4 (TFVec D3 Bit) -> (TFVec D12 Bit, TFVec D3 Bit, TFVec D3 (TFVec D3 Bit)) +functiontest = \v -> let r = (concat v, head v, tail v) in r xhwnot x = hwnot x