Re: IO and syntax

2002-03-12 Thread Jyrinx
> readIL' should be defined differently. Try: > > readIL' ans = >do > a <- ... > b <- ... > if a==0 && b==0 then return ans else readIL' ((a,b):ans) > > (note that I added "return".) > I don't know what the ...s should be, but they definitely should not be > what they are:

Re: Hiring and porting

2002-03-12 Thread Thomas Johnsson
Mark Carroll writes: > [..] > However, I do fear that Ashley's correct in suggesting that you'd probably > need to rewrite everything to sensibly translate the Haskell to C or Java > or whatever, and it is both reasonable and plausible that some larger > clients will demand use of a more mai

Re: IO and syntax

2002-03-12 Thread Ashley Yakeley
At 2002-03-12 20:18, Jyrinx wrote: >Of course, this "probable cause" is ridiculous at face value ... anyway, >my code makes as much sense to me as it can at the moment ... how should >I get it to make sense to GHC? (I couldn't find any examples on I can see the bug. It's a very common one when u

IO and syntax

2002-03-12 Thread Jyrinx
I just got back from a high-school programming competition where the only allowed languages were C[++] and Java (*grmbl*). To see just how cool Haskell is, I'm redoing some of the problems in this more enlightened language :-) Anyway, that explains the rather strict requirements for my program's

TrafficMagnet - Special Offer!

2002-03-12 Thread Christine Hall
Hi! Did you know that 85% of your potential customers will be using search engines to find what they are looking for on the Internet? Have you ever thought about getting your website listed on search engines worldwide? TrafficMagnet offers a unique technology that will

Question about something in Hudak's book

2002-03-12 Thread Tom Pledger
Ludovic Kuty writes: : | Is it an idiom or some sort of optimization ? It's more to do with the particular algorithm for finding the area of a convex polygon. Try working through the calculation of the area of this kite. Polygon [(0, 0), (1, 0), (2, 2), (0, 1)] I think the two versions o

Re: Hiring Haskell programmers

2002-03-12 Thread Manuel M. T. Chakravarty
Mark Carroll <[EMAIL PROTECTED]> wrote, > How easy is it to hire reasonable Haskell programmers? Of course, this may > mean, hiring people with the aptitude and interest to quickly learn > Haskell. Has anyone any experience of this that they can share? Depends where you are, I guess. In Sydney,

Question about something in Hudak's book

2002-03-12 Thread Ludovic Kuty
Hello, I have just begun reading Hudak's The Haskell School of Expression and i am wondering something about the manner he calculates the area of a polygon (made of vertices) on page 27. He wrote: area(Polygon (v1:vs)) = polyArea vs where polyArea :: [Vertex] -> Float polyArea (v

Hiring and porting

2002-03-12 Thread Mark Carroll
Thanks, everyone, for your responses! It's all been very helpful. Some things I should mention, then: We're based in central Ohio, but are not currently hiring FPers. Whether we will be in the future depends somewhat on this porting issue. However, if we do decide to hire any Haskell programmers,

ENOUGH! (Hiring Haskell programmers)

2002-03-12 Thread Jerzy Karczmarczuk
Ladies. Gentlemen. What is a "Haskell programmer"? Frankly, I am fed-up with this thread which from time to time raises its ugly head like a Phoenix Turtle mutant... Does anybody (especially young people who want to use Haskell to get more money, love, health and political influence...) serious

Re: Hiring Haskell programmers

2002-03-12 Thread Jens Petersen
Eray Ozkural <[EMAIL PROTECTED]> writes: > I wouldn't be particularly enthusiastic about using a > language like Haskell to implement a simple thing such as > a "chatroom" [...] I don't see why not. Well, simple is relative I suppose. Jens, who wants to write an irc-client in haskell one day _

Re: Hiring Haskell programmers

2002-03-12 Thread Marko Schuetz
From: Mark Carroll <[EMAIL PROTECTED]> Subject: Hiring Haskell programmers Date: Mon, 11 Mar 2002 18:17:42 -0500 (EST) > How easy is it to hire reasonable Haskell programmers? Of course, this may Let's talk. :-) Marko ___ Haskell-Cafe mailing list [E