Latch is a state of type Option[S].
Latch is a state of type Option[S]. It can be cleared to None by one signal, and set to Some() by another signal. After setting it doesn't change until cleared.
Replaces every input item with the provided constant.
Create delay line that delays propagation of the signal by the given number of ticks.
Create delay line that delays propagation of the signal by the given number of ticks. For big counts there should be another implementation based on creating single special contact and sending pair - (count, data) circulating until count == 0. See #delayN and #countDown and #isZeroCase
Calculates trellis positions of the given contacts using available links
and creates a delayed contact that will get the data from this contact c simultaneously
with the contact c2.
Executes some code with side effects and passes the input data further.
Filters the data from this contact.
Filters the data from this contact. Returns another contact that will contain filtered data
fires fast execution until the given finishContacts.
fires fast execution until the given finishContacts. Be careful.
fires fast execution until the given finishContacts.
fires fast execution until the given finishContacts. Be careful.
Fold incoming data with state.
Extracts current state value.
Declares the first contact as input and creates link to the second
Sets latch value it it has not been set yet
Creates another contact and links it to this one with transformation f.
Declares the second contact as output and creates link from the first
Update state in state handle.
Filters the data from this contact.
Filters the data from this contact. Returns another contact that will get filtered data.
Converts data to pair with current state value.
Converts data to pair with current state value.
(Since version 13.04.2015) use #flatten
New methods available on contacts that construct links.