Why not use Result from core?
igrep opened this issue · comments
YAMAMOTO Yuji commented
Why is the type Combine.Result
defined as
type Result res
= Done res
| Fail (List String)
instead of
type alias Result res = Result.Result (List String) res
using the Result.Result
from the core even though they are obviously isomorphic?
It's annoying to convert every time calling parse
!
Bogdan Popa commented
I'll make this change in the coming weeks. The reason I went with a new ADT initially is because I thought I would end up creating more result states that just those two.