Open
Description
E.g.:
``(GENLIST (++) n = GENLIST f) n``;
Exception-
HOL_ERR
{message =
"on line 3, characters 10-13:\nCouldn't infer type for overloaded name ++",
origin_function = "type-analysis", origin_structure = "Preterm"} raised
There is a more fundamental error at a higher level (the equality must return bool
, and to then try to apply this to anything is problematic.