diff options
author | 2015-10-19 18:18:34 +0200 | |
---|---|---|
committer | 2015-10-19 18:18:34 +0200 | |
commit | c7dcb76ffff6b12b031e906b002b4d76c1aaea50 (patch) | |
tree | 8d5115258c3b7042767e45d742e2800dab209822 /lib | |
parent | 666568377cbe1c18ce479d32f6359aa61af6d553 (diff) | |
parent | 50a574f8b3e7f29550d7abf600d92eb43e7f8ef6 (diff) |
Merge branch 'v8.5'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/future.mli | 4 | ||||
-rw-r--r-- | lib/pp.ml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/future.mli b/lib/future.mli index de2282ae9..adc15e49c 100644 --- a/lib/future.mli +++ b/lib/future.mli @@ -91,13 +91,13 @@ val from_here : ?fix_exn:fix_exn -> 'a -> 'a computation * When a future enters the environment a corresponding hook is run to perform * some work. If this fails, then its failure has to be annotated with the * same state id that corresponds to the future computation end. I.e. Qed - * is split into two parts, the lazy one (the future) and the eagher one + * is split into two parts, the lazy one (the future) and the eager one * (the hook), both performing some computations for the same state id. *) val fix_exn_of : 'a computation -> fix_exn (* Run remotely, returns the function to assign. If not blocking (the default) it raises NotReady if forced before the - delage assigns it. *) + delegate assigns it. *) type 'a assignement = [ `Val of 'a | `Exn of Exninfo.iexn | `Comp of 'a computation] val create_delegate : ?blocking:bool -> name:string -> @@ -362,11 +362,11 @@ let emacs_quote_info_start = "<infomsg>" let emacs_quote_info_end = "</infomsg>" let emacs_quote g = - if !print_emacs then str emacs_quote_start ++ hov 0 g ++ str emacs_quote_end + if !print_emacs then hov 0 (str emacs_quote_start ++ g ++ str emacs_quote_end) else hov 0 g let emacs_quote_info g = - if !print_emacs then str emacs_quote_info_start++fnl() ++ hov 0 g ++ str emacs_quote_info_end + if !print_emacs then hov 0 (str emacs_quote_info_start++ brk(0,0) ++ g ++ brk(0,0) ++ str emacs_quote_info_end) else hov 0 g |