traneio / arrows Goto Github PK
View Code? Open in Web Editor NEWHigh-performance Arrow and Task in Scala
License: Apache License 2.0
High-performance Arrow and Task in Scala
License: Apache License 2.0
This Scaladoc comment mentions a type parameter S
, whereas it should be V
.
fallbackTo
also suffers from this problem, as well as zipWith
and probably plenty of other methods :D
Hello, I'm running into this issue, not sure if I'm doing something wrong or not.
import $ivy.`io.trane::arrows-stdlib:0.1.22`
import arrows.stdlib._
import scala.concurrent._
import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.duration._
Await.result(Future.sequence(List(Future.firstCompletedOf(List(Future.successful(1))))), Duration.Inf)
// List(1)
Task.sequence(List(Task.firstCompletedOf(List(Task.async(Future.successful(1)))))).run(())
// java.lang.ClassCastException: java.base/[Ljava.lang.Object; cannot be cast to [Lscala.concurrent.Future;
// arrows.stdlib.ArrowImpl$Sequence.runSync(ArrowImpl.scala:226)
// arrows.stdlib.ArrowRun$.apply(ArrowRun.scala:186)
// arrows.stdlib.Arrow.run(Arrow.scala:90)
Is there any plans of providing https://github.com/traneio/future backend? Current stdlib lacks of some useful features
This looks really cool. Is it based on the John Hughes paper?
I know of how you feel of having Cats as dependency ๐ but providing cats-effect integration in a different sub-project would be cool.
Consider that cool libraries like Monix, FS2, Http4s, Doobie and others now have cats-effect
integration and would be usable with your Task
implementation, if those type class instances are provided.
You also get tests for free via cats-effect-laws
, so it would be a win at least for that ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.