Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Basic wires.
Simple predefined wires.
constant :: WirePure >~ => b -> Wire e >~ a bSource
The constant wire. Outputs the given value all the time.
identity :: WirePure >~ => Wire e >~ a aSource
The identity wire. Outputs its input signal unchanged.
- Depends: Current instant.
Forced reduction
force :: WirePure >~ => Wire e >~ b bSource
Force the input signal to weak head normal form, before outputting
it. Applies seq
to the input signal.
- Depends: Current instant.
forceNF :: (NFData b, WirePure >~) => Wire e >~ b bSource
Force the input signal to normal form, before outputting it.
Applies deepseq
to the input signal.
- Depends: Current instant.