This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository tophide.

commit e58a561e8f62b9949e488dd4614cb4b033d0f86f
Author: Stephane Glondu <st...@glondu.net>
Date:   Tue Jun 16 09:19:08 2015 +0200

    Imported Upstream version 1.0.3
---
 Makefile            |  4 ++--
 README => README.md | 34 +++++++++++++++++++++++++++-------
 tophide.ml          |  2 +-
 3 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index c11e357..a81fd3e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
 # Copyright 2008 Martin Jambon. All rights reserved.
 # This file is distributed under the terms stated in file LICENSE.
 
-VERSION = 1.0.1
+VERSION = 1.0.3
 export VERSION
 
 .PHONY: all install clean
 
 all: META tophide.cmo
 tophide.cmo: tophide.ml
-       ocamlc -c tophide.ml
+       ocamlc -I +compiler-libs -c tophide.ml
 
 install:
        ocamlfind install tophide META tophide.cmi tophide.cmo
diff --git a/README b/README.md
similarity index 80%
rename from README
rename to README.md
index 1ede0ac..9a9b750 100644
--- a/README
+++ b/README.md
@@ -9,17 +9,19 @@ This behavior is particularly useful for hiding 
preprocessor-generated
 values that are not meant to be reviewed by the user/programmer.
 
 
-1. Installation
+Installation
+------------
 
-  make
-  make install         # requires ocamlfind
+    make
+    make install         # requires ocamlfind
 
 Uninstallation can be performed with
 
-  make uninstall       # requires ocamlfind
+    make uninstall       # requires ocamlfind
 
 
-2. Usage
+Usage
+-----
 
 There are two modes: "hide" and "show".
 
@@ -32,12 +34,14 @@ tophide was loaded.
 The "#hide" directive allows to switch back to the "hide" mode.
 
 
-3. Example
+Example
+-------
 
 The best way of using this is with findlib.
 Findlib provides the "#require" directive for finding and loading a given
 package.
 
+```
 #use "topfind";;          (* just once *)
 - : unit = ()
 Findlib has been successfully loaded. Additional directives:
@@ -53,7 +57,7 @@ Findlib has been successfully loaded. Additional directives:
 # #require "tophide";;      (* loads tophide *)
 /home/martin/godi/lib/ocaml/site-lib/tophide: added to search path
 /home/martin/godi/lib/ocaml/site-lib/tophide/tophide.cmo: loaded
-
+```
 
 
 
@@ -64,9 +68,25 @@ manual)
 
 Let's see what we get:
 
+```ocaml
 # let a = 1;;                                               
 val a : int = 1
 # let _a = 2;;      (* good, no output for _a! *)
 # 
+```
 
 Now you can load your favorite camlp4 extensions.
+
+
+META files
+----------
+
+Packages depending on tophide should need it only in the toplevel loop.
+This is expressed as follows in the `META` file for ocamlfind:
+
+    requires(toploop) += "tophide"
+
+This comes in addition to other `requires` directives, e.g.:
+
+    requires = "unix pcre"
+    requires(toploop) += "tophide"
diff --git a/tophide.ml b/tophide.ml
index 41eaaec..f52290b 100644
--- a/tophide.ml
+++ b/tophide.ml
@@ -50,7 +50,7 @@ let default_env = save_env ()
 let filter_sig_item = function
     Osig_class (_, _, _, _, _)
   | Osig_class_type (_, _, _, _, _)
-  | Osig_exception _
+  | Osig_typext _
   | Osig_modtype _
   | Osig_module _
   | Osig_type _ as x -> Some x

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/tophide.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to