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: 2496 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
Ocaml 3.07 which was built with gcc 3.3.2 produces this error message
exception NotSupported of string
exception IllegalIntRange of int * int
exception IllegalCharRange of char * char
let int_range_list n1 n2 =
if ( n1 > n2 ) then raise (IllegalIntRange n1 n2) <--- complains
about this line
else
let rec int_list n list =
if ( n > n2 ) then list
else int_list (n+1) (list@[string_of_int n])
in
int_list n1 [];;
Ocaml 3.06 does not have this problem.
Please tell what could be wrong here.
Thanks
Ekaterina
The text was updated successfully, but these errors were encountered:
Original bug ID: 2496
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
Ocaml 3.07 which was built with gcc 3.3.2 produces this error message
File "regexp.ml", line 94, characters 29-50:
Parse error: currified constructor
Preprocessor error
exception NotSupported of string
exception IllegalIntRange of int * int
exception IllegalCharRange of char * char
let int_range_list n1 n2 =
if ( n1 > n2 ) then raise (IllegalIntRange n1 n2) <--- complains
about this line
else
let rec int_list n list =
if ( n > n2 ) then list
else int_list (n+1) (list@[string_of_int n])
in
int_list n1 [];;
Ocaml 3.06 does not have this problem.
Please tell what could be wrong here.
Thanks
Ekaterina
The text was updated successfully, but these errors were encountered: