Erick Tryzelaar wrote:
> skaller wrote:
>   
>> Matching against fake constructors is the same as applying
>> a virtual field.
>>
>> I'll have a look: it's all sugar.
>>
>>     
>
> Last but not least is the draft paper about it from the F# folks:
>
> http://blogs.msdn.com/dsyme/attachment/2044281.ashx
>   

and haskell's hard to follow wiki on it, with lots of links:

http://hackage.haskell.org/trac/ghc/wiki/ViewPatterns

and scala's approach:

http://www.scala-lang.org/docu/files/MatchingObjectsWithPatterns-TR.pdf

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to