Skip to content

Instantly share code, notes, and snippets.

@fragamus
Created November 12, 2018 20:24
Show Gist options
  • Save fragamus/889030f241f0956bdb630c8305ad8c76 to your computer and use it in GitHub Desktop.
Save fragamus/889030f241f0956bdb630c8305ad8c76 to your computer and use it in GitHub Desktop.
Need to walk through this error with someone
I'm trying to bring up the code in Ed Kmett's excellent blog post:
https://www.schoolofhaskell.com/user/edwardk/cellular-automata/part-1
But I get this error:
• Expected kind ‘((* -> *) -> Constraint) -> *’,
but ‘Diagram SVG’ has kind ‘*’
• In the type signature: grid :: [[Bool]] -> Diagram SVG R2
|
291 | grid :: [[Bool]] -> Diagram SVG R2
| ^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment