package
1.0.150
Repository: https://github.com/ibm/fp-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ApS attaches a value to a context [S1] to produce a context [S2] by considering the context and the value concurrently.
No description provided by the author
No description provided by the author
No description provided by the author
Bind attaches the result of a computation to a context [S1] to produce a context [S2].
BindTo initializes a new state [S1] from a value [T].
Bracket makes sure that a resource is cleaned up in the event of an error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Defer creates an IO by creating a brand new IO via a generator function, each time.
Delay creates an operation that passes in the value after some delay.
Bind creates an empty context of type [S] to be used with the [Bind] operation.
Eitherize0 converts a function with 0 parameters returning a tuple into a function with 0 parameters returning a [GRA] The inverse function is [Uneitherize0].
Eitherize1 converts a function with 1 parameters returning a tuple into a function with 1 parameters returning a [GRA] The inverse function is [Uneitherize1].
Eitherize10 converts a function with 10 parameters returning a tuple into a function with 10 parameters returning a [GRA] The inverse function is [Uneitherize10].
Eitherize2 converts a function with 2 parameters returning a tuple into a function with 2 parameters returning a [GRA] The inverse function is [Uneitherize2].
Eitherize3 converts a function with 3 parameters returning a tuple into a function with 3 parameters returning a [GRA] The inverse function is [Uneitherize3].
Eitherize4 converts a function with 4 parameters returning a tuple into a function with 4 parameters returning a [GRA] The inverse function is [Uneitherize4].
Eitherize5 converts a function with 5 parameters returning a tuple into a function with 5 parameters returning a [GRA] The inverse function is [Uneitherize5].
Eitherize6 converts a function with 6 parameters returning a tuple into a function with 6 parameters returning a [GRA] The inverse function is [Uneitherize6].
Eitherize7 converts a function with 7 parameters returning a tuple into a function with 7 parameters returning a [GRA] The inverse function is [Uneitherize7].
Eitherize8 converts a function with 8 parameters returning a tuple into a function with 8 parameters returning a [GRA] The inverse function is [Uneitherize8].
Eitherize9 converts a function with 9 parameters returning a tuple into a function with 9 parameters returning a [GRA] The inverse function is [Uneitherize9].
Eq implements the equals predicate for values contained in the IOEither monad.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Let attaches the result of a computation to a context [S1] to produce a context [S2].
LetTo attaches the a value to a context [S1] to produce a context [S2].
No description provided by the author
No description provided by the author
Memoize computes the value of the provided monad lazily but exactly once The context used to compute the value is the context of the first call, so do not use this method if the value has a functional dependency on the content of the context.
No description provided by the author
MonadAp implements the `Ap` function for a reader with context.
MonadAp implements the `Ap` function for a reader with context.
MonadApSeq implements the `Ap` function for a reader with context.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MonadTraverseArray transforms an array.
MonadTraverseArrayPar transforms an array.
MonadTraverseArraySeq transforms an array.
MonadTraverseRecord transforms a record.
MonadTraverseRecordPar transforms a record.
MonadTraverseRecordSeq transforms a record.
Never returns a 'ReaderIOEither' that never returns, except if its context gets canceled.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SequenceArray converts a homogeneous sequence of either into an either of sequence.
SequenceArrayPar converts a homogeneous sequence of either into an either of sequence.
SequenceArraySeq converts a homogeneous sequence of either into an either of sequence.
SequenceParT1 converts 1 readers into a reader of a [T.Tuple1].
SequenceParT10 converts 10 readers into a reader of a [T.Tuple10].
SequenceParT2 converts 2 readers into a reader of a [T.Tuple2].
SequenceParT3 converts 3 readers into a reader of a [T.Tuple3].
SequenceParT4 converts 4 readers into a reader of a [T.Tuple4].
SequenceParT5 converts 5 readers into a reader of a [T.Tuple5].
SequenceParT6 converts 6 readers into a reader of a [T.Tuple6].
SequenceParT7 converts 7 readers into a reader of a [T.Tuple7].
SequenceParT8 converts 8 readers into a reader of a [T.Tuple8].
SequenceParT9 converts 9 readers into a reader of a [T.Tuple9].
SequenceParTuple1 converts a [T.Tuple1] of readers into a reader of a [T.Tuple1].
SequenceParTuple10 converts a [T.Tuple10] of readers into a reader of a [T.Tuple10].
SequenceParTuple2 converts a [T.Tuple2] of readers into a reader of a [T.Tuple2].
SequenceParTuple3 converts a [T.Tuple3] of readers into a reader of a [T.Tuple3].
SequenceParTuple4 converts a [T.Tuple4] of readers into a reader of a [T.Tuple4].
SequenceParTuple5 converts a [T.Tuple5] of readers into a reader of a [T.Tuple5].
SequenceParTuple6 converts a [T.Tuple6] of readers into a reader of a [T.Tuple6].
SequenceParTuple7 converts a [T.Tuple7] of readers into a reader of a [T.Tuple7].
SequenceParTuple8 converts a [T.Tuple8] of readers into a reader of a [T.Tuple8].
SequenceParTuple9 converts a [T.Tuple9] of readers into a reader of a [T.Tuple9].
SequenceRecord converts a homogeneous sequence of either into an either of sequence.
SequenceRecordPar converts a homogeneous sequence of either into an either of sequence.
SequenceRecordSeq converts a homogeneous sequence of either into an either of sequence.
SequenceSeqT1 converts 1 readers into a reader of a [T.Tuple1].
SequenceSeqT10 converts 10 readers into a reader of a [T.Tuple10].
SequenceSeqT2 converts 2 readers into a reader of a [T.Tuple2].
SequenceSeqT3 converts 3 readers into a reader of a [T.Tuple3].
SequenceSeqT4 converts 4 readers into a reader of a [T.Tuple4].
SequenceSeqT5 converts 5 readers into a reader of a [T.Tuple5].
SequenceSeqT6 converts 6 readers into a reader of a [T.Tuple6].
SequenceSeqT7 converts 7 readers into a reader of a [T.Tuple7].
SequenceSeqT8 converts 8 readers into a reader of a [T.Tuple8].
SequenceSeqT9 converts 9 readers into a reader of a [T.Tuple9].
SequenceSeqTuple1 converts a [T.Tuple1] of readers into a reader of a [T.Tuple1].
SequenceSeqTuple10 converts a [T.Tuple10] of readers into a reader of a [T.Tuple10].
SequenceSeqTuple2 converts a [T.Tuple2] of readers into a reader of a [T.Tuple2].
SequenceSeqTuple3 converts a [T.Tuple3] of readers into a reader of a [T.Tuple3].
SequenceSeqTuple4 converts a [T.Tuple4] of readers into a reader of a [T.Tuple4].
SequenceSeqTuple5 converts a [T.Tuple5] of readers into a reader of a [T.Tuple5].
SequenceSeqTuple6 converts a [T.Tuple6] of readers into a reader of a [T.Tuple6].
SequenceSeqTuple7 converts a [T.Tuple7] of readers into a reader of a [T.Tuple7].
SequenceSeqTuple8 converts a [T.Tuple8] of readers into a reader of a [T.Tuple8].
SequenceSeqTuple9 converts a [T.Tuple9] of readers into a reader of a [T.Tuple9].
SequenceT1 converts 1 readers into a reader of a [T.Tuple1].
SequenceT10 converts 10 readers into a reader of a [T.Tuple10].
SequenceT2 converts 2 readers into a reader of a [T.Tuple2].
SequenceT3 converts 3 readers into a reader of a [T.Tuple3].
SequenceT4 converts 4 readers into a reader of a [T.Tuple4].
SequenceT5 converts 5 readers into a reader of a [T.Tuple5].
SequenceT6 converts 6 readers into a reader of a [T.Tuple6].
SequenceT7 converts 7 readers into a reader of a [T.Tuple7].
SequenceT8 converts 8 readers into a reader of a [T.Tuple8].
SequenceT9 converts 9 readers into a reader of a [T.Tuple9].
SequenceTuple1 converts a [T.Tuple1] of readers into a reader of a [T.Tuple1].
SequenceTuple10 converts a [T.Tuple10] of readers into a reader of a [T.Tuple10].
SequenceTuple2 converts a [T.Tuple2] of readers into a reader of a [T.Tuple2].
SequenceTuple3 converts a [T.Tuple3] of readers into a reader of a [T.Tuple3].
SequenceTuple4 converts a [T.Tuple4] of readers into a reader of a [T.Tuple4].
SequenceTuple5 converts a [T.Tuple5] of readers into a reader of a [T.Tuple5].
SequenceTuple6 converts a [T.Tuple6] of readers into a reader of a [T.Tuple6].
SequenceTuple7 converts a [T.Tuple7] of readers into a reader of a [T.Tuple7].
SequenceTuple8 converts a [T.Tuple8] of readers into a reader of a [T.Tuple8].
SequenceTuple9 converts a [T.Tuple9] of readers into a reader of a [T.Tuple9].
Timer will return the current time after an initial delay.
TraverseArray transforms an array.
TraverseArrayPar transforms an array.
TraverseArraySeq transforms an array.
TraverseArrayWithIndex transforms an array.
TraverseArrayWithIndexPar transforms an array.
TraverseArrayWithIndexSeq transforms an array.
TraverseParTuple1 converts a [T.Tuple1] of readers into a reader of a [T.Tuple1].
TraverseParTuple10 converts a [T.Tuple10] of readers into a reader of a [T.Tuple10].
TraverseParTuple2 converts a [T.Tuple2] of readers into a reader of a [T.Tuple2].
TraverseParTuple3 converts a [T.Tuple3] of readers into a reader of a [T.Tuple3].
TraverseParTuple4 converts a [T.Tuple4] of readers into a reader of a [T.Tuple4].
TraverseParTuple5 converts a [T.Tuple5] of readers into a reader of a [T.Tuple5].
TraverseParTuple6 converts a [T.Tuple6] of readers into a reader of a [T.Tuple6].
TraverseParTuple7 converts a [T.Tuple7] of readers into a reader of a [T.Tuple7].
TraverseParTuple8 converts a [T.Tuple8] of readers into a reader of a [T.Tuple8].
TraverseParTuple9 converts a [T.Tuple9] of readers into a reader of a [T.Tuple9].
TraverseRecord transforms a record.
TraverseRecordPar transforms a record.
TraverseRecordSeq transforms a record.
TraverseRecordWithIndex transforms a record.
TraverseRecordWithIndexPar transforms a record.
TraverseRecordWithIndexSeq transforms a record.
TraverseSeqTuple1 converts a [T.Tuple1] of readers into a reader of a [T.Tuple1].
TraverseSeqTuple10 converts a [T.Tuple10] of readers into a reader of a [T.Tuple10].
TraverseSeqTuple2 converts a [T.Tuple2] of readers into a reader of a [T.Tuple2].
TraverseSeqTuple3 converts a [T.Tuple3] of readers into a reader of a [T.Tuple3].
TraverseSeqTuple4 converts a [T.Tuple4] of readers into a reader of a [T.Tuple4].
TraverseSeqTuple5 converts a [T.Tuple5] of readers into a reader of a [T.Tuple5].
TraverseSeqTuple6 converts a [T.Tuple6] of readers into a reader of a [T.Tuple6].
TraverseSeqTuple7 converts a [T.Tuple7] of readers into a reader of a [T.Tuple7].
TraverseSeqTuple8 converts a [T.Tuple8] of readers into a reader of a [T.Tuple8].
TraverseSeqTuple9 converts a [T.Tuple9] of readers into a reader of a [T.Tuple9].
TraverseTuple1 converts a [T.Tuple1] of readers into a reader of a [T.Tuple1].
TraverseTuple10 converts a [T.Tuple10] of readers into a reader of a [T.Tuple10].
TraverseTuple2 converts a [T.Tuple2] of readers into a reader of a [T.Tuple2].
TraverseTuple3 converts a [T.Tuple3] of readers into a reader of a [T.Tuple3].
TraverseTuple4 converts a [T.Tuple4] of readers into a reader of a [T.Tuple4].
TraverseTuple5 converts a [T.Tuple5] of readers into a reader of a [T.Tuple5].
TraverseTuple6 converts a [T.Tuple6] of readers into a reader of a [T.Tuple6].
TraverseTuple7 converts a [T.Tuple7] of readers into a reader of a [T.Tuple7].
TraverseTuple8 converts a [T.Tuple8] of readers into a reader of a [T.Tuple8].
TraverseTuple9 converts a [T.Tuple9] of readers into a reader of a [T.Tuple9].
TryCatch wraps a reader returning a tuple as an error into ReaderIOEither.
Uneitherize0 converts a function with 0 parameters returning a [GRA] into a function with 0 parameters returning a tuple.
Uneitherize1 converts a function with 1 parameters returning a [GRA] into a function with 1 parameters returning a tuple.
Uneitherize10 converts a function with 10 parameters returning a [GRA] into a function with 10 parameters returning a tuple.
Uneitherize2 converts a function with 2 parameters returning a [GRA] into a function with 2 parameters returning a tuple.
Uneitherize3 converts a function with 3 parameters returning a [GRA] into a function with 3 parameters returning a tuple.
Uneitherize4 converts a function with 4 parameters returning a [GRA] into a function with 4 parameters returning a tuple.
Uneitherize5 converts a function with 5 parameters returning a [GRA] into a function with 5 parameters returning a tuple.
Uneitherize6 converts a function with 6 parameters returning a [GRA] into a function with 6 parameters returning a tuple.
Uneitherize7 converts a function with 7 parameters returning a [GRA] into a function with 7 parameters returning a tuple.
Uneitherize8 converts a function with 8 parameters returning a [GRA] into a function with 8 parameters returning a tuple.
Uneitherize9 converts a function with 9 parameters returning a [GRA] into a function with 9 parameters returning a tuple.
withContext wraps an existing ReaderIOEither and performs a context check for cancellation before delegating.
WithLock executes the provided IO operation in the scope of a lock.
WithResource constructs a function that creates a resource, then operates on it and then releases the resource.