monad 0.0.0-akku.12.6f0115f

Various monads

Contains: continuation monad, Maybe monad, reader monad, state monad and a writer monad.

$ akku update
$ akku install monad
$ .akku/env
Authors

Ian Price

Uploaded to Akku by Göran Weinholt

Homepage

Information missing.

License

BSD-3-Clause

Dependencies

^0.0.0-akku

Source code

https://github.com/ijp/monad git
6f0115fc755fac0ff62fad3a2b00c090831096f0

Package contents

  • (monad continuation) R6
    • → >>= return callcc run-cont cont map-cont with-cont
    • ← (rnrs) R6
  • (monad maybe) R6
    • → return >>= fail maybe just nothing Maybe from-just from-maybe just? nothing? maybe? fmap map-maybe list->maybe maybe->list cat-maybes
    • ← (rnrs) R6
    • ← (ijputils datatypes)
  • (monad reader) R6
    • → >>= return ask run-reader local asks map-reader with-reader
    • ← (rnrs) R6
  • (monad state) R6
    • → >>= return get put modify gets run-state eval-state exec-state map-state with-state
    • ← (rnrs) R6
  • (monad writer) R6
    • → >>= return tell listen pass run-writer map-writer listens censor writer exec-writer make-writer
    • ← (rnrs) R6

Version history

  • 2018-08-02 ~ 0.0.0-akku.12.6f0115f