Browse files

Fixed doc typo (sum -> fsum). also clarified that elements in the lis…

…ts are of a specific type.
  • Loading branch information...
1 parent a095719 commit 29f2ccb4710fc7415c21759edf161a69d08ebd87 @rgrinberg committed Dec 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/batList.mli
View
4 src/batList.mli
@@ -178,10 +178,10 @@ val min : 'a list -> 'a
[Pervasives.compare] *)
val sum : int list -> int
-(** [sum l] returns the sum of the elements of [l] *)
+(** [sum l] returns the sum of the integers of [l] *)
val fsum : float list -> float
-(** [sum l] returns the sum of the elements of [l] *)
+(** [fsum l] returns the sum of the floats of [l] *)
(** {6 Iterators on two lists} *)

0 comments on commit 29f2ccb

Please sign in to comment.