Re: [Haskell-cafe] Emptying a list

2005-10-15 Thread Sebastian Sylvan
On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Before you read any more, let me just say I'm fairly new to Haskell, so > forgive > me if this is really basic stuff. > > > Hi there, I'm just wondering if there is a command for emptying a list? > Variables in haskell do not vary. So th

Re: [Haskell-cafe] Emptying a list

2005-10-14 Thread Ketil Malde
[EMAIL PROTECTED] writes: > Hi there, I'm just wondering if there is a command for emptying a list? Not really. If you want an empty list, you can use []. > Also, is there any way to incorporate list operations (concatenation in > particular) in a do-statement on lists? Every time I try it giv