Documentation of MVars

2000-02-09 Thread George Russell
I find the documentation of takeMVar and readMVar in section 1.4.1 confusing if not non-existent. The only documentation appears to be (apart from the types themselves): MVars are rendezvous points, mostly for concurrent threads. They begin either empty or full, and any attempt to read an

Offline

2000-02-09 Thread Simon Peyton-Jones
Folks You may have noticed a distinct lowering in bandwidth from GHC HQ. Simon Marlow is on holiday, and the ICFP deadline is 1st March. I'm scrawling frantically, and even when Simon gets back he will be too. So I'm afraid you won't get a lot out of us till the week of 6th March. Sorry

Bug in Time.toClockTime

2000-02-09 Thread Eelco Dolstra
Hi! There is a bug in GHC's implementation of Time.toClockTime. For example, the following program: -- module Main where import Time t = toClockTime $ CalendarTime { ctYear = 2000, ctMonth = February, ctDay = 9, ctHour = 13, ctMin = 22, ctSec = 20, ctPicosec = 0,

message

2000-02-09 Thread www
[This message is sent through a WWW-Email gateway.] [The authenticity of the sender can not be validated.] [Message sent from the following machine ip102.odnxr4.ras.tele.dk - 195.249.55.102 ] [after accessing this URL http://www.dcs.gla.ac.uk/scripts/global/send_message?[EMAIL

RE: rounding in Haskell -- a bug in hugs

2000-02-09 Thread John Hughes
Frank Christoph writes: It seems to me there is a tension between using show as a way of doing quick and dirty pretty-printing, and as a way of getting a portable representation of data. This is a "bug" in hugs. To illustrate the problem, the next floating point number after 5.0 is

RE: More on randoms

2000-02-09 Thread Simon Peyton-Jones
| OK, Simon, it looks as if Fergus and Tom are on board. Fine. So I'll go with the optional genRange proposal. In general, the standard libraries have no name conflicts; you can import them all at will. That's not the only possible policy (the other is to name similar things the same and use

Job market

2000-02-09 Thread Brett_A . _Letner
This is probably a stupid question, but... Are there any jobs out there to be had programming in haskell? My apologies if this is inapropriate for this list or if I missed it on the web site. Thanks- Brett

Re: Job market

2000-02-09 Thread Michael Hobbs
[EMAIL PROTECTED] wrote: This is probably a stupid question, but... Are there any jobs out there to be had programming in haskell? My apologies if this is inapropriate for this list or if I missed it on the web site. Thanks- Brett I have never met an employer that has so much as even

RE: Job market

2000-02-09 Thread King David-BDK001
In Motorola Labs we use functional languages for rapid prototyping, and we are currently using Standard ML for prototyping a test script generator. Anyone with a background in Haskell or other functional languages and interested in a permanent job in research is welcome to apply. Just e-mail or

RE: Job market

2000-02-09 Thread Chris Angus
I am currently using Haskell at work although not to develop end - software We have a lot of legacy code which we want to convert to Java I am using a combination of happy , alex, asdlGen, hugs and GHC, writing in a monadic style. I tried to use Haxml but found it too

Re: On Haskell and Freedom

2000-02-09 Thread Juergen Pfitzenmaier
Julian Assange wrote: Well and good, but without fear and hope there is no motivation to do anything. Which is quite apt for a body in the ground, but for upright specimens such philosophical sentiment leads to stagnation. No, not true. Look into philosophy, theology,... there are other

No Subject

2000-02-09 Thread Juergen Pfitzenmaier
Subject: Re: overlapping instances Maybe I understand why Sergey wants to use overlapping instances in his DoCon. 2 years ago I tried to the same thing in C++ (also while implementing a computer algebra system). Overlapping instances *may* be useful, but in combination with parametrized

New Release of Haskore

2000-02-09 Thread Paul Hudak
I have just placed a new release of Haskore on haskell.org. The Readme file is appended below. -Paul Hudak - Haskore Music System This is the February

Haskell update on polymorphic objects

2000-02-09 Thread Andy Gill
Here is a curiosity of the Haskell update mechanism; you can map one type to another using it. Consider this datatype and function... data Foo a = Foo { foo :: a , bar :: Int } deriving Show up s t = s { foo = t } Now, what should the type of the function

RE: Haskell update on polymorphic objects

2000-02-09 Thread Mark P Jones
Your example suggests that update was, perhaps, not the best choice of terminology! | data Foo a = Foo { foo :: a |, bar :: Int |} deriving Show | | up s t = s { foo = t } | | Now, what should the type of the function 'up' be? | | up :: Foo a - a - Foo a |

RE: rounding in Haskell -- a bug in hugs

2000-02-09 Thread Mark P Jones
Hi John, | This is a "bug" in hugs. | | To illustrate the problem, the next floating point number after | 5.0 is 5.0047, | which hugs also prints as 5.0. One might argue that to display it | as 5.005 would | be misleading, since this number is the closest representable to |

Re: rounding in Haskell -- a bug in hugs

2000-02-09 Thread Fergus Henderson
On 09-Feb-2000, Mark P Jones [EMAIL PROTECTED] wrote: The Numeric.showFloat function is there for the more expert programmers who care about the last few bits after the floating point. That's the function that a Haskell programmer should use if they need this kind of functionality. I can

No Subject

2000-02-09 Thread Stefan Friedel
Hi everybody, I have a problem. I'm new to haskell and I have to write a function that takes the following list and finds the average by using recursion and adding the numbers together. I'm completely STUCK! Thank you. sales :: Int - Float sales n | n == 0 = 23.89 | n == 1 =