Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* probleme de parsing ?
@ 2000-02-29 19:06 Jean-Yves Moyen
  2000-03-01 17:19 ` Sven LUTHER
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jean-Yves Moyen @ 2000-02-29 19:06 UTC (permalink / raw)
  To: caml-list

Bonjour, il y a apparamment un probleme de parsing des chaines dans la
fonction int_of_string : les espaces precedents (ou suivant) les nombres
ne sont pas eliminer. En revanche, il le sont dans la fonction
float_of_string :

# int_of_string " 5";;
Uncaught exception: Failure("int_of_string")
#float_of_string " 5";;
- : float = 5

(avec Ocaml 2.04)

Est-ce voulu ? Si oui, pourquoi avoir introduit cette difference ?


Hypocoristiquement,
Jym.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-03-06 13:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-29 19:06 probleme de parsing ? Jean-Yves Moyen
2000-03-01 17:19 ` Sven LUTHER
2000-03-06  9:07   ` Xavier Leroy
2000-03-06  9:43     ` Sven LUTHER
2000-03-01 18:07 ` Vitaly Lugovsky
2000-03-02  2:26 ` Max Skaller
2000-03-06  8:52 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox