Comments (1)
I found the answer, strangely (to me).
The flatMap
function is available via import arrow.core.flatMap
, even though it is applied to an Either
object.
import arrow.core.flatMap
...
val right = Either.Right(5)
right.flatMap { Either.Right(it + 6) }
from rules_kotlin.
Related Issues (20)
- Bzlmod: kotlin compiler is unconditionally downloaded HOT 4
- Does KSP require a separate runner? HOT 2
- WorkerEnvironmentTest is flakey
- [Bazel CI] Test logs failed for kotlin-builder at Bazel@HEAD in CI HOT 3
- Can't add assets to kt_android_local_test HOT 2
- kotlin generated sources can't be imported in project
- Issue with KSP picking up Kotlin Compiler classpath dependencies HOT 2
- Failed tests are reported as successful HOT 2
- Issue resolving java.lang.Record in java_library dependency from a kt_jvm_library HOT 2
- v1.9.4 changed BCR compatibility level from 1 to 0
- Support Kotlin 2.0 HOT 1
- Bazel 6 compat issues HOT 4
- [Bazel CI] WorkerEnvironmentTest is failing at Bazel@HEAD HOT 3
- KSP subplugin conflicts with guava in @com_github_jetbrains_kotlin//lib/kotlin-compiler.jar
- Switch to kover? HOT 1
- kt_jvm_library increased memory usage with rules_kotlin v1.9.2
- [ Bazel ci] Error name 'aar_import' is not defined with Bazel@HEAD HOT 2
- Failed to resolve kotlin-stdlib-js for Kotlin 2.0 HOT 2
- Cold start times for KotlinCompile/KotlinKapt workers HOT 4
- [Bazel CI] Test docs:are_docs_up_to_date_test is failing in Bazel@HEAD HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_kotlin.