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

Reported build failure with codeworld-api #683

Closed
cdsmith opened this issue Jul 2, 2018 · 0 comments
Closed

Reported build failure with codeworld-api #683

cdsmith opened this issue Jul 2, 2018 · 0 comments
Labels

Comments

@cdsmith
Copy link
Collaborator

cdsmith commented Jul 2, 2018

Preprocessing library for codeworld-api-0.2.3..
Building library for codeworld-api-0.2.3..
[1 of 9] Compiling CodeWorld.CanvasM ( src\CodeWorld\CanvasM.hs, dist\build\CodeWorld\CanvasM.o )
[2 of 9] Compiling CodeWorld.Color ( src\CodeWorld\Color.hs, dist\build\CodeWorld\Color.o )
[3 of 9] Compiling CodeWorld.Picture ( src\CodeWorld\Picture.hs, dist\build\CodeWorld\Picture.o )
[4 of 9] Compiling CodeWorld.Event ( src\CodeWorld\Event.hs, dist\build\CodeWorld\Event.o )
[5 of 9] Compiling CodeWorld.CollaborationUI ( src\CodeWorld\CollaborationUI.hs, dist\build\CodeWorld\CollaborationUI.o )
[6 of 9] Compiling CodeWorld.Driver ( src\CodeWorld\Driver.hs, dist\build\CodeWorld\Driver.o )

src\CodeWorld\Driver.hs:197:10: error:
  * No instance for (Semigroup Drawing) arising from the superclasses of an instance declaration
  * In the instance declaration for `Monoid Drawing'
  | 197
  | instance Monoid Drawing where
  |          ^^^^^^^^^^^^^^
  cabal: Leaving directory 'C:\Users\##\AppData\Local\Temp\cabal-tmp-12696\codeworld-api-0.2.3'

I added a Semigroup instance for Picture some time ago, but apparently it's needed for Drawing as well.

@cdsmith cdsmith added the bug label Jul 2, 2018
cdsmith added a commit that referenced this issue Jul 4, 2018
@cdsmith cdsmith closed this as completed in 9a88ff1 Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant