Skip to content

Instantly share code, notes, and snippets.

@catalin-hritcu
Created November 5, 2013 22:48
Show Gist options
  • Save catalin-hritcu/7327734 to your computer and use it in GitHub Desktop.
Save catalin-hritcu/7327734 to your computer and use it in GitHub Desktop.
Some error
Toplevel input, characters 45-103:
Error: Illegal application (Non-functional construction):
The expression "sprintf "<tr><td>%s</td><td>%b</td></tr>" name value" of type
"(fix formatType (f : format) : Type :=
match f with
| [] => string
| dir :: dirs =>
match directiveType dir with
| Some T => T -> formatType dirs
| None => formatType dirs
end
end)
[DLit "<", DLit "/", DLit "t", DLit "d", DLit ">",
DLit "<", DLit "/", DLit "t", DLit "r", DLit ">"]"
cannot be applied to the term
"value" : "bool"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment