data-has


License

License

MIT
Categories

Categories

Data
GroupId

GroupId

io.github.anakos
ArtifactId

ArtifactId

data-has_2.13
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

data-has
data-has
Project URL

Project URL

https://github.com/anakos/data-has
Project Organization

Project Organization

io.github.anakos
Source Code Management

Source Code Management

https://github.com/anakos/data-has

Download data-has_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.anakos/data-has_2.13/ -->
<dependency>
    <groupId>io.github.anakos</groupId>
    <artifactId>data-has_2.13</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.anakos/data-has_2.13/
implementation 'io.github.anakos:data-has_2.13:0.1.1'
// https://jarcasting.com/artifacts/io.github.anakos/data-has_2.13/
implementation ("io.github.anakos:data-has_2.13:0.1.1")
'io.github.anakos:data-has_2.13:jar:0.1.1'
<dependency org="io.github.anakos" name="data-has_2.13" rev="0.1.1">
  <artifact name="data-has_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.anakos', module='data-has_2.13', version='0.1.1')
)
libraryDependencies += "io.github.anakos" % "data-has_2.13" % "0.1.1"
[io.github.anakos/data-has_2.13 "0.1.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.1
org.typelevel : cats-core_2.13 jar 2.1.1
org.typelevel : cats-effect_2.13 jar 2.1.2

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.1.1
0.1.0