Hi, I have a question related to monads transform...
# arrow
j
Hi, I have a question related to monads transformers. Is the following still valid in version 0.7.0?
Copy code
OptionT.monad<EitherKindPartial<String>>().binding {
val a: Int = OptionT(anakinAge).bind()
val p: Int = OptionT(padmeAge).bind()
(a - p).absoluteValue
}.value().ev()
The example is from the book ‘’' Functional Kotlin ‘’'. First OptionalT was not found in dependencies so I added the arrow-data. Is there another arrow dependency I need to configure in gradle? Thank you for your support.