[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-10 Thread Brian Sniffen
ate haskell of Pandoc still does not work, please make > a ticket as Simon wrote in: > > http://hackage.haskell.org/trac/ghc/ticket/2965#comment:24 > > Cheers Christian > > Christian Maeder wrote: >> Maybe runhaskell is used for template haskell? >> >> HTH Chris

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Brian Sniffen
rs to have been a typo---cabal and setup never parsed it. -Brian On Fri, Sep 4, 2009 at 9:51 AM, Christian Maeder wrote: > Does adding -optc-m32 -opta-m32 -optl-m32 to /usr/bin/ghci > as well not help? (as I've posted before) > > Cheers Christian > > Brian Sniffen wrote

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Brian Sniffen
er this message indicates that TH code is searching a different library path than non-TH code or what. Advice is most welcome. I'm particularly interested in finding out which zlib versions are being found at the construction of Codec.Compression.Zlib and at runtime (Pandoc compile time).

Re: Re[2]: The programming language market (was Re: [Haskell-cafe] Why functional programming matters

2008-01-27 Thread Brian Sniffen
On Jan 27, 2008 3:49 AM, Bulat Ziganshin <[EMAIL PROTECTED]> wrote: > a few months ago i > have a conversation with today student and they still learn Lisp (!!!). > it seems that they will switch to more modern FP languages no earlier > that this concrete professor, head of PL department, which in

Re: [Haskell-cafe] Doing some things right

2007-12-28 Thread Brian Sniffen
On Dec 28, 2007 6:05 AM, Andrew Coppin <[EMAIL PROTECTED]> wrote: > [I actually heard a number of people tell me that learning LISP would > change my life forever because LISP has something called "macros". I > tried to learn it, and disliked it greatly. It's too messy. And what the > heck is "cdr"

Re: [Haskell-cafe] Re: Waiting for thread to finish

2007-11-28 Thread Brian Sniffen
On Nov 28, 2007 5:07 PM, Maurí­cio <[EMAIL PROTECTED]> wrote: > Sorry if I sound rude. I just saw a place for a > small joke, and used it. Chris code is pretty > elegant to what it is supposed to do. However, > knowing if a thread has finished is just 1 bit of > information. There's probably a reas

Re: [Haskell-cafe] where to put handy functions?

2007-08-10 Thread Brian Sniffen
Posix has pretty well taken the name "select." It probably isn't a good idea to use that name in a commonly imported library like Data.List, since users will have to mask and qualify it if they also import Posix libraries. -- Brian T. Sniffen [EMAIL PROTECTED]or[EMAIL PROTECTED] http://w

[Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Brian Sniffen
I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. OCaml provides a partial solution:

Re: [Haskell-cafe] Re: Hashtable woes

2006-02-10 Thread Brian Sniffen
On 2/10/06, Ketil Malde <[EMAIL PROTECTED]> wrote: > Hmm...perhaps it is worth it, then? The benchmark may specify "hash > table", but I think it is fair to interpret it as "associative data > structure" - after all, people are using "associative arrays" that > (presumably) don't guarantee a hash

[Haskell-cafe] Re: [Haskell] Re: haskell.org Public Domain

2006-01-09 Thread Brian Sniffen
> > It might be nice to at least include some disclaimers of warranty. I'm not a lawyer. But those US copyright lawyers I've spoken with have expressed doubts about anybody's ability to put things into the public domain. Certainly, if you put it in the public domain, you can't also disclaim a wa

Re: [Haskell-cafe] Mixing IO and STM

2005-12-29 Thread Brian Sniffen
Here's a version that provides clean output with no delays. It uses a single-entry mailbox (the TMVar "output") to ensure the processing doesn't run too far ahead of the log. module Test where import System.Random import Control.Concurrent import Control.Concurrent.STM test :: IO () test = do

Re: [Haskell-cafe] Mixing IO and STM

2005-12-29 Thread Brian Sniffen
> test_Cubby = > do > tv <- newTVar 0 You've almost got it! But "newTVar 0" has type STM Tvar, and you're trying to use it in the IO monad. So just say "tv <- atomically (newTVar 0)" and you're set. Do notice that you'll see output like this: co"nisnusmeer t6 "6 " "c"oinnssuemret 61""