Re: [Haskell] Re: Announcing: Postmaster ESMTP Server

2004-10-26 Thread William Lee Irwin III
On 2004-10-26, Peter Simons <[EMAIL PROTECTED]> wrote: >> at you will find the first beta >> release of Postmaster, a mail transport agent written in >> Haskell. It can act as a full ESMTP server for leaf sites On Wed, Oct 27, 2004 at 02:04:32AM +, John Goerzen wro

Re: About Haskell Thread Model

2003-10-13 Thread William Lee Irwin III
William Lee Irwin III <[EMAIL PROTECTED]> asks about true SMP >> cmpxchg and then taking a blocking lock sounds like the 2-tier locking >> supported with Linux' new futex system calls. I wonder how they chose >> to block in the older GHC RTS. On Mon, Oct 13, 2003 at

Re: About Haskell Thread Model

2003-10-13 Thread William Lee Irwin III
William Lee Irwin III wrote: >> That's a painful-sounding state of affairs, though not entirely >> unexpected. It would be interesting to hear of "BKL breakup" efforts >> for Haskell runtime systems, though anymore I'm totally ignorant of >> what the de

Re: About Haskell Thread Model

2003-10-13 Thread William Lee Irwin III
On Sat, Oct 11, 2003 at 10:58:04PM +0200, Wolfgang Thaller wrote: > If you compile the bleeding-edge GHC from the CVS HEAD, you'll get > something else; while "most" threads (those created using "forkIO") are > still light-weight threads that are scheduled in just one kernel > thread, you can al

Re: Haskell for non-Haskell's sake

2003-09-02 Thread William Lee Irwin III
On Fri, Aug 29, 2003 at 05:39:09PM -0700, Hal Daume III wrote: > I'm attempting to get a sense of the topology of the Haskell > community. Based on the Haskell Communities & Activities reports, it > seems that the large majority of people use Haskell for Haskell's sake. > If you use Haskell for a

Re: old hugs versions?

2003-03-17 Thread William Lee Irwin III
On Sat, Mar 15, 2003 at 11:10:57AM +, Steffen Mazanek wrote: > are there any valid links in the whole internet > pointing to old versions of hugs? Concretely > I need hugs-1.3b and all hints how to find it > would be very appreciated. > One may ask what the hell I want to do with > this old stu

Re: Question About lists

2002-12-30 Thread William Lee Irwin III
On Mon, Dec 30, 2002 at 01:47:37PM -0600, Artie Gold wrote: > One suggestion, though is that you're working too hard; there's really > no reason to define a locally defined function. The much simpler: > long [] = 0 > long (x:xs) = 1 + long xs > will do quite nicely. > HTH, > --ag There is already

Re: AW: slide: useful function?

2002-12-02 Thread William Lee Irwin III
On Mon, Dec 02, 2002 at 10:37:09AM +1100, Andrew J Bromage wrote: > In the interest of fairness, the declarative programming community > occasionally appears to have an aversion to actual engineering. If > you mention a term like "design patterns", people look down their > virtual noses at you lik

first stab at -ffunction-sections

2002-11-16 Thread William Lee Irwin III
This could be an artifact of the -j64 (BTW, has anyone else noticed the makefiles can only keep 5 or 6 cpus busy at a time much of the time, and often less?). gcc -O -ffunction-sections -c Text/Regex/Posix_hsc.c -o Text/Regex/Posix_hsc.o Text/ParserCombinators/Parsec/Pos.hs:15: failed to lo

RFC822 date strings vs. current practice

2002-11-16 Thread William Lee Irwin III
These don't appear to actually show up as mailers commonly format them: e.g.: Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] From: Olaf Dietsche To: Chris Wedgwood <[EMAIL PROTECTED]> Subject: Re: [PATCH] 2.5.47: strdup() Date: Sun, 17 Nov 2002 02:37:27 +0100 The implementation in Time.lh

Re: bootstrapping GHC

2001-01-15 Thread William Lee Irwin III
On Sun, Jan 14, 2001 at 04:05:47PM -0800, William Lee Irwin III wrote: > I've recently acquired access to SPARC and PPC Linux boxen. GHC 4.04 is > presently bootstrapping on the SPARC, and I was wondering if there were > PPC hc files floating about anywhere, or documentation on how

bootstrapping GHC

2001-01-15 Thread William Lee Irwin III
I've recently acquired access to SPARC and PPC Linux boxen. GHC 4.04 is presently bootstrapping on the SPARC, and I was wondering if there were PPC hc files floating about anywhere, or documentation on how to generate them. Thanks, Bill ___ Haskell mai

Re: Learning Haskell and FP

2001-01-03 Thread William Lee Irwin III
On Wed, Jan 03, 2001 at 01:28:41AM -0800, Simon Peyton-Jones wrote: > Here's a suggestion: would someone like to write such a guide, > from the point of view of a beginner, leaving blanks that we can fill in, > when you come across a task or issue you don't know the answer > to? That is, you prov

Re: Haskell newsgroup

