Re: [Haskell-cafe] lambdacats

2010-08-05 Thread Tony Morris
I wonder if the original site is recoverable from this, but I suspect there are some missing. On Fri, Aug 6, 2010 at 2:33 PM, Don Stewart wrote: > ivan.miljenovic: > > On 6 August 2010 14:12, Tony Morris wrote: > > > Hello, does anyone happen to have the lambdacats page cached? The > domain > >

Re: [Haskell-cafe] lambdacats

2010-08-05 Thread Don Stewart
ivan.miljenovic: > On 6 August 2010 14:12, Tony Morris wrote: > > Hello, does anyone happen to have the lambdacats page cached? The domain > > (arcanux.org) and server have disappeared and the wayback machine doesn't > > have the images. > Plenty of stuff shows up on google: http://images.g

Re: [Haskell-cafe] lambdacats

2010-08-05 Thread Ivan Lazar Miljenovic
On 6 August 2010 14:12, Tony Morris wrote: > Hello, does anyone happen to have the lambdacats page cached? The domain > (arcanux.org) and server have disappeared and the wayback machine doesn't > have the images. arcanux.org used to be run by someone whose IRC nick was shillelagh (I believe lambd

[Haskell-cafe] lambdacats

2010-08-05 Thread Tony Morris
Hello, does anyone happen to have the lambdacats page cached? The domain ( arcanux.org) and server have disappeared and the wayback machine doesn't have the images. -- Tony Morris http://tmorris.net/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.or

Re: [Haskell-cafe] what's the best environment for haskell work?

2010-08-05 Thread Hamish Mackenzie
On 5 Aug 2010, at 21:12, David Virebayre wrote: > For example, . > > Here's an example without, and with candy : > > listeEtageres = flip zip [1..] -- on les numérote > . nub -- on élimine les doublons > . sort-- on les trie > . ma

[Haskell-cafe] Re: Haskell in Industry

2010-08-05 Thread Tom Hawkins
Hi Eil, Sorry, your email got lost in my inbox. I hope you don't mind me copying haskell-cafe. > I saw a video of a presentation you gave at CUFP awhile back and was > hoping to ask you a couple of questions. > I'm currently a junior at UT Dallas and trying to figure out what I'm > going to do

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Jeff Zaroyko
On Thu, Aug 5, 2010 at 11:48 PM, Johan Tibell wrote: > On Thu, Aug 5, 2010 at 3:35 PM, Dino Morelli wrote: >> >> On Wed, 4 Aug 2010, Mark Lentczner wrote: >> One thing I haven't seen anyone else comment on is the width of the new >> docs. I have a large (26") monitor and use the browser full-scre

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Ivan Lazar Miljenovic
On 5 August 2010 23:35, Dino Morelli wrote: > On Wed, 4 Aug 2010, Mark Lentczner wrote: > > One thing I haven't seen anyone else comment on is the width of the new > docs. I have a large (26") monitor and use the browser full-screen (with > xmonad, so even more screen space). When I load these pag

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-05 Thread Paul Johnson
Looks interesting. One point: you seem to be using Read and Show typeclasses for serialisation. I think you would be better off using Binary, which is much more efficient. Paul. On 03/08/10 09:35, Frank Kupke wrote: Hi, DSTM is an implementation of a robust distributed Software Transaction

[Haskell-cafe] Re: using Network.CGI

2010-08-05 Thread Anders Kaseorg
On Thu, 5 Aug 2010, Andrew U. Frank wrote: > which is clearly not producing the second part of the code, namely > output a greeting. That’s what it’s supposed to output. Have you considered typing in a name and submitting the form? It works fine for me: . >

Re: [Haskell-cafe] Why do "unsafe" foreign calls block other threads?

2010-08-05 Thread John Meacham
On Thu, Aug 05, 2010 at 04:08:38PM -0400, Nick Bowler wrote: > On 2010-08-03 15:23 -0700, John Meacham wrote: > > It is more an accident of ghc's design than anything, the same mechanism > > that allowed threads to call back into the runtime also allowed them to > > be non blocking so the previousl

[Haskell-cafe] jswm - how to manipulate strings?

