Created
February 10, 2021 16:49
-
-
Save Mic92/42275462474c679dbe3a28d6e67065d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/Text/Pandoc/Class/PandocIO.hs:59:20-123: error: | |
• Couldn't match type ‘time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime’ | |
with ‘m0 (Maybe Data.Text.Internal.Text) | |
-> PandocIO time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime’ | |
Expected type: (String | |
-> m1 time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime) | |
-> m0 (Maybe Data.Text.Internal.Text) | |
-> PandocIO time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime | |
Actual type: (String | |
-> m1 time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime) | |
-> time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime | |
• The function ‘IO.getCurrentTime’ is applied to two arguments, | |
but its type ‘(String | |
-> m1 time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime) | |
-> time-1.9.3:Data.Time.Clock.Internal.UTCTime.UTCTime’ | |
has only one | |
In the expression: | |
IO.getCurrentTime | |
(return . posixSecondsToUTCTime . fromIntegral . read) | |
(lookupEnv "SOURCE_DATE_EPOCH") | |
In an equation for ‘getCurrentTime’: | |
getCurrentTime | |
= IO.getCurrentTime | |
(return . posixSecondsToUTCTime . fromIntegral . read) | |
(lookupEnv "SOURCE_DATE_EPOCH") | |
| | |
59 | getCurrentTime = IO.getCurrentTime (return . posixSecondsToUTCTime . fromIntegral . read) (lookupEnv "SOURCE_DATE_EPOCH" | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment