Comments (11)
Just run into the same issue. Have you found any solution to this?
from haskell.
No I still haven't
from haskell.
I managed to solve it yesterday by installing package old-time
cabal install old-time
from haskell.
/cc @etrepum would you mind taking a look at this? Maybe there's something we could add to the documentation to help unstick people on this point.
from haskell.
I am just learning haskell, but wouldnt it just be better to use a time library included with Haskell Platform by default? The old-time
seems to be deprecated (it has old
in it :) )
from haskell.
That sounds reasonable, I just don't know if there's some other intended approach to all of this.
from haskell.
The interface used in the tests, has been around in Plattform quite a long time, at least a decade. This was also current when the track got its last update to a current version of Plattform/GHC.
I don't know why it has been removed or deprecated from Plattform last year, but I do see, that xhaskells maintainers are very silent.
Perhaps someone with enough knowledge and time can take the track over?
from haskell.
Perhaps someone with enough knowledge and time can take the track over?
Yes, that would be excellent. I'll reach out to some folks over the next few weeks.
from haskell.
I made the test file compile by removing the import for System.Locale
and adding iso8601DateFormat
to the import for Data.Time.Format
.
import Data.Time.Format (TimeLocale, ParseTime, parseTimeOrError, defaultTimeLocale, iso8601DateFormat)
It seems to work fine then.
from haskell.
Thanks @hbarney! Your tip worked for me:
I made the test file compile by removing the import for System.Locale and adding iso8601DateFormat to the import for Data.Time.Format.
I also opened a PR fixing this #96
@etrepum can you take a look? 😄
from haskell.
I went ahead and merged it. If there's a better approach, let's discuss!
from haskell.
Related Issues (20)
- Add a disclaimer about version constraints and Stackage
- [Learning Mode] Discussion: How do we best introduce case-expressions? HOT 5
- [Learning Mode] Discussion: building up to Pattern Matching HOT 26
- Which memoization library to use? HOT 3
- [Learning Mode] make learning track visible HOT 1
- Build error (connection failure, `Cabal file info not found...`) HOT 2
- Continuation of development of Learning Mode? HOT 3
- Intention behind not updating a Queen Attack test HOT 2
- docs: contributing instructions regarding versioning are out of date HOT 2
- Binary Search Tree: add test cases for `bstRight`, `bstLeft` HOT 5
- README: Replace outdated information about hints.md with correct information
- Are hints.md files rendering properly? HOT 1
- Add test to check for eligible boards where queen is on rightmost column in queen attack HOT 3
- Exercise Zipper: instruction is out of date HOT 1
- Building a training set of tags for haskell HOT 21
- exercism cli not installing most recent version of project template HOT 2
- Roman numerals doesn't test for Nothing HOT 1
- Phone Number exercise tests are out of sync with problem-specifications HOT 1
- CI is broken
- Satellite requires unnatural edge case checking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haskell.