Hi,<br><br>I am very much a newbie to Haskell and currently working through <a href="http://learnyouahaskell.com">http://learnyouahaskell.com</a> and trying some of the <a href="http://www.haskell.org/haskellwiki/99_questions">http://www.haskell.org/haskellwiki/99_questions</a>. I am struggling to get my head around pattern matching. I think I can understand the individual patterns presented in LYAH, but can&#39;t seem to find any information about generalising the formats. <br>
<br>Is there a good resource that describes the patterns that are available or provides more details about how to create them.<br><br>For example the format of [x] and (x:xs) seem very different and I cant quite get a handle on the syntax(?) behind them. I can see how patterns work when shown an example, but wouldn&#39;t know how to create one from scratch.<br>
<br>I hope you can understand what I am trying to say - its a little difficult to explain.<br><br><br>Thanks<br><br>Graham<br>