Join Slack
Powered by
Hi! I've written Free monad example using arrow-kt...
# arrow
e
eunmin
03/31/2020, 4:41 AM
Hi! I've written Free monad example using arrow-kt.
https://github.com/eunmin/free-monad/blob/master/kotlin-example/src/main/kotlin/Main.kt
It originally comes from Scala casts docs.
https://typelevel.org/cats/datatypes/freemonad.html
👌 4
p
pakoito
03/31/2020, 10:48 AM
If you'd like, you should PR it to the docs so others know about it!
https://github.com/arrow-kt/arrow-core/tree/master/arrow-docs/docs/quickstart/projects
g
Gopal S Akshintala
03/31/2020, 12:52 PM
Hi
@eunmin
can u pls help me to briefly explain with an example, why and how a free monad is used?
p
PhBastiani
03/31/2020, 1:36 PM
@Gopal S Akshintala
: see my 2 gist (with several implementations & explanations)
https://gist.github.com/PhBastiani/26d8734ff33001cb0304df337ea936a1
https://gist.github.com/PhBastiani/a68dadf73da3050f9e4e46fbe981f6da
should be rewrited in a near future for the doc...
❤️ 3
j
Jörg Winter
05/22/2020, 9:50 AM
@eunmin
thanks for your (KVStore) example ! Did you name the interpreter 'compiler' for a specific reason ? Wouldn't 'interpreter' be a better name ?
2
Views
Open in Slack
Previous
Next