#try-monad

[ follow ]
fromScala-lang
1 week ago

Last mile towards sbt 2

sbt 2.x uses Scala 3.x for build definitions and plugins, while still supporting Scala 2.x. It embraces a simpler build.sbt via common settings and introduces an incremental test feature.
Scala
#scala
Scala
fromMedium
1 week ago

Scala's Growth Model - Building Inward, Starving Outward

Scala's ecosystem excels internally but struggles to attract new users due to structural and cultural barriers.
Scala
fromMedium
1 week ago

Scala's Growth Model - Building Inward, Starving Outward

Scala's ecosystem excels internally but struggles to attract new users due to structural and cultural barriers.
#scala-3
Scala
fromMedium
3 weeks ago

Unmasking AnyKind: Type Shapes in Scala 3

AnyKind in Scala 3 allows for a supertype of all types, but lacks specificity about type kind.
#functional-programming
fromMedium
2 months ago

Monadris: Why Functional Design Makes Tetris Safer and Easier (Scala 3 + ZIO)

A real Tetris loop has time (ticks), concurrent inputs (keystrokes), state transitions (collision, locking, line clears), and non-determinism (piece generation). In many imperative designs, these concerns end up tangled in shared mutable state, which tends to produce bugs that are: hard to reproduce (timing-dependent), hard to test (logic mixed with effects), hard to debug (replay isn't deterministic).
Software development
fromTypelevel
2 months ago

Custom Error Types Using Cats Effect and MTL

This stands in contrast to bifunctor or polyfunctor techniques, which add a typed error channel within the monad itself. You can see this easily in type signatures: IO[String] indicates an IO which returns a String or may produce a Throwable error ( Future[String] is directly analogous). Something like BIO[ParseError, String] would represent a BIO that produces a String or raises a ParseError.
Scala
Software development
fromTypelevel
2 months ago

typelevel.org built with Typelevel

Arman Bilge leads and maintains core Typelevel projects like Cats Effect, directs the Typelevel Foundation, and focuses on functional programming, concurrent runtimes, community growth, and open-source collaboration.
[ Load more ]