Skip to content
#

fp

Here are 511 public repositories matching this topic...

EricSchles
EricSchles commented Sep 3, 2021

Hi all,

Big fan of functional programming. I'm glad to see ya'll trying to bring this to Python. My question / request is pretty basic, I hope. I was looking over the docs and I saw:

result: Result[int, Any] = Success(1).map(double)

When looking at this I was confused for a couple of reasons, since the syntax is new to me. But the biggest stumbling block was the:

result:

I c

fs2
Daenyth
Daenyth commented Jul 16, 2020

It should cover when you'd use and how to use:

  • parEvalMap/Unordered
  • parJoin
  • concurrently
  • merge*

There's the page on Queue/Topic/etc but there's not a great single page on the operations directly on Stream. The Guide section on concurrency is very short and doesn't cover some of the most common operations (parEvalMap especially)

durban
durban commented Jan 20, 2022

I think that cats.effect.std.Random.javaUtilConcurrentThreadLocalRandom might call a ThreadLocalRandom from the incorrect thread. Its unlikely this would cause any problems on OpenJDK, since there every ThreadLocalRandom is the "same", but... it's still not allowed, and who knows what other JVM-s might do.

I think this could happen in the following way. Inlining a few things, what it do

Improve this page

Add a description, image, and links to the fp topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fp topic, visit your repo's landing page and select "manage topics."

Learn more