Join Slack
Communities
Powered by
I experimented using MonadError instead of explici...
# arrow
i
isto
01/13/2019, 11:48 AM
I experimented using MonadError instead of explicit Either here
https://github.com/istonikula/realworld-api/pull/27/commits/ad045068743ede93eafe024c500f639fb9e1677d
... my current implementation has some shortcomings like 1) I had to convert my errors into throwables (
https://github.com/istonikula/realworld-api/pull/27/commits/ad045068743ede93eafe024c500f639fb9e1677d#diff-976cb44a7931d72fd3213467535178d4R38
) 2) error handling has to deal with throwables and is not as typesafe as before (
https://github.com/istonikula/realworld-api/pull/27/commits/ad045068743ede93eafe024c500f639fb9e1677d#diff-b77d12343067260f71069d4d4a8c0dd1R203
)
Open in Slack
Previous
Next