-
Notifications
You must be signed in to change notification settings - Fork 39
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
"No instance for (Semigroup (Fragment a))" in Fragment.hs:33 #206
Comments
Yep, you'll need an earlier GHC, from before the Semigroup Monoid Proposal. (https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid) |
This is an issue I should fix anyway, so thanks for the report. :) If you’re not familiar with Haskell build tooling, the most straightforward way to build is probably using Stack, which will install an appropriate GHC and the correct package versions for you in a sandbox—instructions are in the README. Honestly, I should probably just remove the Makefile since I haven’t been maintaining it. |
...I feel very stupid for not scrolling down and noticing the readme information. Woops. But now it works! Now I just have to figure out what on earth to do with this thing. :P Thanks very much, installing Stack was a simple |
Can ghc not derive those instances? |
@sullyj3 I don’t think so, but there are libraries for it like However, as long as there’s not too much of it, I often end up manually writing code like that instead of finding a way to cleverly avoid it, even though it’s purely mechanical. It only needs to be done once, and being explicit makes the code (in theory) easier to port over to Kitten if/when I want to bootstrap. |
Oh yeah, I guess writing a deriving system for kitten would be super nontrivial. |
@i336 Glad you got it going! :) Feel free to come hang out on the Kitten Gitter channel if you have any questions or feedback. I’m happy to help you try things out—and explain and apologise for all the stuff that’s broken while I continue to take forever to fix it, hah |
Hi! I'm trying to compile Kitten so I can play with it.
I've never used Haskell before so I have no idea what's going on or how to proceed. I wouldn't be surprised if my GHC setup is broken.
I'm on Arch, for better or worse. Happy to shout at the package manager to try and figure out what to install.
btw: I'm sshing to my Arch box from a Slackware machine which has broken Unicode, which is the reason for the "â¢"s. GHC doesn't seem to respect
LC_ALL=C
!The text was updated successfully, but these errors were encountered: