package
Version:
v0.0.0-...-18512eb
Opens a new window with list of versions in this module.
Published: Apr 25, 2026
License: BSD-2-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package fputil provides utility functions for working with fp-go types
ToEither executes an IOEither to get an Either result.
This is useful for converting deferred side effects into immediate Either values.
Example:
result := ToEither(loadFromAPI(id))
E.Fold(handleError, handleSuccess)(result)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.