Cabal
codeworld
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
Cabal | codeworld | |
---|---|---|
84 | 14 | |
1,531 | 1,231 | |
0.6% | -0.1% | |
9.4 | 0.0 | |
4 days ago | 10 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cabal
-
Would anyone be interested in hoot: A cabal wrapper for haskell based on Cargo?
Also, there's already a cabal RFC to support toml: https://github.com/haskell/cabal/issues/7548
-
On the verge of giving up learning Haskell because of the terrible tooling.
Cabal has a lot of dark corners once you stray from the happy path. Just checked and I'm currently subscribed to 37 threads on the issue tracker, and I'm not a maintainer. A lot of these are related to lesser-used features like cabal scripts, environment files and doctests (though I think all of these things would used more if they were more reliable), but there's also plenty of stupid stuff like: - https://github.com/haskell/cabal/issues/3313 - https://github.com/haskell/cabal/issues/8527 - https://github.com/haskell/cabal/issues/8391 - https://github.com/haskell/cabal/issues/7789 - https://github.com/haskell/cabal/issues/6888 - https://github.com/haskell/cabal/issues/6999 - https://github.com/haskell/cabal/issues/5271
-
There is No “Tooling Issue” in Haskell
By the way, there are some open issues for the command to add a package in Cabal.
-
Why GHCi is my new calculator
That's interesting. Could you could open a an issue about this? https://github.com/haskell/cabal/issues
- Any open source projects to contribute to for beginners
-
dr-cabal v0.2.0.0: Interactive output + critical path computation
At the moment, cabal-install doesn't support hpack natively but if the project can be build with cabal-install, you can run hpack manually to produce the .cabal file and utilise dr-cabal after that :)
-
Failure with cabal v2-test
Hm thanks for that, could try out some of those ideas. Here's the github issue i opened for this: https://github.com/haskell/cabal/issues/8580
-
Haskell adoption is higher than I expected, what can we do to get it to top 10 languages.
Would really love it if the Cabal documentation had this as its own, highly visible entry. I submitted a pull request to that end.
-
Monthly Hask Anything (September 2022)
Sometimes cabal's output is confusing with regards to optimization levels: https://github.com/haskell/cabal/issues/6221
-
Just released: cabal 3.8.1.0
Direct link to changelog: https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.8.1.0.md
codeworld
-
Pedagogical Downsides of Haskell
Code World[1] is a great project that addresses a number of the problems from the article, with an eye towards using Haskell to teach children basic math and programming simultaneously. Code World directly addresses a number of the obstacles outlined in this article:
1. Using an online editor with a rich built-in library removes any toolchain problems.
2. A custom standard library simplifies pedagogically unnecessary details like Foldable
3. The custom standard library also avoids currying (f(a, b) for functions rather than f a b)
4. Custom error messages improve the feedback students get from the compiler
I would highly recommend Code World to anybody looking to teach programming with Haskell. If you want to teach Haskell in a way that fits the existing ecosystem, it's also possible to run Code World without the custom standard library[2].
[1]: https://code.world/#
-
Ask HN: It's 2022. Where should I direct the youths to learn about programming?
Loose connection, but made me remember https://code.world/ uses a Haskell-like functional language to define still pictures, animations, or even games.
- My kid loves computers. I would like him to start programming, just for fun to see if it is something for him. But how to start, what type of programming language that is appealing. Books? I mean, we can start with Lisp, but how long will attention hold? Please advise, thanks.
-
Game
I second gloss! It's a bit limited (no sound, fonts, nor even text centering, but you do have support for vector and bitmap graphics, color manipulation, mouse, keyboard, and animations), but it's so, so easy to use that I not only recommend it (or the similar Code World) for anybody's first game, I still use it for my newer games.
-
Functional Programming in OCaml
Two that I can think of:
- Bootstrap teaches a toned-down version of Racket (i.e. Scheme): https://bootstrapworld.org/materials/spring2021/en-us/course... . It's taught in some schools as well as a comp sci curriculum.
- https://code.world/ teaches using a toned-down version of Haskell. To my knowledge it's not used in schools.
-
Why I Support the Haskell Foundation
I had the silly 'fromString' error you get when using RebindableSyntax but had forgotten what to do next. Quick Google search and I hit on codeworld #59.
-
Safe Haskell?
I'm not a user myself, but I understand Lambdabot and mueval depend on it. More generally, anything that executes Haskell code supplied by untrusted users would fit the bill. I don't know if CodeWorld for example allows user-supplied modules, but if it did they'd have to be Safe.
-
Do you recommend using ghc-pkg? Do you use it and why?
I also have a list of about 300 or so packages at https://github.com/google/codeworld/blob/master/codeworld-available-pkgs/codeworld-available-pkgs.cabal, which I'd like Cabal to solve and find compatible versions to make available, preferably without listing them all on one massive command line! There are limits on the length of a command line. I don't know if cabal install --lib will expose packages that are dependencies, but not actually listed on the command line, in the resulting environment.
You know, now that you mention it, that sounds familiar. There's an issue for this at https://github.com/google/codeworld/issues/1182, and having cabal set up an environment file for GHC is mentioned there. There are some other complications: for example, with cabal v2-install, I can't seem to list multiple packages in local directories. So the answer to that seems to be creating a cabal.project file that lists them all... but then I want to install all of the packages from that cabal.project file into the environment, and their dependencies, and also make the consistent set of dependency versions that work with them (as chosen by Cabal's constraint solver) available in an environment for any further projects built against those same libraries.
-
Beginner Question on library
You could also use code.world with a guide here. It is meant as a beginner-friendly introduction to Haskell. It also has an online environment, so you won't need to install anything.
What are some alternatives?
stack - The Haskell Tool Stack
haskell.nix - Alternative Haskell Infrastructure for Nixpkgs
static-haskell-nix - easily build most Haskell programs into fully static Linux executables
cartel
hackage-repo-tool - Hackage security framework based on TUF (The Update Framework)
stackage - Stable Haskell package sets: vetted consistent packages from Hackage
cab - A maintenance command of Haskell cabal packages
wasp - The fastest way to develop full-stack web apps with React & Node.js.
cabal2nix - Generate Nix build instructions from a Cabal file
hackage-server - Hackage-Server: A Haskell Package Repository
cabal-dev - A wrapper program around cabal and cabal-install that maintains sandboxed build environments.
stackage-cli