2000-12-28 Thread William Lee Irwin III
On Thu, Dec 28, 2000 at 06:53:08PM +1000, i r thomas wrote: > How about starting a Haskell newsgroup ? > The closest seems to be comp.lang.functional. There is a Haskell IRC channel on EfNet. I've been fielding Haskell questions there with Albert Lai and Ada Lim for several months. There has also

Re: Hugs and Linux

2000-11-12 Thread William Lee Irwin III
On Fri, Nov 10, 2000 at 07:33:34AM -0800, Jeffrey R. Lewis wrote: > There will be a release of hugs sometime around the end of the year, I > believe, that will fix all of this. In the meantime, you can grab an > interim version from the following URLs: > > http://www.galconn.com/haskell/hugs98-J

Re: help, classes!

2000-09-13 Thread William Lee Irwin III
On Wed, Sep 13, 2000 at 11:48:24PM -0400, kirstin reese wrote: > Surely this is obvious, but I cannot figure out how to properly deal with > class constraints and monads. For instance, when trying > > instance Monad Set.Set where > xs >>= f = Set.unionSet (Set.map f xs) > return x

inference question

2000-08-31 Thread William Lee Irwin III
> module Example where I'm in a small quandary regarding some properties of instances I don't fully understand. What we have are three interrelated classes: > class P t where > pmethod :: t -> t > class Q t where > qmethod :: t -> t > fromNat :: Integer -> t > class C t where >

Re: Higher-order function application

2000-08-24 Thread William Lee Irwin III
Bjorn Lisper <[EMAIL PROTECTED]> writes: }}>cos+sin-- intent: \x->((cos x)+(sin x)) }}>cos(sin) -- intent: \x->cos(sin(x)) }} have equivalents in Fortran 90 and HPF, although with arrays rather than }} functions. For instance, one can write "A+B" to mean an array with value

MTA woes

2000-08-01 Thread William Lee Irwin III
Apparently a routine software upgrade left me with a buggy MTA for about 12 hours or so. If someone could reinstate my list membership, I'd be much obliged. Thanks, Bill

Re: numericEnumFromThenTo strangeness

2000-07-11 Thread William Lee Irwin III
William Lee Irwin III writes: >> [...] >> The rationals may be enumerated according to the construction given >> by Cantor, or by various other means. On Tue, Jul 11, 2000 at 12:15:24PM +1200, Tom Pledger wrote: > There was a related discussion last year, starting fro

Re: numericEnumFromThenTo strangeness

2000-07-10 Thread William Lee Irwin III
Jerzy Karczmarczuk wrote: > [snip] >> I remind you that there is still an uncorrected bug in the domain of >> rationals (at least in Hugs, but I believe that also elsewhere, since >> this is a plain Haskell bug in the Prelude). >> >> succ (3%2) >> >> gives 2%1. On Mon, Jul 10, 2000 at 11:34:18A

Re: Sockets

2000-06-23 Thread William Lee Irwin III
On Fri, Jun 23, 2000 at 11:51:56AM +, Steinitz, Dominic J wrote: > How do I use sockets in Haskell? The ghc manual had some information > in the users guide (6.7 Interfaces to C libraries) but the sentence > which started tantalisingly > > "Various examples of networking Haskell code are pro

Re: FYI: ghc to be dropped from potato (debian) + hbc

2000-03-12 Thread William Lee Irwin III
Antti-Juhani Kaijanaho <[EMAIL PROTECTED]> writes: >> It already *has* been dropped. Apparently the "sponsor" idea did not >> work as well as it should have. Well, there are a couple of things going on here. First, where is the Debian maintainer? The bugs are over 60 days old. Probably a

help tracking down space leak

2000-01-24 Thread William Lee Irwin III
Say, I was wondering if someone on this list would be willing to help me track down a space leak in a program I wrote. I don't really have enough insight into the workings of things to figure out what's causing it, but people here have seemed helpful in the past. The space leak occurs under GHC 4.

Re: Idiomatic Haskell extension library (Re: Reverse composition)

1999-10-09 Thread William Lee Irwin III
On Sat, Oct 09, 1999 at 04:52:20PM +0100, [EMAIL PROTECTED] wrote: > I'd include composition, function products (as in Joe English's > message) and operations on boolean predicates: >> (f &&& g) x = f x && g x >> (f ||| g) x = f x || g x >> notF f x = not (f x) One way to get around this would be

function algebra

1999-10-06 Thread William Lee Irwin III
In analysis, functions are usually taken to be an algebra over the reals (or C). This tempted me to define the following: module FunctionAlgebra where instance Num b => Num (a -> b) where f + g = \x -> (f x) + (g x) f - g = \x -> (f x) - (g x) f * g

Re: Haskell HTTP lib?

1999-08-27 Thread William Lee Irwin III
On Fri, Aug 27, 1999 at 10:06:01AM +0200, Sven Panne wrote: > I've got no idea when the "Great Merger" is finished, hence my > suggestion above. Note that I'm not flaming against Hugs, I was actually > a real fan of it, and I know that in academia you earn *nothing* for > implementing hSeek and fr