https://github.com/backwards-limited/scala-backwards
Scala by Backwards
https://github.com/backwards-limited/scala-backwards
category-theory cats fs2 functional-programming scala
Last synced: 2 months ago
JSON representation
Scala by Backwards
- Host: GitHub
- URL: https://github.com/backwards-limited/scala-backwards
- Owner: backwards-limited
- Created: 2018-11-16T16:56:09.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T16:25:33.000Z (over 1 year ago)
- Last Synced: 2024-12-06T19:40:54.675Z (over 1 year ago)
- Topics: category-theory, cats, fs2, functional-programming, scala
- Language: Scala
- Size: 1.35 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scala by Backwards
Scala module that not only provides useful reusable functionality, but also acts a Scala learning tool, specifically around **Functional Programming** in Scala.
Of course you can simply clone/fork this module.
However, this module is also published on [JitPack](https://jitpack.io), where the following dependency can be added to your project:
```scala
lazy val backwards: Seq[ModuleID] = {
val version = "1.0.8"
Seq(
"com.github.backwards-limited" % "scala-backwards" % version % "test, it" classifier "tests",
"com.github.backwards-limited" % "scala-backwards" % version % "test, it" classifier "it"
) ++ Seq(
"com.github.backwards-limited" % "scala-backwards" % version
)
}
```
The above dependency declaration includes source, test and integration test code.
You will also need to add a **resolver** to **JitPack**:
```scala
resolvers ++= Seq(
,
"jitpack" at "https://jitpack.io"
)
```
To see an example of the above, take a look at [Kafka Backwards](https://github.com/backwards-limited/kafka-backwards).
## Table of Contents
- [Setup](docs/setup.md)
- [SBT](docs/sbt.md)
- [Release](docs/release.md)
- Functionality
- [Functional Programming](docs/functional-programming.md)
- [Kleisli](docs/kleisli.md)
- [MonadError](docs/monad-error.md)
- [Masking](docs/masking.md)