Skip to content

Instantly share code, notes, and snippets.

@danking
Created April 7, 2010 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danking/359362 to your computer and use it in GitHub Desktop.
Save danking/359362 to your computer and use it in GitHub Desktop.
- fun [] append ys = ys
| (x :: xs) append ys = x :: (xs append ys);
stdIn:6.12-6.14 Error: illegal function symbol in clause
stdIn:6.12-7.48 Error: clauses don't all have same function name
stdIn:6.12-7.48 Error: clauses don't all have same number of patterns
stdIn:6.12-7.48 Error: types of rules don't agree [tycon mismatch]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment