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. It

Re: speedup help

2003-03-08 Thread Tom Moertel
Bill Wood wrote: I think I got the right results for B_3000: [...] Mathematica 4.1 computes B_3000 as follows: In[1]:= BernoulliB[3000] Out[1]= -28919392162925009628147618267854828678617917853903846822112332719169192942048\

Re: 1 line simple cat in Haskell

2002-11-14 Thread Tom Moertel
writing a small module to provide it: Full version at http://tea.moertel.com/~thor/ravt/ravt-0.9/GetInput.hs -- GetInput.hs -- Tom Moertel [EMAIL PROTECTED] -- CVS $Id: GetInput.hs,v 1.1 2002/09/09 04:57:23 thor Exp $ -- | This module provides a method of getting input from files named

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

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 -

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)

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)

Re: Problem with .ghci (fwd)

2001-07-11 Thread Tom Moertel
Simon Peyton-Jones wrote: | explicitly tell ghci that they're okay! Hand-holding w.r.t. | 'insecure' file permissions has a nasty habit of becoming a | nuisance in unusual cases the original authors hadn't thought of. :-( Constructive suggestions for how to improve are welcome. What we

Panic! The `impossible' happened. GHC 5.00.2 on RHL 6.2.

2001-07-06 Thread Tom Moertel
[Also entered into bug tracker on Sourceforge.] Recipe to replicate: 0. Install ghc-5.00.2 binary RPM on Red Hat Linux 6.2. 1. Download and untar the raytracer that Galois Connections submitted to last year's ICFP programming contest:

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 there a

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 evaluated

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

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 Either