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: 2497 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Please disregard my message, the problem is fixed.
Ekaterina Trofimova wrote:
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
--
Ekaterina Trofimova * Austin, Texas 78729
Freescale NCSG Somerset Design Ctr. * Email: ekaterina.trofimova@motorola.com
7700 West Parmer Lane * Phone: (512) 996-7392
[ ] General Business Use [x] Internal Use Only [ ] Confidential Proprietary
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Please disregard my message, the problem is fixed.
Ekaterina Trofimova wrote:
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
--
Ekaterina Trofimova * Austin, Texas 78729
Freescale NCSG Somerset Design Ctr. * Email: ekaterina.trofimova@motorola.com
7700 West Parmer Lane * Phone: (512) 996-7392
[ ] General Business Use [x] Internal Use Only [ ] Confidential Proprietary
The text was updated successfully, but these errors were encountered:
Original bug ID: 2497
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Please disregard my message, the problem is fixed.
Ekaterina Trofimova wrote:
--
Ekaterina Trofimova * Austin, Texas 78729
Freescale NCSG Somerset Design Ctr. * Email: ekaterina.trofimova@motorola.com
7700 West Parmer Lane * Phone: (512) 996-7392
[ ] General Business Use [x] Internal Use Only [ ] Confidential Proprietary
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Please disregard my message, the problem is fixed.Ekaterina Trofimova wrote:
The text was updated successfully, but these errors were encountered: