Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 911 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 911 Bytes

data-has

This is a scala port of the Haskell library of the same name, providing a few additional helper methods for convenience: these helper methods explicitly target programs structured around ReaderT over IO, where the IO monad is provided by cats-effect.

Motivation

Programs are expressed in terms of various capabilities: the capability to read data from Kafka, the capability to write data to Postgres, &c.

One way of structuring the outermost layer of your program is via ReaderT over IO. We can bestow capabilities on this data-structure in an additive manner by leveraging implicit scope to place constraints on it's input parameter.

The Has trait defined in this library can help facilitate this, allowing for maximum reuse across applications.

Usage / Examples

TBD