<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>HI,<div><br></div><div>I would like to know  if the first one is valid why not the second one?</div><div><br></div><div><pre style="font-family: monospace, Courier; padding: 1em; border: 1px dashed rgb(47, 111, 171); background-color: rgb(249, 249, 249); line-height: 1.3em; font-size: 13px; ">case L of
   {answer, N} when N == 42 -> true;
   _ -> false
 end.</pre></div><div><br></div><div><pre style="font-family: monospace, Courier; padding: 1em; border: 1px dashed rgb(47, 111, 171); background-color: rgb(249, 249, 249); line-height: 1.3em; font-size: 13px; ">case L of
   {answer, N} when N == M:F(A) -> true;
   _ -> false
 end.</pre></div>                                     </div></body>
</html>