Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringLabel.iter #3120

Closed
vicuna opened this issue Jan 4, 2002 · 2 comments
Closed

StringLabel.iter #3120

vicuna opened this issue Jan 4, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 4, 2002

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

@vicuna
Copy link
Author

vicuna commented Jan 4, 2002

Comment author: administrator

Fixed by Jacques (2002-01-04)

@vicuna vicuna closed this as completed Jan 4, 2002
@vicuna
Copy link
Author

vicuna commented Jan 4, 2002

Comment author: administrator

From: michaelb@coconet.de

the manual describes for the module StringLabel
but it is not defined:
Objective Caml version 3.04

#use "t.ml";;

File "t.ml", line 2, characters 8-19:
Unbound value String.iter

StringLabels.iter is actually available, but it was not reported
properly into StdLabels.String.

This is now corrected.

Thanks for the report.

   Jacques Garrigue

@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant