Documentation ¶
Overview ¶
Package monad implements common monomorphic monads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EitherStr ¶
EitherStr is a monomorphic Either monad specialized to string. I miss Haskell.
func (*EitherStr) Bind ¶
func (r *EitherStr) Bind(f EitherStrFunc) *EitherStr
Bind lifts EitherStrFuncs into the EitherStr monad.
type EitherStrFunc ¶
EitherStrFunc defines monadic EitherStr functions.
Click to show internal directories.
Click to hide internal directories.