alvin alexander
Nodes for the term “for expression”
A ZIO 2 collectAllPar example using Scala 3
Read more
Scala: What do “effect” and “effectful” mean in functional programming?
Read more
Scala for/yield examples (for-loop and yield syntax)
Read more
Scala: How to use higher-order functions (HOFs) with Option (instead of match expressions)
Read more
Scala: Handling nested Options with flatMap and for
Read more
Scala: Examples of for-expressions being converted to map and flatMap
Read more
Scala ‘for loop’ examples and syntax
Read more
How to use multiple Futures in a Scala for-comprehension
Read more
A small Scala 2 project converted to Dotty (Scala 3)
Read more
STRef, or StateRef (using a State monad)
Read more
How to use multiple generators in Scala ‘for’ expressions (loops)
Read more
Scala for expression pattern matching (with JSON)
Read more