Skip to content

Commit 73b94f5

Browse files
authored
Update README.md
1 parent d26d136 commit 73b94f5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# kotlin-monads
22

3+
[![](https://jitpack.io/v/h0tk3y/kotlin-monads.svg)](https://jitpack.io/#h0tk3y/kotlin-monads) [![](https://img.shields.io/badge/kotlin-1.1--M03-blue.svg)](http://kotlinlang.org/)
4+
35
An attempt to implement monads in Kotlin.
46

57
_Note: this project uses Kotlin 1.1 EAP build. Use the 1.1 EAP IDE plugin to work with it._
@@ -20,7 +22,18 @@ We still need the downcast `as Maybe`, but at least it's checked.
2022

2123
## Usage
2224

23-
See the usage examples inside [`src/test/kotlin`](https://github.com/h0tk3y/kotlin-monads/tree/master/src/test/kotlin).
25+
Add as a dependency:
26+
27+
repositories {
28+
...
29+
maven { url 'https://jitpack.io' }
30+
}
31+
32+
dependencies {
33+
compile 'com.github.h0tk3y:kotlin-monads:0.1'
34+
}
35+
36+
See the usage examples in [tests](https://github.com/h0tk3y/kotlin-monads/tree/master/src/test/kotlin/com/github/h0tk3y/kotlinMonads).
2437

2538
## How to implement a monad
2639

0 commit comments

Comments
 (0)