hotpotato-core


License

License

GroupId

GroupId

com.github.jatcwang
ArtifactId

ArtifactId

hotpotato-core_2.12
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

hotpotato-core
hotpotato-core
Project URL

Project URL

https://github.com/jatcwang/hotpotato
Project Organization

Project Organization

com.github.jatcwang
Source Code Management

Source Code Management

https://github.com/jatcwang/hotpotato

Download hotpotato-core_2.12

How to add to project

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

Dependencies

compile (6)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.10
com.chuusai : shapeless_2.12 jar 2.3.3
org.typelevel : cats-core_2.12 jar 2.1.1
org.typelevel : cats-effect_2.12 Optional jar 2.1.2
dev.zio : zio_2.12 Optional jar 1.0.0-RC18-2
dev.zio : zio-interop-cats_2.12 Optional jar 2.0.0.0-RC12

test (3)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.1.1
org.typelevel : cats-laws_2.12 jar 2.1.1
org.typelevel : discipline-scalatest_2.12 jar 1.0.0-RC2

Project Modules

There are no modules declared in this project.

Hotpotato

Release (https://jatcwang.github.io/hotpotato/)

A type-safe and flexible error handling library for Scala, based on Shapeless Coproducts.

Head over to the Microsite for documentation and examples!

Quick Installation

libraryDependencies += "com.github.jatcwang" %% "hotpotato-core" % LATEST_VERSION

Warning about using this in production codebases

This project was developed to explore what a correct, type-safe and ergonomic error handling would look like in Scala. Due to its heavy use of shapeless machinery, using this in a production codebase may significantly increase your compile time. Be warned!

Contributing

All issues and PRs are very welcome (including major changes to the library design/API since we're at the early stages).

This project uses sbt-boilerplate plugin to generate functions of different arity. If you cannot find a source file, it may be generated and lives under core/src/main/boilerplate (or other boilerplate directories)

Versions

Version
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1