. package:clash-prelude

Function composition.
The above type is a generalization for:
(.&&.) :: Signal Bool -> Signal Bool -> Signal Bool
It is a version of (&&) that returns a Signal of Bool
The above type is a generalization for:
(./=.) :: Eq a => Signal a -> Signal a -> Signal Bool
It is a version of (/=) that returns a Signal of Bool
The above type is a generalization for:
(.<.) :: Ord a => Signal a -> Signal a -> Signal Bool
It is a version of (<) that returns a Signal of Bool
The above type is a generalization for:
(.<=.) :: Ord a => Signal a -> Signal a -> Signal Bool
It is a version of (<=) that returns a Signal of Bool
The above type is a generalization for:
(.==.) :: Eq a => Signal a -> Signal a -> Signal Bool
It is a version of (==) that returns a Signal of Bool
The above type is a generalization for:
(.>.) :: Ord a => Signal a -> Signal a -> Signal Bool
It is a version of (>) that returns a Signal of Bool
The above type is a generalization for:
(.>=.) :: Ord a => Signal a -> Signal a -> Signal Bool
It is a version of (>=) that returns a Signal of Bool
The above type is a generalization for:
(.||.) :: Signal Bool -> Signal Bool -> Signal Bool
It is a version of (||) that returns a Signal of Bool
Shift in a bit from the LSB side of a BitVector. Equal to left shifting the BitVector by one and replacing the LSB with the bit to be shifted in.
>>> 0b1111_0000 .<<+ 0 :: BitVector 8
0b1110_0000

>>> 0b1111_0000 .<<+ 1 :: BitVector 8
0b1110_0001
Shift in a bit from the MSB side of a BitVector. Equal to right shifting the BitVector by one and replacing the MSB with the bit to be shifted in.
>>> 1 +>>. 0b1111_0000 :: BitVector 8
0b1111_1000

>>> 0 +>>. 0b1111_0000 :: BitVector 8
0b0111_1000