I could finally understand how random works.
But i was wondering, is raising an exception the best way to get out of the
fold in:
. . . .
ignore (List.fold_left
(fun k (s,w) ->
if k+w > sel then raise (Found s) else (k+w))
0 ready_list) ;
assert false
with
| Found s -> Some s
It just seems a little wrong.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users