<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>My name is Anthony i have few question about Haskell.<br><br>I was reading a tutorial everything goes well. but now i have few things that i dont understang.<br><br>HERE:<br><br><span><span>boomBangs&nbsp;xs</span><span class="common_operators">&nbsp;=&nbsp;</span><span>[&nbsp;</span><span class="keyword">if</span><span>&nbsp;x</span><span class="common_operators">&nbsp;&lt;&nbsp;</span><span class="numbers">10</span><span>&nbsp;</span><span class="keyword">then</span><span>&nbsp;</span><span class="string">"BOOM!"</span><span>&nbsp;</span><span class="keyword">else</span><span>&nbsp;</span><span class="string">"BANG!"</span><span class="common_operators">&nbsp;|&nbsp;</span><span>x</span><span class="syntax_operators">&nbsp;&lt;-&nbsp;</span><span>xs,&nbsp;odd&nbsp;x]<br><br><br><br>I dont understand this line except the "if" "then" "else".&nbsp; <br>What is xs? <br>what is the |&nbsp; ? <br>&nbsp;and why doing this&nbsp; "&nbsp; </span></span><span><span class="common_operators">|&nbsp;</span><span>x</span><span class="syntax_operators">&nbsp;&lt;-&nbsp;</span><span>xs,&nbsp;odd&nbsp;x]"<br><br>why x &lt;- xs????? what is that <br><br>and what is odd x? <br><br>thx everyone for answer me. <br></span></span>                                               </div></body>
</html>