You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 774 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
hi,
the manual describes for the module StringLabel
val iter : f:(char -> unit) -> string -> unit
String.iter f s applies function f in turn to all the characters of s.
but it is not defined:
file t.ml contains the following two lines
open StdLabels
let ff =String.iter
loading to ocaml gives
$ ocaml
Objective Caml version 3.04
#use "t.ml";;
File "t.ml", line 2, characters 8-19:
Unbound value String.iter
#quit;;
-- m.becker
The text was updated successfully, but these errors were encountered:
Original bug ID: 774
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
hi,
val iter : f:(char -> unit) -> string -> unit
String.iter f s applies function f in turn to all the characters of s.
open StdLabels
let ff =String.iter
$ ocaml
Objective Caml version 3.04
#use "t.ml";;
File "t.ml", line 2, characters 8-19:
Unbound value String.iter
#quit;;
-- m.becker
The text was updated successfully, but these errors were encountered: