Skip to content

hyper63/readerT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readerT

ReaderR is a Transformer Type that takes a Monad and allows the caller to embed context that can be accessed during the transformation pipeline. This gives you the ability to inject dependencies or configuration information at runtime.

Current Version


Table of Contents

Getting Started

see mod_test.ts

Installation

This is a Deno module available to import from https://nest.land/package/readerT

deps.js

export { default as ReaderT } from 'https://x.nest.land/readerT@0.0.1/mod.js'

Features

  • runWith - inject config or dependencies in pipeline
  • ask - during pipeline ask for dependencies
  • lift - lift a monad into ReaderT

Contributing

Pull Requests are welcome

License

MIT

Acknowledgements

This library was inspired by Crocks ReaderT implementation - https://crocks.dev/docs/crocks/ReaderT.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors