made SML/NJ happier
authortraytel
Tue, 26 Nov 2013 10:17:14 +0100
changeset 54589 d65c6d613633
parent 54588 42b9baf50f8f
child 54590 acb41098607a
made SML/NJ happier
src/Tools/subtyping.ML
--- a/src/Tools/subtyping.ML	Tue Nov 26 09:49:52 2013 +0100
+++ b/src/Tools/subtyping.ML	Tue Nov 26 10:17:14 2013 +0100
@@ -129,7 +129,8 @@
 
 infixr ++> +@> (* lazy error msg composition *)
 
-fun err ++> prt = err #> apsnd (cons prt);
+fun (err : unit -> string * Pretty.T list) ++> (prt : Pretty.T) =
+  err #> apsnd (cons prt);
 val op +@> = Library.foldl op ++>;
 
 fun eval_err err = err ()