Bob Glamm
12/04/2019, 3:49 PMruiter
12/04/2019, 4:24 PMpakoito
12/04/2019, 9:57 PMadimit
12/05/2019, 1:55 PMUnit
, monad comprehensions can lead to a somewhat confusing behaviour:
g(): TUnit = TODO()
f() = fx { g() }
f0() = fx { g().bind() }
Both f
and f0
return TUnit
for any given T
, but have different semantics. Is there any way, apart from introducing my own MyUnit
object
that I can guard against accidental omission of .bind()
?jimn
12/08/2019, 12:44 PMsimon.vergauwen
12/09/2019, 3:39 PMEqK
, no?Johan Basson
12/10/2019, 4:18 PMsahil Lone
12/12/2019, 12:21 PMjames
12/13/2019, 12:26 AMsimon.vergauwen
12/13/2019, 1:12 PMgabib
12/13/2019, 2:13 PMjimn
12/13/2019, 4:20 PMjimn
12/13/2019, 5:40 PMBob Glamm
12/13/2019, 8:48 PMListK.parTraverse
will give me some (default) concurrency, right?Satyam Agarwal
12/14/2019, 1:11 AM0.10.3
and considering helios for JSON parsing.
But it looks like helios is on old dependencies.
Would arrow maintainers still recommend using it in production?
functional way and benchmarks are really tempting.sean
12/14/2019, 1:22 AMkartoffelsup
12/15/2019, 12:12 PM*>
and <*
? -> https://hackage.haskell.org/package/base-4.12.0.0/docs/Prelude.html#v:-42--62-
I'm trying to implement/follow https://www.youtube.com/watch?v=N9RUqGYuGfw▾
marc0der
12/16/2019, 5:43 AMOption
and Either
in the future, or will they co-exist with unions?Shady Selim
12/16/2019, 6:39 AMpakoito
12/16/2019, 9:35 AMSagar Suri
12/16/2019, 10:39 AMpakoito
12/16/2019, 2:24 PMraulraja
12/17/2019, 2:46 PMdnowak
12/17/2019, 2:50 PMsuspended
functions?
This does not compile:
import arrow.syntax.function.invoke
suspend fun add(one: Int, two: Int) = one + two
suspend fun addOne(value: Int) = (::add)(p1 = 1)
suspend fun addTwo(value: Int) = (::add).partially1(2)
jimn
12/17/2019, 3:00 PMShmuel Rosansky [G]
12/17/2019, 3:12 PMpakoito
12/18/2019, 2:19 AMbind
mattmoore
12/18/2019, 3:44 AMAttila Domokos
12/18/2019, 11:21 PMSome
values?jimn
12/19/2019, 10:30 AMjimn
12/19/2019, 10:30 AMraulraja
12/19/2019, 11:46 AMjimn
12/19/2019, 12:09 PMraulraja
12/19/2019, 12:34 PM