python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
parquet4s not returning all records
I have a simple Scala application that uses parquet4s with fs2 to read a set of partitioned records (spread across directories, generated by a Spark job).
When I run the app, it only returns a fractio...
samirbajaj
Votes: 0
Answers: 1
How to do error accumulation with Cats Effect effects?
I've been struggling with error accumulation with effects, and I was wondering what the idiomatic way of modeling this is using Cats Effect.
Without involving effects, I would do something like this:
...
Timo Meijer
Votes: 0
Answers: 0
Scala cats. How do I write Kleisli[F[_],A,B].ap?
I tried to write a Kleisli.ap function.
final case class Kleisli[F[_], -A, B](run: (A) ⇒ F[B]) extends Product with Serializable
def ap[C, D, AA <: A](f: Kleisli[F, AA, C])(implicit F: Apply[F], e...
Asada
Votes: 0
Answers: 1
Dynamically add elements to fs2.Stream
How may I add new elements to fs2.Stream dynamically? For example, I would like to read key pressed as stream. I have tried to build the stream using Stream.eval with a function that use foreverM insi...
ayeo
Votes: 0
Answers: 1