cosmetic: switch to normal if expression
commitbdf38e03cf0c1361ec7675debe54d197bd82767e
authorEvan Czaplicki <info@elm-lang.org>
dateWed 11 Nov 2015, 12:58 (11 years ago)
parent3d43812
src/Canonicalize/Setup.hs+3−3
@@ -151,11 +151,11 @@ valueToPatches region moduleName interface value =
151151 |> Result.err
152152 in
153153 case value of
154− Var.Value x
155− | Map.notMember x (Module.iTypes interface) ->
154+ Var.Value x ->
155+ if Map.notMember x (Module.iTypes interface) then
156156 notFound Var.getValues x
157157
158− | otherwise ->
158+ else
159159 Result.ok [patch Env.Value x]
160160
161161 Var.Alias x ->