website/index.html in patternmatching-0.1.0 vs website/index.html in patternmatching-0.1.1

- old
+ new

@@ -31,11 +31,11 @@ <div id="main"> <h1>PatternMatching module</h1> <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/patternmatching"; return false'> Get Version - <a href="http://rubyforge.org/projects/patternmatching" class="numbers">0.1.0</a> + <a href="http://rubyforge.org/projects/patternmatching" class="numbers">0.1.1</a> </div> <h1>&#x2192; &#8216;patternmatching&#8217;</h1> <h2>What</h2> @@ -65,19 +65,27 @@ <li>Syntax based on meta-programming, like &#8220;rspec&#8221;, and so on.</li> </ul> <p>Note: Default equivalence used in structured pattern matching is -based on &#8220;pattern === data&#8221;, so &#8220;foo(Numeric)&#8221; matches with &#8220;foo(100)&#8221;</p> +based on &#8220;<code>pattern === data</code>&#8221;, +so &#8220;<code>foo(Numeric)</code>&#8221; matches &#8220;<code>foo(100)</code>&#8221;.</p> - <p>Note: Not thread safe now.</p> + <p>Notice: Current implementation is not thread safe now. +Need the receiver object(NOT an argument) calling pattern matching +synchronized when multi-threaded access.</p> <h2>Demonstration of usage</h2> + <p>Symbols(e.g. <code>:a</code>, <code>:right_value</code>) +in patterns is passed as variable +to the following block when the pattern matched.</p> + + <h3>Pattern matching expression</h3> <pre> require "patternmatching" # For DSL style code, include PatternMatching @@ -187,9 +195,12 @@ end end # =&gt; "He is Jiro" </pre> <h2>Forum</h2> + + + <p>Visit RubyForge project forum.</p> <h2>How to submit patches</h2>