nntpnews.net

Global Usenet Archiver


Register

[Haskell-cafe] safe-lazy-io on GHC 6.12?

Reply

  #1  
Old 06-02-10, 05:38 PM
Tom Tobin
 
Posts: n/a
Default [Haskell-cafe] safe-lazy-io on GHC 6.12?

After convincing myself the hard way that you can't be lazy across
strict monadic results (by writing myself a "foldrM" -- yeah, I'm
still a beginner), I noticed the recent discussion of safe-lazy-io vs.
iteratee with interest. The safe-lazy-io package seems much easier to
understand than iteratee, but it doesn't compile on GHC 6.12 (and I
haven't had any luck in figuring out how to update it myself). The
Hackage build log shows the same build result I'm getting [1]; is
there any chance of it getting updated to work on 6.12?

[1]
Code:
Content visible to registered users only.
_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Reply With Quote
  #2  
Old 06-02-10, 06:12 PM
Nicolas Pouillard
 
Posts: n/a
Default Re: [Haskell-cafe] safe-lazy-io on GHC 6.12?

On Sat, 6 Feb 2010 11:38:25 -0600, Tom Tobin <korpios@korpios.com> wrote:
> After convincing myself the hard way that you can't be lazy across
> strict monadic results (by writing myself a "foldrM" -- yeah, I'm
> still a beginner), I noticed the recent discussion of safe-lazy-io vs.
> iteratee with interest. The safe-lazy-io package seems much easier to
> understand than iteratee, but it doesn't compile on GHC 6.12 (and I
> haven't had any luck in figuring out how to update it myself). The
> Hackage build log shows the same build result I'm getting [1]; is
> there any chance of it getting updated to work on 6.12?


Right, updating it is on my todo list.

However I have a little dilemma, safe-lazy-io has a local version of
hGetContents because I needed a version which do not hide exceptions.

However the latest version of hGetContents seems to no longer catch
exceptions (am I right?), if so it might be preferable to just use
the new hGetContents. Or not?

--
Nicolas Pouillard
Code:
Content visible to registered users only.
_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Haskell-cafe] safe lazy IO or Iteratee? John Lato fa.haskell 5 06-02-10 11:09 AM
[Haskell-cafe] safe lazy IO or Iteratee? David Leimbach fa.haskell 5 05-02-10 09:03 AM
[Haskell] [ANN] Safe Lazy IO in Haskell Nicolas Pouillard fa.haskell 25 19-05-09 10:31 AM
[Haskell-cafe] RE: [ANN] Safe Lazy IO in Haskell Wei Hu fa.haskell 1 24-03-09 12:45 PM


All times are GMT +1. The time now is 09:24 AM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0



For ads on this site use independent advertising companies. These companies may use some data (which does not include your name, address, email address or telephone number) about your visits to this and other websites to create advertisements on products and services you might enjoy. If you'd like more information and to know the options available to prevent the use of such information by these companies, click here

Abuse Ticket System