Request.fetching
is False
but Request.message
has some value? Or how can one know what the returned boolean of getResponse
stands for? The type system of Elm can avoid such problems:Maybe (String, Bool)
instead of returning some default value.Result String String
to handle resultsRequest.fetching
and If-Statements.