[Pkg-ocaml-maint-commits] [ocaml-visitors] 03/03: cosmetics
Ralf Treinen
treinen at moszumanska.debian.org
Tue May 30 06:19:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
treinen pushed a commit to branch master
in repository ocaml-visitors.
commit adf72def4c4984f434e1ffff9f9bae1e5741284c
Author: Ralf Treinen <treinen at free.fr>
Date: Tue May 30 07:54:43 2017 +0200
cosmetics
---
debian/changelog | 2 +-
debian/libppx-visitors-ocaml-doc.doc-base | 2 --
debian/tests/weight.ml | 8 +++++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 56e5b17..ed926f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ ocaml-visitors (20170404-1) unstable; urgency=medium
* Initial upload (closes: #862775)
- -- Ralf Treinen <treinen at debian.org> Wed, 17 May 2017 15:22:56 +0200
+ -- Ralf Treinen <treinen at debian.org> Tue, 30 May 2017 07:46:45 +0200
diff --git a/debian/libppx-visitors-ocaml-doc.doc-base b/debian/libppx-visitors-ocaml-doc.doc-base
index 74bf060..14097d5 100644
--- a/debian/libppx-visitors-ocaml-doc.doc-base
+++ b/debian/libppx-visitors-ocaml-doc.doc-base
@@ -6,5 +6,3 @@ Section: Programming/OCaml
Format: PDF
Files: /usr/share/doc/libppx-visitors-ocaml-doc/main.pdf.gz
-
-
diff --git a/debian/tests/weight.ml b/debian/tests/weight.ml
index b0c6117..33eb9b1 100644
--- a/debian/tests/weight.ml
+++ b/debian/tests/weight.ml
@@ -4,8 +4,8 @@ type expr =
[@@deriving visitors { variety = "iter" }]
let weight (e : expr) : int =
- (* return the weight of an expr, where constants have weight 2, and *)
- (* additions have weight 5. *)
+(* return the weight of an expr, where the weight of constants is its *)
+(* value, and additions have weight 5. *)
let v = object
val mutable weight = 0
method weight = weight
@@ -22,4 +22,6 @@ let weight (e : expr) : int =
;;
let c = EConst 2 in
-let e = EAdd(c,EAdd(c,c)) in print_int (weight e);;
+ let e = EAdd(c,EAdd(c,c)) in
+ print_int (weight e)
+;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-visitors.git
More information about the Pkg-ocaml-maint-commits
mailing list