You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
load "testTheory";
Error- in '.HOLMK/testTheory.sml', line 69.
Constructor must be applied to an argument pattern. Found near Success
Error- in '.HOLMK/testTheory.sml', line 111.
Elements in a list have different types.
Items 1-2: ("t_TY_DEF", t_TY_DEF, DB.Def), ("t_BIJ", t_BIJ, DB.Def) :
string * thm * class
Item 3: ("Success", Success, DB.Def) :
string * (string -> runresult) * class
Reason: Can't unify thm to string -> runresult (Incompatible types)
Found near
[
("t_TY_DEF", t_TY_DEF, DB.Def),
("t_BIJ", t_BIJ, DB.Def),
("Success", Success, ...),
("t_size_def", ...),
(...),
...
]
Error- in '.HOLMK/testTheory.sml', line 1.
Structure does not match signature.
Signature: val Success: thm
Structure: Not present
Found near
struct
val
_ =
if ! Globals.print_thy_loads then print "Loading testTheory ... "
else ()
open Type Term Thm
infixr 0 -->
fun ...
fun ...
...
...
end
Exception- Fail "Static Errors" raised
The text was updated successfully, but these errors were encountered:
At the least, the name "Success" leads HOL to be unable to load the theory.
milo:tmp so294$ cat testScript.sml
open bossLib Theory;
val _ = new_theory "test";
val _ = Hol_datatype
t = Success
;val _ = export_theory ();
milo:tmp so294$ holmake testTheory.uo
Analysing testScript.sml
Linking testScript.uo to produce theory-builder executable
Poly/ML 5.4.1 Release
[Use-ing configuration file /Users/so294/.hol-config.sml]
Poly/ML 5.4.1 Release
The text was updated successfully, but these errors were encountered: