David Chambers

Results 266 comments of David Chambers

@dotnetCarpenter, are you suggesting that the data constructor's return type should be `Either String (StrMap a)` or `Either Error (StrMap a)` rather than `StrMap a`?

What do others think of these (breaking) changes? @Avaq? @Bradcomp? @masaeedu?

We have `swap :: Pair a b -> Pair b a` but not `swapEither :: Either a b -> Either b a`. Could you explain the relationship you see between...

Thanks for the clarification, Asad. I understand your point now. :)

@futpib, are you interested in submitting a small pull request to change [`S.fromEither`][1] as you did here? [1]: https://sanctuary.js.org/#fromEither

Lovely work, @futpib. Thank you for pointing out that this pull request no longer contains breaking changes. Please update the commit messages and this pull request's title to reflect the...

Thank you, @futpib. This pull request is in a very good state. :) I am not certain that these functions should be added to the library. Here they are in...

That would be very cool indeed! It could even transform… ``` javascript // concat :: Semigroup a => a -> a -> a const concat = (x, y) => x...

This looks _fantastic_, Kevin! Your `concat` doesn't constrain `a`, but I imagine you haven't worked on type-class constraints yet.

That would be nice too. :)