Last active
December 11, 2015 21:49
-
-
Save Rembane/4665304 to your computer and use it in GitHub Desktop.
I heard you liked Monoidstructs so I...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct MonoidInterface { | |
struct MonoidInterface (*op)(MonoidInterface*); | |
struct MonoidInterface (*id)(); | |
} MonoidInterface; |
Ny version! Nya felmeddelanden! :D
[hace@ArchBob 3_1]$ gcc Monoid.c
Monoid.c:2:34: error: unknown type name ‘MonoidInterface’
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[hace@ArchBob 3_1]$ gcc Monoid.c
Monoid.c:2:28: error: two or more data types in declaration specifiers
Monoid.c:2:39: error: unknown type name ‘MonoidInterface’
Monoid.c:3:28: error: two or more data types in declaration specifiers