haskell-beginners-2022 / exercises Goto Github PK
View Code? Open in Web Editor NEW๐ป Exercises for the Haskell Beginners 2022 course
License: Mozilla Public License 2.0
๐ป Exercises for the Haskell Beginners 2022 course
License: Mozilla Public License 2.0
Hi @chshersh! After each week, could you provide the solutions to the exercises of the prev week? Or if the solutions are already available could you let me know where I can find them? thx in advance!
I am trying to build and run the tests and I am getting this error:
cabal build --enable-tests --write-ghc-environment-files=always
Cloning into '/Users/test/exercises/dist-newstyle/src/haskell-h_-d6c8996b412612d'...
remote: Enumerating objects: 946, done.
remote: Counting objects: 100% (59/59), done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 946 (delta 25), reused 36 (delta 12), pack-reused 887
Receiving objects: 100% (946/946), 364.59 KiB | 1.51 MiB/s, done.
Resolving deltas: 100% (534/534), done.
HEAD is now at 7a46b92 Make modules empty when aeson, primitive flags are disabled
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: exercises-0.0.0.0 (user goal)
[__1] next goal: base (dependency of exercises)
[__1] rejecting: base-4.16.3.0/installed-4.16.3.0 (conflict: exercises =>
base^>=4.14)
[__1] skipping: base-4.17.0.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0,
base-4.16.0.0, base-4.15.1.0, base-4.15.0.0 (has the same characteristics that
caused the previous version to fail: excluded by constraint '^>=4.14' from
'exercises')
[__1] rejecting: base-4.14.3.0, base-4.14.2.0, base-4.14.1.0, base-4.14.0.0,
base-4.13.0.0, base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0,
base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0,
base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1,
base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0,
base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0,
base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from
non-upgradeable package requires installed instance)
[__1] fail (backjumping, conflict set: base, exercises)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, exercises
make: *** [build] Error 1
I'm using the hedgehog-classes
package from my fork with the required fixes:
Lines 5 to 8 in 222640b
However, a new version was released to Hackage recently. I hope it includes my fix. In that case, we could switch to using the library from Hackage.
Similar to Learn4Haskell
Hey there! ๐๐ป
If you found this issue while searching for Hacktoberfest contributions, read the following issue for more details about contribution in this project:
Turns out that DocTest is not handling imports after "certain statements" (e.g. the line containing $setup
in Lecture3.hs) very well. Add some comments in all of the LectureN.hs
files on where to "potentially" add imports.
n.b. I will pick this up, this serves mainly as a reminder.
It's now the recommended GHC version according to GHCup and it has some improvements in terms of supporting the OS
So it makes sense to bump the version. I propose to do a soft upgrade:
base
bound to allow GHC 9.2.4Some redundant brackets produce 4 HLint warnings:
https://github.com/haskell-beginners-2022/exercises/security/code-scanning/6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.