[
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: | 2007-03-22 (20:32) |
From: | Sam Steingold <sds@g...> |
Subject: | Re: Arg.spec and option types |
Nicolas barnier wrote: > > I think it would therefore be quite useful to add > Set_option_{string|int|float} > constructors which would expect {string|int|float} option ref values as > arguments (usually initialized with None). Do others think the same or use > some other workaround to obtain this behaviour ? It is nice to know that I am not the only one who is writing Arg.String (fun s -> foo := Some s) all the time. Sam.