On Jun 3, 2009, at 8:12 AM, Paulo J. Matos wrote:
On Wed, Jun 3, 2009 at 3:49 AM, Jay McCarthy <jay.mccar...@gmail.com> wrote:The structure patterns in scheme/match have always bugged me that they didn't let you put the fields in any order and you had to put in _ forthe fields you didn't care about.
IIUC, the proposal would allow you to leave out fields without a warning. This strikes me as potentially dangerous, especially if this stuff is used in the teaching languages. I actually recall some discussion of this on the OCaml list (OCaml behaves in this way, IIUC), and some were suggesting that a slightly different form be required for an incomplete match.
John
smime.p7s
Description: S/MIME cryptographic signature
_________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev