Why not rename .bind() to unwrap() or unbind() at ...
# arrow
v
Why not rename .bind() to unwrap() or unbind() at least? I think it would look more logical in the context of its use.
a
there's actually an open issue about this, and it seems that
getOrRaise
would also be a good name
👍 5
👍🏻 1
v
I agree. I like it too.
a
however, we always find ourselves in the following situation: • for people coming from functional languages, "bind" is a good name, since it's shared among those, whereas any other would be more difficult to find • for newcomers to Arrow, it doesn't really matter you call it
bind
or
gokolu
, since the harder part is in understanding how everything fits together for that reason we've kept the name
bind
for now
👍🏻 1
arrow 2
👍 1