summaryrefslogtreecommitdiffstats
path: root/stdlib/obj.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>1999-12-08 08:21:57 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>1999-12-08 08:21:57 +0000
commit77d4f18ce657800ebd85530c510521b467d7c3dd (patch)
treed4ff7e2e660afc0463534306f246fd24f8dbcc69 /stdlib/obj.ml
parent181b12cb95b3361d1fd4b44fa25662c994a9eeb4 (diff)
changed label_pattern syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/obj.ml')
-rw-r--r--stdlib/obj.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/obj.ml b/stdlib/obj.ml
index 0d72f4033..f2a5858f0 100644
--- a/stdlib/obj.ml
+++ b/stdlib/obj.ml
@@ -28,7 +28,7 @@ external new_block : int -> int -> t = "obj_block"
external dup : t -> t = "obj_dup"
external truncate : t -> int -> unit = "obj_truncate"
-let marshal (obj: t) =
+let marshal (obj : t) =
Marshal.to_string obj []
let unmarshal str pos =
(Marshal.from_string str pos, pos + Marshal.total_size str pos)