Fix build for hlint once again

This commit is contained in:
SJost 2019-02-22 08:15:45 +01:00
parent beda7f7015
commit 8d29354818

View File

@ -69,7 +69,7 @@ makeDemoForm n = identifyForm "adminTestForm" $ \html -> do -- Important: used i
_otherwise -> (result, widget)
where
validateResult :: (Int,Bool,Double) -> [Text]
validateResult (i,True,d) | (fromIntegral i) >= d = [tshow d <> " ist nicht größer als " <> tshow i, "Zweite Fehlermeldung", "Dritte Fehlermeldung"]
validateResult (i,True,d) | fromIntegral i >= d = [tshow d <> " ist nicht größer als " <> tshow i, "Zweite Fehlermeldung", "Dritte Fehlermeldung"]
validateResult _other = []