Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
patterns for 3.12.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-09-07 (23:10)
From: Jake Donham <jake@d...>
Subject: patterns for 3.12.0
Hi list,

If you are interested in using Jeremy Yallop's patterns extension on
OCaml 3.12.0, I have fixed it up here:

I haven't tried anything serious with it but the tests pass.

Also I added a little extension for "alist patterns": a pattern

  alist [ "foo", x; "bar", y ]

matches association lists containing keys "foo" and "bar".