[Haskell-cafe] Build error with network/snap w/win7 haskell platform

2011-11-15 Thread Adam Turoff
I'm trying to build snap-0.6 on win7/x64 with the current 64-bit haskell platform. I have the mingw compilers from the platform in $PATH, and I can get the network and snap-server modules to build. But snap-0.6 fails: [18 of 31] Compiling Snap.Snaplet.Internal.Types ( src\Snap\Snaplet\Inter

Re: [Haskell-cafe] Problems building lambdabot on osx

2011-08-09 Thread Adam Turoff
On Aug 9, 2011, at 7:17 PM, John Lato wrote: >> From: Brandon Allbery >> >> Yes, because now it's finding the system readline, which isn't actually >> readline (Apple ships a "readline" which is actually BSD "editline", so you >> get missing symbols for things editline doesn't support such as com

[Haskell-cafe] Problems building lambdabot on osx

2011-08-08 Thread Adam Turoff
I've tried off and on the last couple of days to build Lambdabot on Mac OS X (before and after the upgrade from 10.6 to 10.7) and I keep running into linker errors with the 64-bit Haskell Platform (ghc 7.0.3). First, there's the issue with linking against libiconv, which is solved this way:

Re: [Haskell-cafe] Haskell in 3 Slides

2009-05-18 Thread Adam Turoff
On Mon, May 18, 2009 at 2:06 PM, Don Stewart wrote: > Exactly: focus on what the user wants to do (e.g. write multicore code, > write safe code, write code quickly), not how that is achieved: > "bounded parametric polymorphism" or "monads" Parametric polymorphism is a big win, and highlights some

Re: [Haskell-cafe] OT: Good Linux distro for netbook + Haskell?

2009-04-24 Thread Adam Turoff
On Fri, Apr 24, 2009 at 4:55 PM, Magnus Therning wrote: > Interesting, but how is it when it comes to availability of up-to-date > Haskell packages?  If it's based on Ubuntu 8.10 then I'd expect out of > date GHC and a need to use cabal-install extensively. Well, my machine just died and I'm wait

Re: [Haskell-cafe] OT: Good Linux distro for netbook + Haskell?

2009-04-24 Thread Adam Turoff
On Fri, Apr 24, 2009 at 4:43 PM, Magnus Therning wrote: > I've decided to shop around for other options when it comes to a Debian > distro to put on my Eee PC 900.  Since it has no HDD I want something > that isn't too bloated (some is all right) and ideally leaves up to me > what to install and w

Re: [Haskell-cafe] Collections

2007-06-19 Thread Adam Turoff
On 6/19/07, Andrew Coppin <[EMAIL PROTECTED]> wrote: However, Haskell only has 1 type of collection: linked lists. (And only single-linked at that.) While other "normal" programming languages spend huge amounts of effort trying to select exactly the right collection type for the task in hand, Has

Re: [Haskell-cafe] Splitting a string into chunks

2006-01-13 Thread Adam Turoff
On 1/13/06, Sebastian Sylvan <[EMAIL PROTECTED]> wrote: > blocks = map concat . groupBy (const (not . null)) . lines Thanks. That's a little more involved than I was looking for, but that certainly looks better than pattern matching on ('\n':'\n':rest). ;-) For the record, lines removes the tra

[Haskell-cafe] Splitting a string into chunks

2006-01-13 Thread Adam Turoff
Hi, I'm trying to split a string into a list of substrings, where substrings are delimited by blank lines. This feels like it *should* be a primitive operation, but I can't seem to find one that works. It's neither a fold nor a partition, since each chunk is separated by a 2-character sequence.

Re: [Haskell-cafe] Re: Network parsing and parsec

2005-09-15 Thread Adam Turoff
On 9/15/05, John Goerzen <[EMAIL PROTECTED]> wrote: > Not only that, but IMAP has a way where you can embed, say {305} instead > of a string. That means, "after you finish reading this line, read > exactly 305 bytes, and consider that to be used here." But if you see > "{305}" (the double quotes