containers v0.6.2 Containers.Sequenceable protocol View Source
provides next
function to chain compuations together
If a custome structure implements a field value
in the struct,
then that structe can derive Sequenceable
.
Link to this section Summary
Functions
struct
argument is some sturct that implements Sequenceable
Link to this section Types
Link to this section Functions
Link to this function
next(struct, f)
View Source
next(Containers.sequenceable, (any -> Containers.sequenceable)) :: Containers.sequenceable
struct
argument is some sturct that implements Sequenceable
f
is a function that takes in the inner value potentially does something
to the inner value and wraps it back up in a struct