Skip to content

Commit 46b1f91

Browse files
ondraptmcgilchrist
authored andcommitted
Uprava na novy haskell.
1 parent 6c82643 commit 46b1f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Thyme/Format/DateFast.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ parserRfc = do
113113
tday = fromGregorian year month dayofmonth
114114
return $ view (from utcTime) (UTCView tday tdiff)
115115

116-
parseFastUtc :: Monad m => T.Text -> m UTCTime
116+
parseFastUtc :: MonadFail m => T.Text -> m UTCTime
117117
parseFastUtc t =
118118
case S.scanOnly parserRfc (encodeUtf8 t) of
119119
Right d -> return d

0 commit comments

Comments
 (0)