2010-08-05 Thread Andrew U. Frank
i try to use jswm to build some web applications, but i got quickly stuck. I used the example programs provided and tried to change them. starting with the calculator, i would like to use the string that the user puts in and apply a function to it (say transf

Re: [Haskell-cafe] Why do "unsafe" foreign calls block other threads?

2010-08-05 Thread John Meacham
On Thu, Aug 05, 2010 at 03:48:57PM -0400, wren ng thornton wrote: > John Meacham wrote: >> 'reentrant' and 'blocking' which could >> be specified independently would be better and would be more >> future-proof against changes in the RTS or between compilers. > > +1. > > Perhaps we should propose it

Re: [Haskell-cafe] Haskell Platform OPENGL dependencies

2010-08-05 Thread Don Stewart
aditya.siram: > Hi folks, > I just installed the latest Haskell Platform on a fresh Ubuntu Lucid machine > and I had to install the following packages to satisfy Open GL: > libgmp3-dev,libgl1-mesa-dev, libglu1-mesa-dev, freeglut3-dev > > Just thought you might want to document that on the Haskell

[Haskell-cafe] ANN: Elerea 2.x.x + question about AOP in Haskell

2010-08-05 Thread Patai Gergely
Hello all, I silently updated Elerea [1] to version 2 about half a month ago, which deprecated the old interface in favour of the 'experimental' branch of version 1. The most important change besides this swap is the addition of the clocked variant of the library, which allows the programmer to ea

Re: [Haskell-cafe] hsb2hs preprocessor looking for a maintainer

2010-08-05 Thread Max Bolingbroke
Hi Sergei On 5 August 2010 18:23, Sergei Trofimovich wrote: > I like the way GHC abstracted from foreign function call interface via libffi. > It works on everything where i tried GHC. Would be nice to have exactly the > same thing for ELF(and more) loader. OK, I've put the text of your email on

Re: [Haskell-cafe] real-time audio processing [Was: can Haskell do everyting as we want?]

2010-08-05 Thread Max Bolingbroke
On 5 August 2010 15:41, Job Vranish wrote: > John Van Enk and I are actually working on a language that's similar to C > (and compiles to C), but has polymorphism, type inference and other goodies. I guess you have seen BitC (http://www.bitc-lang.org/)? It has the performance of C but also type i

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread wren ng thornton
Henning Thielemann wrote: On Wed, 4 Aug 2010, John Meacham wrote: The numeric classes are sort of messed up when it comes to non integral values. (not that they are perfect for other things) for instance, realToFrac doesn't preserve NaN or Infinity, Why should realToFrac do this? NaN, Infini

Re: [Haskell-cafe] Wildly off-topic: de Boor's algorithm

2010-08-05 Thread Andrew Coppin
mo...@deepbondi.net wrote: Andrew Coppin wrote: Given a suitable definition for Vector2 (i.e., a 2D vector with the appropriate classes), it is delightfully trivial to implement de Casteljau's algorithm: de_Casteljau :: Scalar -> [Vector2] -> [[Vector2]] de_Casteljau t [p] = [[p]] de_Castelj

Re: [Haskell-cafe] Why do "unsafe" foreign calls block other threads?

2010-08-05 Thread Nick Bowler
On 2010-08-03 15:23 -0700, John Meacham wrote: > It is more an accident of ghc's design than anything, the same mechanism > that allowed threads to call back into the runtime also allowed them to > be non blocking so the previously used 'safe' and 'unsafe' terms got > re-used. personally, I really

Re: [Haskell-cafe] Why do "unsafe" foreign calls block other threads?

2010-08-05 Thread wren ng thornton
John Meacham wrote: 'reentrant' and 'blocking' which could be specified independently would be better and would be more future-proof against changes in the RTS or between compilers. +1. Perhaps we should propose it to the haskell' committee. -- Live well, ~wren ___

Re: [Haskell-cafe] Problem with System.Timeout in Windows

2010-08-05 Thread Matthias Reisner
Am 05.08.2010 07:35 schrieb Adolfo Builes: Hi All: I have been trying to use System.timeout in windows, but for some reason it doesn't work, a concrete example is: import Network.HTTP import System.Timeout main = do rsp <- timeout 1000 $ simpleHTTP $ getRequest "http://10.1.2.3"; case

Re: [Haskell-cafe] Re: Handling absent maintainers

2010-08-05 Thread Ben Millwood
On Thu, Aug 5, 2010 at 6:38 PM, Ben Millwood wrote: > > It's worth mentioning that Hackage accounts aren't just given out for > free - one has to specifically request them Er, to clarify, I mean signup can't be automated, because account creation is done by a human. Not that hackage charges for a

Re: [Haskell-cafe] Re: Handling absent maintainers

2010-08-05 Thread Ben Millwood
On Thu, Aug 5, 2010 at 5:07 AM, Erik de Castro Lopo wrote: > > The permissiveness of hackage uploads suggests that Hackage needs > to start using something like GPG signing and GPG webs of trust. > > The Debian project has stuff like this in place and I'm sure this > community could learn a lot fr

Re: [Haskell-cafe] hsb2hs preprocessor looking for a maintainer

2010-08-05 Thread Sergei Trofimovich
Hi Max, > > I believe the main reason why ghci isn't available on all platforms is > > the dynamic linker.  I don't think it would be easy (or even feasible) > > to switch to something like 'ld', though. Some serious problems can be solve this way. This one is a nice example: http://hackage.ha

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-05 Thread Gregory Crosswhite
Fair enough; I was not complaining so much as pointing out that the exact manner in which Haskell threads interact with the FFI is not "obvious" (as you described it) given that the documentation is confusing. Should I file a bug report to request that the documentation be updated? Cheers, G

OT Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/5/10 09:35 , Dino Morelli wrote: > Please say no, it's a disappointing trend that you see everywhere. Like > Twitter's web interface, for instance, very narrow. Twitter's web interface isn't really intended for serious use, IMO. Tweetdeck for des

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/5/10 05:47 , David Virebayre wrote: > On Thu, Aug 5, 2010 at 11:35 AM, Henning Thielemann > wrote: >> What else shall a rounding function return if not integers? > > Getting from 29.84645 to 29.85 isn't rounding ? It is, but it's also easy to a

Re: [Haskell-cafe] hGetContents: resource exhausted

2010-08-05 Thread Donn Cave
Quoth Lally Singh , ... > That fixed the signal problem! > > Sadly that just gets me far enough to Setup +RTS -V0 -RTS build, which > runs ghc, which then dies from the same signal problem :-( Well, yeah - a solution it is not, but we sure know a lot about the problem now. Your ghc is fundamental

Re: [Haskell-cafe] hGetContents: resource exhausted

2010-08-05 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/5/10 03:47 , Lally Singh wrote: > Sadly that just gets me far enough to Setup +RTS -V0 -RTS build, which > runs ghc, which then dies from the same signal problem :-( export GHCRTS=-V0 However, I don't think that's a permanent solution. - -- br

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-05 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/5/10 00:47 , Gregory Crosswhite wrote: > The documentation is a little confusing on this issue. It sounded to me > when I read the documentation that all of the *OS* threads were blocked by > the FFI, when what was meant was that all of the *IO*

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Dino Morelli
On Thu, 5 Aug 2010, Johan Tibell wrote: On Thu, Aug 5, 2010 at 3:35 PM, Dino Morelli wrote: One thing I haven't seen anyone else comment on is the width of the new docs. I have a large (26") monitor and use the browser full-screen (with xmonad, so even more screen space). When I load these pag

Re: [Haskell-cafe] real-time audio processing [Was: can Haskell do everyting as we want?]

2010-08-05 Thread Job Vranish
Yeah Atom is pretty slick, though unfortunately it's not quite powerful enough for much of the stuff that we do. John Van Enk and I are actually working on a language that's similar to C (and compiles to C), but has polymorphism, type inference and other goodies. The goal is to make working on emb

Re: [Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-05 Thread Michael Snoyman
On Thu, Aug 5, 2010 at 3:51 PM, Felipe Lessa wrote: > On Thu, Aug 5, 2010 at 9:41 AM, Tim Matthews > wrote: > > I have often wondered "OK haml implemented now what about sass". Michael > > Snoyman what is your opinions on sass? Would a sass inspired syntax like > you > > did with the haml->hamle

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Felipe Lessa
On Thu, Aug 5, 2010 at 10:48 AM, Johan Tibell wrote: >> One thing I haven't seen anyone else comment on is the width of the new >> docs. I have a large (26") monitor and use the browser full-screen (with >> xmonad, so even more screen space). When I load these pages, particularly >> the non-frame

Re: [Haskell-cafe] can Haskell do everyting as we want?

2010-08-05 Thread mokus
David Leimbach wrote: > On Wed, Aug 4, 2010 at 3:16 AM, Alberto G. Corona > wrote: > >> Just to clarify, I mean: Haskell may be seriously addictive. Sounds >> like >> a joke, but it is not. I do not recommend it for coding something quick >> and >> dirty. >> > > I use it for quick and dirty stuf

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Johan Tibell
On Thu, Aug 5, 2010 at 3:35 PM, Dino Morelli wrote: > On Wed, 4 Aug 2010, Mark Lentczner wrote: > > > The Haddock team has spent the last few months revamping the look of the > generated output. We're pretty close to done, but we'd like to get the > community's input before we put it in the main

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-05 Thread Dino Morelli
On Wed, 4 Aug 2010, Mark Lentczner wrote: The Haddock team has spent the last few months revamping the look of the generated output. We're pretty close to done, but we'd like to get the community's input before we put it in the main release. Please take a look, and then give us your feedback

Re: [Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-05 Thread Michael Snoyman
On Thu, Aug 5, 2010 at 3:41 PM, Tim Matthews wrote: > On Thu, Aug 5, 2010 at 11:33 PM, Mark Bradley wrote: > > but CSS type checking might be possible within hamlet. >> > > I have often wondered "OK haml implemented now what about sass". Michael > Snoyman what is your opinions on sass? Would a sas

Re: [Haskell-cafe] Playing with ATs again

2010-08-05 Thread Felipe Lessa
On Thu, Aug 5, 2010 at 7:18 AM, Ryan Ingram wrote: > I actually think it's a > testament to the quality of GHC that things "just work" so often that > I can be so surprised when they don't. Well said. That's the feeling most Haskellers have, and that's part of the awesomeness of programming with

Re: [Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-05 Thread Felipe Lessa
On Thu, Aug 5, 2010 at 9:41 AM, Tim Matthews wrote: > I have often wondered "OK haml implemented now what about sass". Michael > Snoyman what is your opinions on sass? Would a sass inspired syntax like you > did with the haml->hamlet fit in well and if so, as it often best to keep > styles separat

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread malcolm.wallace
It's sad because the class alias proposal was dropped from Haskell' two years ago, isn't it ? Haskell' is an ongoing process of language revision.  ClassAliases did not get into Haskell 2010, but it could certainly be adopted in 2011 or 2012, if there were consensus support for it.  Usually, propo

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Henning Thielemann
On Thu, 5 Aug 2010, David Virebayre wrote: It's sad because the class alias proposal was dropped from Haskell' two years ago, isn't it ? I don't know, but I think before an extension can go into Haskell' it should be at least implemented somewhere. (Is it implemented in JHC at all?) __

[Haskell-cafe] Re: [web-devel] statically compiled css

2010-08-05 Thread Tim Matthews
On Thu, Aug 5, 2010 at 11:33 PM, Mark Bradley wrote: but CSS type checking might be possible within hamlet. > I have often wondered "OK haml implemented now what about sass". Michael Snoyman what is your opinions on sass? Would a sass inspired syntax like you did with the haml->hamlet fit in wel

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread David Virebayre
On Thu, Aug 5, 2010 at 1:55 PM, Henning Thielemann wrote: > It's even worse: The NumericPrelude is in progress, certainly currently > better than Haskell 98's type classes, but there are known problems. > Sometimes new numeric types are implemented and require to refine or > restructure the class

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Henning Thielemann
On Thu, 5 Aug 2010, David Virebayre wrote: On Thu, Aug 5, 2010 at 1:11 PM, John Meacham wrote: use. This isn't to say ghc is doing the wrong thing, I don't think there really is a right thing to do here given the broken class specifications in the report. I often read that the numerical cl

Re: [Haskell-cafe] ANN: blaze-builder 0.1

2010-08-05 Thread Felipe Lessa
Sweet! =) About the 'binary' package, does it speed up if you dump its own Data.Binary.Builder and use the blaze builder? Does it stay with the same performance? Thanks for working on blaze! -- Felipe. ___ Haskell-Cafe mailing list Haskell-Cafe@haske

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread David Virebayre
On Thu, Aug 5, 2010 at 1:11 PM, John Meacham wrote: > use. This isn't to say ghc is doing the wrong thing, I don't think there > really is a right thing to do here given the broken class specifications > in the report. I often read that the numerical classes are problematic. At the same time, th

Re: [Haskell-cafe] Problem with System.Timeout in Windows

2010-08-05 Thread Ryan Yates
I tried your example on 6.12.3 and it worked fine for me (Windows 7). Ryan Yates On Thu, Aug 5, 2010 at 1:35 AM, Adolfo Builes wrote: > Hi All: > > I have been trying to use System.timeout in windows, but for some > reason it doesn't work, a concrete example is: > > import Network.HTTP > impor

Re: [Haskell-cafe] subversion with haskell

2010-08-05 Thread Yuras Shumovich
Hi, As reported by the configure script, file svn_error.h is missing. It presence in latest svn api (http://subversion.apache.org/docs/api/latest/svn__error_8h.html) It can be installed in some unusual location, you can try "find / -name svn_error.h" If you are using debian based system, you can t

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread John Meacham
On Thu, Aug 05, 2010 at 11:35:04AM +0200, Henning Thielemann wrote: > Why should realToFrac do this? NaN, Infinity and +/-0 are IEEE hacks for > the common numerical applications you do with floating point numbers. > These special values could be supported by floating point specific, or > eve

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Henning Thielemann
On Thu, 5 Aug 2010, David Virebayre wrote: On Thu, Aug 5, 2010 at 11:35 AM, Henning Thielemann wrote: What else shall a rounding function return if not integers? Getting from 29.84645 to 29.85 isn't rounding ? Sure, it is, I missed that. Maybe such rounding functions are not provided in

Re: [Haskell-cafe] packages on hackage: how to download files which are not included in the darcs inventory

2010-08-05 Thread Ivan Lazar Miljenovic
"Andrew U. Frank" writes: > i try to use jsmw. i see that there are multiple example files in a > directory. this directory is not included in darcs and does not download > automatically. is there an easy way to download directories (i can get > the files individually with curl - but this is slow

[Haskell-cafe] packages on hackage: how to download files which are not included in the darcs inventory

2010-08-05 Thread Andrew U. Frank
i try to use jsmw. i see that there are multiple example files in a directory. this directory is not included in darcs and does not download automatically. is there an easy way to download directories (i can get the files individually with curl - but this is slow and errorprone)? help is appreciat

Re: [Haskell-cafe] can Haskell do everyting as we want?

2010-08-05 Thread Thomas Schilling
On 4 August 2010 21:21, Jason Dagit wrote: > Is scion still being developed?  I have the impression it's dead now. Really > a shame, I think it has a good solid design and just needs work/polish. It is: http://github.com/nominolo/scion/network I changed the architecture to use separate processe

[Haskell-cafe] subversion with haskell

2010-08-05 Thread Andrew U. Frank
hackage contains a package Hs2SVN HsSVN seems to do what i need, but unfortunately, i cannot install it - i have the error : checking for stdint.h... yes checking for unistd.h... yes checking svn_error.h usability... no checking svn_error.h presence... no

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Lennart Augustsson
Yes, for instance to be able to use functions as number. Or to be able to use constructive real numbers as numbers, since equality is not computable. -- Lennart On Thu, Aug 5, 2010 at 4:17 AM, Ivan Lazar Miljenovic wrote: > On 5 August 2010 10:15, Lennart Augustsson wrote: >> You're right.  I

Re: [Haskell-cafe] Playing with ATs again

2010-08-05 Thread Ryan Ingram
On Wed, Aug 4, 2010 at 11:55 PM, Ivan Lazar Miljenovic wrote: > On 5 August 2010 16:48, Gregory Crosswhite wrote: >>  On 8/4/10 11:40 PM, Andrew Coppin wrote: >>> >>> Ivan Lazar Miljenovic wrote: Don't forget, GHC is open source: if this lack really was "dumb" and annoying you, the

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Ivan Lazar Miljenovic
David Virebayre writes: > On Thu, Aug 5, 2010 at 11:35 AM, Henning Thielemann > wrote: > >> What else shall a rounding function return if not integers? > > Getting from 29.84645 to 29.85 isn't rounding ? Yes it is: http://en.wikipedia.org/wiki/Rounding Usually, however, we often just want to r

Re: [Haskell-cafe] Playing with ATs again

2010-08-05 Thread Ivan Lazar Miljenovic
Andrew Coppin writes: > Well *I* didn't say that anything was dumb. I was merely pointing out > that the much-touched "do it yourself" benefit of OSS is actually out > of most people's reach. There surely can't be many people alive on > Earth who actually understand type theory, and far fewer who

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Alexey Khudyakov
On 05.08.2010 13:35, Henning Thielemann wrote: On Wed, 4 Aug 2010, John Meacham wrote: The numeric classes are sort of messed up when it comes to non integral values. (not that they are perfect for other things) for instance, realToFrac doesn't preserve NaN or Infinity, Why should realToFrac

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Ivan Lazar Miljenovic
Henning Thielemann writes: > On Wed, 4 Aug 2010, John Meacham wrote: > >> and the rounding functions discard information too by trying to >> convert a floating point value to an integral one... > > What else shall a rounding function return if not integers? Some people may wish to a certain numb

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread David Virebayre
On Thu, Aug 5, 2010 at 11:35 AM, Henning Thielemann wrote: > What else shall a rounding function return if not integers? Getting from 29.84645 to 29.85 isn't rounding ? David. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.o

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Henning Thielemann
On Wed, 4 Aug 2010, John Meacham wrote: The numeric classes are sort of messed up when it comes to non integral values. (not that they are perfect for other things) for instance, realToFrac doesn't preserve NaN or Infinity, Why should realToFrac do this? NaN, Infinity and +/-0 are IEEE hacks

[Haskell-cafe] ANN: blaze-builder 0.1

2010-08-05 Thread Jasper Van der Jeugt
Dear all, I have just released a package called blaze-builder on Hackage. It is basically a builder monoid supporting fast string concatenation. It was originally written for the blaze-html package, but because we thought it could be useful elsewhere as well, we are releasing it as a separate pack

[Haskell-cafe] ANNOUNCE: uu-parsinglib version 2.5.3; extended with merging combinators

2010-08-05 Thread S. Doaitse Swierstra
I have uploaded a new version of the uu-parsinglib. It contains, besides the extension of the abstract interpretation part and the fixing of some very subtle corner cases in that part, some nice new functionality: The call of the parser: -- run ((,,,) `pMerge` (pSome pa <||> pMany pb <||> pOne

Re: [Haskell-cafe] Why is toRational a method of Real?

2010-08-05 Thread Henning Thielemann
On Thu, 5 Aug 2010, Ivan Lazar Miljenovic wrote: On 5 August 2010 10:15, Lennart Augustsson wrote: You're right.  It's bad to have toRational in Real.  It's also bad to have Show and Eq as superclasses to Num. I understand why it's bad to have Show as a superclass, but why Eq? Because it st

Re: [Haskell-cafe] what's the best environment for haskell work?

2010-08-05 Thread David Virebayre
On Wed, Aug 4, 2010 at 8:01 PM, Hamish Mackenzie wrote: > I use Leksah and have done since I started contributing to it.  The best way > to make it work for you is to use Leksah to fix what you don't like about > Leksah ;-)  Failing that giving good feedback about bugs and missing features > is

Re: [Haskell-cafe] Playing with ATs again

2010-08-05 Thread Andrew Coppin
Ivan Lazar Miljenovic wrote: On 5 August 2010 16:48, Gregory Crosswhite wrote: On 8/4/10 11:40 PM, Andrew Coppin wrote: Ivan Lazar Miljenovic wrote: Don't forget, GHC is open source: if this lack really was "dumb" and annoying you, there was nothing stopping you from rectifyin

Re: [Haskell-cafe] hGetContents: resource exhausted

2010-08-05 Thread Lally Singh
On Wed, Jul 28, 2010 at 4:21 PM, Donn Cave wrote: > Quoth Lally Singh , > >> Ah, it's getting EAGAIN from fds created from prior pipe() calls.  The >> other sides look like they were DUP2'd to fds 0&1, I'm guessing for a >> fork/exec(). > > Well, that isn't a big surprise - it's the way you would