Re: [Haskell] Installation with yum.

2005-02-16 Thread Tom Moertel
Manoj Kummini wrote: [EMAIL PROTECTED] ~# yum install haskell-stable The problem is that "haskell-stable" is the name of a repository and not a package. Yum manages packages. (Repositories are where yum gets the packages, but for the most part you can ignore the repositories once your yum.conf

Re: Haskell for non-Haskell's sake

2003-09-06 Thread Tom Moertel
Hal Daume III wrote: > If you use Haskell for a purpose *other than* one of those > listed below, I'd love to hear. Haskell is the implementation language behind PXSL, the Parsimonious XML Shorthand Language: PXSL ("pixel") is a convenient shorthand for writing markup-heavy XML documents.

ANNOUNCE: Red Hat RPMs of Haskell Mode for Emacs

2002-03-22 Thread Tom Moertel
I have packaged the Haskell Mode for Emacs at http://www.haskell.org/haskell-mode/ into RPMs for Red Hat Linux 7.2 (and similar platforms). Once the packages are installed, Haskell Mode is automatically enabled when you start up Emacs. Integration with Hugs is the default, but a quick chan

Is there a more-robust FiniteMap?

2002-02-23 Thread Tom Moertel
Using FiniteMap, I often run into robustness problems. For example, consider the following program, which illustrates a common problem: module Main (main) where import FiniteMap main = print . last . fmToList . listToFM $ [(i,()) | i <- [0..10

Red Hat Linux 6.2 packages [was: Re: GHC version 5.02.1 is released]

2001-11-05 Thread Tom Moertel
Likewise, RPMs for Red Hat Linux 6.2 are available at the following URL: http://www.ellium.com/~thor/ghc5/ md5sums and file sizes: 8d74ce29387690923d4ae1543cab785f ghc-5.02.1-1.i386.rpm (10.6 MB) 4d527acbfa5c50f4ea98fdaa8453d9d7 ghc-doc-5.02.1-1.i386.rpm (1.9 MB) 38d2edc5db006567

Re: Why is there a space leak here?

2001-06-05 Thread Tom Moertel
Mark Tullsen wrote: > > You have to realize that Alastair Reid is one of the truly > great Haskell programmers on planet earth. I'm serious. > So, when he says "incredibly subtle space leak" I wouldn't > expect the solution to be simple. Whoops. Now don't I feel foolish. > As far as I can t

Re: Why is there a space leak here?

2001-06-05 Thread Tom Moertel
"Wojciech Moczydlowski, Jr" wrote: > > How come then that the very program compiled under nhc98 evaluates without > any problem, with memory usage below 1M during its execution? My claim was that v (as defined) grew faster than it could be consumed, not that (length (foo1 n)) couldn't be evaluat

Re: Why is there a space leak here?

2001-06-05 Thread Tom Moertel
Alastair David Reid wrote: > > Executive summary: David's program has an incredibly subtle space leak > in it (or I'm being incredibly dumb). I encourage the honchos (and > would be honchos) to have a look. Users of other compilers might give > it a shot too. > David Bakin wrote: > > Why is t

Re: Notation question

2001-05-29 Thread Tom Moertel
Another introduction, with emphasis on the historical development: Philip Wadler, "Proofs are Programs: 19th Century Logic and 21st Century Computing." http://www.cs.bell-labs.com/who/wadler/topics/history.html It's a fun read, too. Cheers, Tom _

Libraries for multipart MIME encoding/decoding?

2001-04-03 Thread Tom Moertel
Before I rush off and reinvent another wheel, does anybody know of a Haskell library to perform MIME encoding and decoding (a la IETF RFC 2045)? I'd like to be able to decode and process binary files submitted via HTTP POST, and so I need multipart support. The CGI libraries listed on www.haskel

Re: Circular Data Types - a directory tree abstraction

2001-03-04 Thread Tom Moertel
Shlomi Fish wrote: > > I would like to know how I can define a data structure that will contain a > list of references to its own types (I don't need circular data > structures). I would also like to know how I can define such an > abstraction inside a type. Here's one way that uses Haskell's Ei