[nem-bug] [Nemerle 0000853]: Single-paren syntax for match over tuple

feedback at nemerle.org feedback at nemerle.org
Sat Feb 3 23:16:13 CET 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=853> 
======================================================================
Reported By:                nikov
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   853
Category:                   Language Feature
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             01-29-2007 14:51 CET
Last Modified:              02-03-2007 23:16 CET
======================================================================
Summary:                    Single-paren syntax for match over tuple
Description: 
Please allow the following:

		match(x, y) {
			| (0, 0) => 0
			| (0, 1) => 1
			| (1, 0) => 1
			| (1, 1) => 0
		}



======================================================================

----------------------------------------------------------------------
 aleksey - 01-30-07 02:25 
----------------------------------------------------------------------
Excuse me for intervention, but I cannot see how this may be a "major"
issue. To be honest I don't understand how it may be useful at all apart
from causing more confusion and inconsistency.

Of course my opinion doesn't matter anything, since I'm not even a
contributor, and it's up to Nemerle's developers to implement or reject
your request. I just think it doesn't make any sense.

Or am I too short-sighted to see some apparent "major" benefit from
implementing this feature?

----------------------------------------------------------------------
 nikov - 01-30-07 09:33 
----------------------------------------------------------------------
aleksey, you are quite right. It was my mistake.
Surely, severity should be not "major", but "feature".



----------------------------------------------------------------------
 nazgul - 02-03-07 23:16 
----------------------------------------------------------------------
Fixed on trunk (r7374)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-29-07 14:51 nikov          New Issue                                    
01-30-07 02:25 aleksey        Note Added: 0001657                          
01-30-07 09:06 nikov          Note Added: 0001659                          
01-30-07 09:33 nikov          Note Edited: 0001659                         
02-03-07 23:16 nazgul         Status                   new => resolved     
02-03-07 23:16 nazgul         Resolution               open => fixed       
02-03-07 23:16 nazgul         Assigned To               => nazgul          
02-03-07 23:16 nazgul         Note Added: 0001671                          
======================================================================




More information about the bugs mailing list