Closed igrep closed 8 years ago
Why is the type Combine.Result defined as
Combine.Result
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!
Result.Result
parse
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.
Why is the type
Combine.Result
defined asinstead of
using the
Result.Result
from the core even though they are obviously isomorphic? It's annoying to convert every time callingparse
!