# HG changeset patch # User wenzelm # Date 1085835564 -7200 # Node ID 3f80d6510ee99a4c7119fcf20e3214f7d552e1e1 # Parent 4dae1cb304a4e89c5e183294ea479d4d704e40bc Sign.infer_types: Sign.pp; diff -r 4dae1cb304a4 -r 3f80d6510ee9 TFL/tfl.ML --- a/TFL/tfl.ML Sat May 29 14:58:44 2004 +0200 +++ b/TFL/tfl.ML Sat May 29 14:59:24 2004 +0200 @@ -371,7 +371,7 @@ (*For Isabelle, the lhs of a definition must be a constant.*) fun mk_const_def sign (Name, Ty, rhs) = - Sign.infer_types sign (K None) (K None) [] false + Sign.infer_types (Sign.pp sign) sign (K None) (K None) [] false ([Const("==",dummyT) $ Const(Name,Ty) $ rhs], propT) |> #1; diff -r 4dae1cb304a4 -r 3f80d6510ee9 src/HOLCF/domain/theorems.ML --- a/src/HOLCF/domain/theorems.ML Sat May 29 14:58:44 2004 +0200 +++ b/src/HOLCF/domain/theorems.ML Sat May 29 14:59:24 2004 +0200 @@ -18,8 +18,8 @@ (* ----- general proof facilities ------------------------------------------- *) -fun inferT sg pre_tm = #1 (Sign.infer_types sg (K None) (K None) [] true - ([pre_tm],propT)); +fun inferT sg pre_tm = + #1 (Sign.infer_types (Sign.pp sg) sg (K None) (K None) [] true ([pre_tm],propT)); fun pg'' thy defs t = let val sg = sign_of thy; val ct = Thm.cterm_of sg (inferT sg t);