author | wenzelm |
Wed, 21 Sep 2005 11:49:31 +0200 | |
changeset 17545 | 1ba448f96af1 |
parent 17544 | 929d157d4369 |
child 17546 | 07371b92d382 |
--- a/src/Pure/library.ML Wed Sep 21 11:19:16 2005 +0200 +++ b/src/Pure/library.ML Wed Sep 21 11:49:31 2005 +0200 @@ -312,11 +312,11 @@ fun f #-> g = uncurry g o f; (*conditional application*) -fun b ? f = fn x => if b x then f x else x +fun b ? f = fn x => if b x then f x else x; (*view results*) fun `f = fn x => (f x, x); -fun tap f x = (f x; x); +fun tap f = fn x => (f x; x); (*composition with multiple args*) fun (f oo g) x y = f (g x y);