Top "Scalaz" questions

Scalaz provides type classes and purely functional data structures for Scala

Doing HTTP request in Scala

I am trying to issue a simple POST request to a webservice which returns some XML in Scala. It seems …

http scala scalaz
Good scalaz introduction

Recently scalaz caught my eye. It looks very interesting, but I have not found any good introduction to the library. …

scala scalaz
Merge maps by key

Say I have two maps: val a = Map(1 -> "one", 2 -> "two", 3 -> "three") val b = Map(1 …

scala functional-programming maps scalaz
Scalaz iteratees: "Lifting" `EnumeratorT` to match `IterateeT` for a "bigger" monad

If I have an EnumeratorT and a corresponding IterateeT I can run them together: val en: EnumeratorT[String, Task] = EnumeratorT.…

scala monads scalaz enumerator iterate
How to combine Option values in Scala?

I want to be able to apply an operation f: (T,T) => T to Option[T] values in Scala. …

scala type-conversion scalaz
Scalaz state monad examples

I haven't seen many examples of the scalaz state monad. There is this example but it is hard to understand …

scala scalaz state-monad
a clean way to combine two tuples into a new larger tuple in scala?

Let's say I have the following tuples: scala> val t1 = Tuple2("abcd", "efg") t1: (java.lang.String, java.lang.…

scala scalaz
Convert a List of Options to an Option of List using Scalaz

I want to transform a List[Option[T]] into a Option[List[T]]. The signature type of the function is …

scala option scalaz
How to reduce Seq[Either[A,B]] to Either[A,Seq[B]]?

Given a sequence of eithers Seq[Either[String,A]] with Left being an error message. I want to obtain an …

scala functional-programming scalaz
How to understand traverse, traverseU and traverseM

I am confused about the usage case about traverse, traverseU and traverseM, I searched it in the scalaz website, the …

scala scalaz