<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 xs</span><span class="common_operators"> = </span><span>[ </span><span class="keyword">if</span><span> x</span><span class="common_operators"> < </span><span class="numbers">10</span><span> </span><span class="keyword">then</span><span> </span><span class="string">"BOOM!"</span><span> </span><span class="keyword">else</span><span> </span><span class="string">"BANG!"</span><span class="common_operators"> | </span><span>x</span><span class="syntax_operators"> <- </span><span>xs, odd x]<br><br><br><br>I dont understand this line except the "if" "then" "else". <br>What is xs? <br>what is the | ? <br> and why doing this " </span></span><span><span class="common_operators">| </span><span>x</span><span class="syntax_operators"> <- </span><span>xs, odd x]"<br><br>why x <- xs????? what is that <br><br>and what is odd x? <br><br>thx everyone for answer me. <br></span></span>                                            </div></body>
</html>