non / alleycats Goto Github PK
View Code? Open in Web Editor NEWCats instances and classes which are outlaws, miscreants, and ne'er-do-wells.
License: Other
Cats instances and classes which are outlaws, miscreants, and ne'er-do-wells.
License: Other
Seems we had dropped it in alleycats since we weren't publishing 2.10 snapshots for Cats. Since (I think) we have a 2.10 jar published for Cats 0.1.2, we can perhaps re-instate 2.10 support here? :-)
Welcome to the Ammonite Repl 0.5.2
(Scala 2.11.7 Java 1.8._51)
@ load.ivy("org.typelevel" %% "alleycats-core" % "0.1.3")
@ import alleycats._
import alleycats._
@ import alleycats.std.all._
import alleycats.std.all._
@ implicitly[EmptyK[Option]]
Compilation Failed
Main.scala:74: could not find implicit value for parameter e: alleycats.EmptyK[Option]
implicitly[EmptyK[Option]]
^
However, import alleycats.std.OptionInstances._
works fine, suggesting issue may be with https://github.com/milessabin/export-hook
When should we do this?
Also, should we sync up alleycats version numbers with Cats'? If so, we should start with 0.1.2.
Alleycats being a separate module of cats, is it possible to move to the typelevel github org? It's already published under typelevel.org, But having it under a different github org repo just seems not as "official" as other separate modules of cats like cats-mtl and cats-effects( I am raising the same issue in mouse), and thus hurts its popularity, which is a shame. @non WDYT?
Mirror of https://github.com/non/cats/issues/589
They'd be useful for OptionT[Future, _].{getOrElse, getOrElseT}
Requires export-hook in Cats
Alleycats code: https://github.com/milessabin/alleycats/blob/master/core/src/main/scala/alleycats/std/try.scala#L45
Cats Issue: https://github.com/non/cats/issues/433
Shouldn't this method align with pure
in Applicative
?
It seems like alleycats
depends on alleycats-tests
which is not published. This means our instructions in the README are wrong. You can depend on alleycats-core
(or presumably alleycats-laws
) and have things work fine though.
We should fix the README, and also fix the SBT build.
As detailed typelevel/cats#277 (comment), I would like Foldable[Iterable] to fold over Map.values
and IIUC Alleycats is the designated place for these kinds of things.
Im going to work on a PR now. One aspect that may surprise is that, in order to leverage the investment in Foldable laws within cats, it seems I want to alleycats test module to depend on cats laws (actually seems that dependency already present, via alleycats-laws).
I was intrigued by the discussion of parametric reasoning for Sets, but the link with the name 'parametricity' doesn't go anywhere.
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.