[Haskell-cafe] Type error when trying to adapt http-proxy to new conduit

2012-12-26 Thread Pieter Laeremans
it reads like : Expected x, actual x. Anyone has a clue? thanks, Pieter -- Pieter Laeremans pie...@laeremans.org The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Mime / Mail library

2011-03-20 Thread Pieter Laeremans
Hi all, The MIME package that can be found on hackage, uses String as input. Would i be considered better if there would be a version based on Text, or ByteString ? kind regards, Pieter -- Pieter Laeremans pie...@laeremans.org The future is here. It's just not evenly distributed yet. W

Re: [Haskell-cafe] unix-compat and GHC 7.0.2

2011-03-15 Thread Pieter Laeremans
Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Pieter Laeremans pie...@laeremans.org The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Low level problem with Data.Text.IO

2010-08-25 Thread Pieter Laeremans
with : Non-ISO extended-ASCII text, with very long lines, with CRLF, LF line terminators encoding. How can I debug this problem ? What would you guys do ? Trying gdb ? thanks in advance, Pieter -- Pieter Laeremans pie...@laeremans.org The future is here. It's just not evenly distributed yet. W

[Haskell-cafe] Re: zip-archive performance/memmory usage

2010-08-10 Thread Pieter Laeremans
/10 00:29, Pieter Laeremans wrote: Hello, I'm trying some haskell scripting. I'm writing a script to print some information from a zip archive. The zip-archive library does look nice but the performance of zip-archive/lazy bytestring doesn't seem to scale. Executing

[Haskell-cafe] zip-archive performance/memmory usage

2010-08-09 Thread Pieter Laeremans
, or am I doing something terribly wrong ? kind regards, Pieter -- Pieter Laeremans pie...@laeremans.org The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] Installation problem with latest version of haskell platform

2010-08-03 Thread Pieter Laeremans
. A quick google search yielded ncurses, but I have already installed it, and it doesn't contain that binary. Furthermore configure doesn't yield any errors. And a dependency on ncurses does seem quite strange doesn't it ? thans in advance, Pieter -- Pieter Laeremans pie...@laeremans.org

[Haskell-cafe] Network.UrlDisp

2009-02-01 Thread Pieter Laeremans
Hello, Has anyone some exampe usages of : Network.UrlDisp ? thanks in advance, Pieter -- Pieter Laeremans pie...@laeremans.org ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Network CGI : outputFPS ByteString problem

2009-01-17 Thread Pieter Laeremans
`Data.ByteString.Lazy.Internal.ByteString' against inferred type `ByteString' Is this a library problem? Is the CGI bound with a too specific ByteString ? Or am I doing something terrible wrong ? thanks in advance, Pieter -- Pieter Laeremans pie...@laeremans.org The future is here

[Haskell-cafe] ByteString/parsec

2008-11-11 Thread Pieter Laeremans
source projects which parse ByteString data ? thanks in advance, Pieter -- Pieter Laeremans [EMAIL PROTECTED] The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] GHC 6.10 / Mac OS X / Library problem

2008-11-10 Thread Pieter Laeremans
-light-0.3.1 failed during the building phase. The exception was: exit: ExitFailure 1 -- Pieter Laeremans [EMAIL PROTECTED] The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Haskell stacktrace

2008-09-09 Thread Pieter Laeremans
Hello, I've written a cgi script in haskell, it crashes sometimes with the error message Prelude . tail : empty list In Java we would use this approach to log the erro try { } catch (Exception e) { } -- Pieter Laeremans [EMAIL PROTECTED] The future is here. It's just not evenly

[Haskell-cafe] Re: Haskell stacktrace

2008-09-09 Thread Pieter Laeremans
Laeremans [EMAIL PROTECTED]wrote: Hello, I've written a cgi script in haskell, it crashes sometimes with the error message Prelude . tail : empty list In Java we would use this approach to log the erro try { } catch (Exception e) { } -- Pieter Laeremans [EMAIL PROTECTED] The future

[Haskell-cafe] Re: Haskell stacktrace

2008-09-09 Thread Pieter Laeremans
On Tue, Sep 9, 2008 at 10:30 PM, Pieter Laeremans [EMAIL PROTECTED]wrote: Hello, I've written a cgi script in haskell, it crashes sometimes with the error message Prelude . tail : empty list In Java we would use this approach to log the erro try { } catch (Exception e) { } -- Pieter

[Haskell-cafe] Stripping text of xml tags and special symbols

2008-08-05 Thread Pieter Laeremans
like to use a programmatic solution to this problem. And is there some haskell function which converts special tokens lik - amp; and é - egu; ? thanks in advance, Pieter -- Pieter Laeremans [EMAIL PROTECTED] The future is here. It's just not evenly distributed yet. W. Gibson

[Haskell-cafe] What's wrong with the classes/insances?

2008-06-20 Thread Pieter Laeremans
': getCatalog (Content _ _ c) = c In the definition for method `getCatalog' Failed, modules loaded: none. thanks in advance, P -- Pieter Laeremans [EMAIL PROTECTED] The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe

Re: [Haskell-cafe] What's wrong with the classes/insances?

2008-06-20 Thread Pieter Laeremans
contain a specific type of Item. For each Item I have to be able to produce the toSELem representation that subsequently can be used by HStringTemplate I thik that means I could declare On Sat, Jun 21, 2008 at 12:26 AM, Dan Doel [EMAIL PROTECTED] wrote: On Friday 20 June 2008, Pieter Laeremans

[Haskell-cafe] Memory profiling

2008-06-15 Thread Pieter Laeremans
of memory allocated to the program during execution. The best I can do now is look at top but that 's not satisfactory. thanks, Pieter -- Pieter Laeremans [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Ghc / cgi static linking

2008-06-01 Thread Pieter Laeremans
the sqlite3 library using ghc ? And are there other lucene like libs available like holumbus for haskell ? thanks in advance, Pieter -- Pieter Laeremans [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

[Haskell-cafe] An alternative break

2008-05-28 Thread Pieter Laeremans
, []) (x, l) - (x ++ [head l], tail l ) Is there a better way to write this ? thanks in advance, Pieter -- Pieter Laeremans [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Application Level server state in Haskell Web server

2007-07-22 Thread Pieter Laeremans
Thanks for your response. There 's one thing I don't understand however: the countRef function returns the same MVar all the time. What 's the reason for that ?I would expect that every time that function is invoked, it returns a new MVar, but clearly it does not. From the

[Haskell-cafe] Application Level server state in Haskell Web server

2007-02-17 Thread Pieter Laeremans
Hello, I'm trying to write a simple module for the haskell web server (hws- cgi). And I would like to write a simple module that maintains some kind of state for a session. But I'm I write I cannot do this in pure Haskell ? Without adopting the sources of the Haskell web server ? I'll

[Haskell-cafe] Newbie question

2006-12-29 Thread Pieter Laeremans
Hi, I'm reading the Haskell school of expression by Paul Hudok. Great book. However I would like some feedback about a solution to an exercise The problem is quite simple : define f1 and f2 (using higher order functions ) such that f1 (f2 (*) [1..4]) 5 = [5,10,15,20] I have come up with the