Re: [Haskell-cafe] a newbie's question

2005-04-22 Thread David Waern
On Thu, Apr 21, 2005 at 09:21:18PM +0200, Pierre Barbier de Reuille wrote: You may want to have a look there : http://www.haskell.org/libraries/#ide It references some tools to develop in haskell ... You may also want to check out Haste: http://haste.dyndns.org:8080 It is an IDE for

[Haskell-cafe] a newbie's question

2005-04-21 Thread SCOTT J.
Hi, I'm beginning to study Haskell, For the following a = [1,2,3] b = "there" do x - a y - b return (x , y) Winhugs cannot run it. Gives Syntax error in input (unexpected backslash (lambda)) ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] a newbie's question

2005-04-21 Thread Thomas Davie
On Apr 21, 2005, at 3:47 PM, SCOTT J. wrote: Hi, I'm beginning to study Haskell, For the following a = [1,2,3] b = there do x - a y - b return (x , y) Winhugs cannot run it. Gives Syntax error in input (unexpected backslash ( lambda)) Your problem is that you're using monads to grab

Re: [Haskell-cafe] a newbie's question

2005-04-21 Thread Paul Hudak
Thomas Davie wrote: On Apr 21, 2005, at 3:47 PM, SCOTT J. wrote: Hi, I'm beginning to study Haskell, For the following a = [1,2,3] b = there do x - a y - b return (x , y) Winhugs cannot run it. Gives Syntax error in input (unexpected backslash ( lambda)) Your problem is that you're using

[Haskell-cafe] a newbie's question

2005-04-21 Thread SCOTT J.
Hi, I'm trying to investigate the list monad. I program instance Monad [] where xs = f = concat ( map f xs ) return x = [x] a = [1,2,3] b = "there" do { x - a y - b return (x , y) } And I get the error Syntax error in input (unexpected backslash (lambda)) Jan

Re: [Haskell-cafe] a newbie's question

2005-04-21 Thread SCOTT J.
-cafe] a newbie's question Hi, I'm trying to investigate the list monad. I program instance Monad [] where xs = f = concat ( map f xs ) return x = [x] a = [1,2,3] b = "there" do { x - a y - b return (x , y) } And I get the error Syntax erro

Re: [Haskell-cafe] a newbie's question

2005-04-21 Thread Keith Wansbrough
[sorry if you receive this twice; mailing list problems] SCOTT J. wrote: Thanks for your assistance. I'm using now Notepad.exe . Before I did it in Wordpad. I use Windows XP. I'm trying to solve this nasty problem WordPad probably saved your file in RTF rather than TXT. Keep using Notepad

Re: [Haskell-cafe] a newbie's question

2005-04-21 Thread Pierre Barbier de Reuille
You may want to have a look there : http://www.haskell.org/libraries/#ide It references some tools to develop in haskell ... Pierre Keith Wansbrough a écrit : [sorry if you receive this twice; mailing list problems] SCOTT J. wrote: Thanks for your assistance. I'm using now Notepad.exe . Before I

Re: [Haskell-cafe] a newbie's question

2005-04-21 Thread Alexandre Weffort Thenorio
hate when you try tabbing and it does it all wrong). Best Regards NooK - Original Message - From: Keith Wansbrough [EMAIL PROTECTED] To: SCOTT J. [EMAIL PROTECTED] Cc: haskell-cafe@haskell.org Sent: Thursday, April 21, 2005 9:13 PM Subject: Re: [Haskell-cafe] a newbie's question [sorry

Re: a newbie's question

2001-10-14 Thread Fergus Henderson
On 12-Oct-2001, Song Li [EMAIL PROTECTED] wrote: Hi, there, Could anybody explain what does this type defination mean : data xxx a = xxx (a -b) looks xxx can use itself as constructor(like tree) but change the type.. Interpreted literally, that declaration would actually be

a newbie's question

2001-10-12 Thread Song Li
Hi, there, Could anybody explain what does this type defination mean : data xxx a = xxx (a -b) looks xxx can use itself as constructor(like tree) but change the type.. Thanks! Song ___ Haskell-Cafe mailing list [EMAIL PROTECTED]