http://d.puremagic.com/issues/show_bug.cgi?id=6365



--- Comment #36 from Kenji Hara <k.hara...@gmail.com> 2011-10-20 19:08:36 PDT 
---
Scala has similar syntax.

http://www.scala-lang.org/docu/files/ScalaReference.pdf p.170
| Changes in Version 2.6.1 (30-Nov-2007)
| Mutable variables introduced by pattern binding
| Mutable variables can now be introduced by a pattern matching definition
(§4.2), | just like values can. Examples:
|     var (x, y) = if (positive) (1, 2) else (-1, -3)
|     var hd :: tl = mylist

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to