Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ghc --make site.hs" encounter error #2

Open
luckypoem opened this issue Aug 20, 2016 · 0 comments
Open

"ghc --make site.hs" encounter error #2

luckypoem opened this issue Aug 20, 2016 · 0 comments

Comments

@luckypoem
Copy link

hi.

root@AR:/usr/local/chromaticleaves-site# ls
404.html css images posts slides
about.markdown dist index.html README.md templates
chromaticleaves.cabal explore js scores
commands.markdown foundation LICENSE site.hs
root@AR:/usr/local/chromaticleaves-site# ghc --make site.hs
[1 of 1] Compiling Main ( site.hs, site.o )

site.hs:223:29:
Couldn't match expected type ‘time-1.5.0.1:Data.Time.Format.Locale.TimeLocale’
with actual type ‘System.Locale.TimeLocale’
NB: ‘time-1.5.0.1:Data.Time.Format.Locale.TimeLocale’
is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.5.0.1’
‘System.Locale.TimeLocale’
is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’
In the first argument of ‘formatTime’, namely ‘defaultTimeLocale’
In the first argument of ‘(<$>)’, namely
‘formatTime defaultTimeLocale "%Y"’
root@AR:/usr/local/chromaticleaves-site#

how to fix it?
thank u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant