scalaz

    7熱度

    1回答

    有一個trait叫做Kleisli在scalaz庫。看代碼: import scalaz._ import Scalaz._ type StringPair = (String, String) val f: Int => List[String] = (i: Int) => List((i |+| 1).toString, (i |+| 2).toString) val g: Str