caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] is there a more concise way to write this?
@ 2012-01-20  6:38 Martin DeMello
  2012-01-20  6:46 ` Valentin ROBERT
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Martin DeMello @ 2012-01-20  6:38 UTC (permalink / raw)
  To: OCaml List

      let a = match (out, value) with
        (true, true)  -> [o; v]
      | (false, true) -> [v]
      | (true, false) -> [o]
      | (false, false) -> []

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

end of thread, other threads:[~2012-01-20 21:09 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-20  6:38 [Caml-list] is there a more concise way to write this? Martin DeMello
2012-01-20  6:46 ` Valentin ROBERT
2012-01-20  6:58   ` Martin DeMello
2012-01-20  8:37   ` David Allsopp
2012-01-20 13:29     ` Edgar Friendly
2012-01-20 13:50       ` Fabrice Le Fessant
2012-01-20 13:58       ` oliver
2012-01-20 14:05         ` Edgar Friendly
2012-01-20 14:12       ` David Allsopp
2012-01-20 14:23         ` Fabrice Le Fessant
2012-01-20 14:23         ` Edgar Friendly
2012-01-20  8:37   ` Sebastien Ferre
2012-01-20  9:11     ` Jerome Vouillon
2012-01-20  9:34       ` Fabrice Le Fessant
2012-01-20 10:27         ` Arnaud Spiwack
2012-01-20  8:52 ` Lin
2012-01-20  9:08   ` Valentin ROBERT
2012-01-20  9:19     ` Lin
2012-01-20 10:21     ` Martin DeMello
2012-01-20  9:38 ` oliver
2012-01-20 13:59   ` Edgar Friendly
2012-01-20 14:42     ` oliver
2012-01-20 15:31     ` Fabrice Le Fessant
2012-01-20 21:04     ` oliver
2012-01-20 21:09       ` oliver
2012-01-20 20:40 ` oliver
2012-01-20 21:07   ` Martin DeMello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).