summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9924083)
This will probably only confuse readers.
application and the corresponding architecture.
\startbuffer[And3]
application and the corresponding architecture.
\startbuffer[And3]
--- | A simple function that returns
--- conjunction of three bits
+-- A simple function that returns
+-- conjunction of three bits
and3 :: Bit -> Bit -> Bit -> Bit
and3 a b c = and (and a b) c
\stopbuffer
and3 :: Bit -> Bit -> Bit -> Bit
and3 a b c = and (and a b) c
\stopbuffer
and the corresponding architecture.
\startbuffer[Quadruple]
and the corresponding architecture.
\startbuffer[Quadruple]
--- | Multiply the input word by four.
+-- Multiply the input word by four.
quadruple :: Word -> Word
quadruple n = mul (mul n)
where
quadruple :: Word -> Word
quadruple n = mul (mul n)
where