﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Pattern Matching in Boo</title><description>Basically, think of it like case on steroids.
  
With the exception that you can do stuff like Foo: foo and if there is a match, then foo = expr
  
  
The idea is to express selects very clearly.
</description><link>http://ayende.com/2880/pattern-matching-in-boo#comment5</link><guid>http://ayende.com/2880/pattern-matching-in-boo#comment5</guid><pubDate>Wed, 17 Oct 2007 17:22:56 GMT</pubDate></item><item><title>Avish commented on Pattern Matching in Boo</title><description>As always with new bamboo-driven Boo features, I get the general "this is sweeet" feeling, but I can't really understand what's being done. I see there's some kind of pattern-matching akin to Prolog's unification (and, from what I see, somewhat like Erlang which I don't know), which is cool, but I can't understand what they are doing in there, even after having read the code. Since you've already dove into the (reflectored) code, maybe you could explain what goes on in there? 
</description><link>http://ayende.com/2880/pattern-matching-in-boo#comment4</link><guid>http://ayende.com/2880/pattern-matching-in-boo#comment4</guid><pubDate>Wed, 17 Oct 2007 17:17:17 GMT</pubDate></item><item><title>Ayende Rahien commented on Pattern Matching in Boo</title><description>Check the examples, this is a very nice way of handling selections.
</description><link>http://ayende.com/2880/pattern-matching-in-boo#comment3</link><guid>http://ayende.com/2880/pattern-matching-in-boo#comment3</guid><pubDate>Wed, 17 Oct 2007 07:05:12 GMT</pubDate></item><item><title>Markus Zywitza commented on Pattern Matching in Boo</title><description>Nice, but I can't think of a use case for it...
</description><link>http://ayende.com/2880/pattern-matching-in-boo#comment2</link><guid>http://ayende.com/2880/pattern-matching-in-boo#comment2</guid><pubDate>Wed, 17 Oct 2007 06:59:00 GMT</pubDate></item><item><title>Duncan Godwin commented on Pattern Matching in Boo</title><description>Nice!  It would be really cool if return could be put on the left hand side of the match statement, which would mean match would have to evaluate the selected value.
  
  
return match e:
  
  
etc.
  
  
</description><link>http://ayende.com/2880/pattern-matching-in-boo#comment1</link><guid>http://ayende.com/2880/pattern-matching-in-boo#comment1</guid><pubDate>Wed, 17 Oct 2007 00:37:51 GMT</pubDate></item></channel></rss>