Browse thread
[Caml-list] Suggestion for Int32.rotate
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Remi VANICAT <vanicat@l...> |
| Subject: | Re: [Caml-list] Suggestion for Int32.rotate |
Thorsten Ohl <ohl@hep.tu-darmstadt.de> writes:
> Gerd Stolpmann writes:
>
> > Why not allow "_" in integer literals, so one can write
>
> That's the best solution. Others have noticed this before, but let me
> suggest to do the same for float literals.
it's already done in the cvs :
moi@debian:~/prog/ocaml-cvs/bin$ ./ocaml
Objective Caml version 3.04+6 (2002-02-05)
# 123_345.56;;
- : float = 123345.56
# 123_465;;
- : int = 123465
--
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr