[
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: | Toby Moth <tm1@c...> |
| Subject: | Re: Stream parsing - caml light vs. ocaml |
option 1:
let rec spaces = parser
[< '' '|'\t'|'\n'; rest >] -> spaces rest
| [< >] -> ()
option 2:
let rec spaces = parser
[< '' '|'\t'|'\n'; _ = spaces >] -> ()
| [< >] -> ()
which may be what you were thinking of