X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Adders.hs;h=249bb3a4ef983a84f7f3074f131934688b2974b3;hb=3f12ee5d723fd8c01190c5971641141a8c7a9d98;hp=e6676e94888f3ce0bec9c9a489672da8288200e0;hpb=b9aa3bd5f003fe7604d0610629c3771245b9ef90;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Adders.hs b/Adders.hs index e6676e9..249bb3a 100644 --- a/Adders.hs +++ b/Adders.hs @@ -53,7 +53,7 @@ instance Inv (BitVec D0) where -} -- Not really an adder either, but a slightly more complex example inv :: Bit -> Bit -inv a = hwnot a +inv a = let r = hwnot a in r -- Not really an adder either, but a slightly more complex example invinv :: Bit -> Bit