Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
lazy.rb 0.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MenTaLguY  
View profile  
 More options Nov 5 2005, 7:39 pm
Newsgroups: comp.lang.ruby
From: MenTaLguY <men...@rydia.net>
Date: Sun, 6 Nov 2005 09:39:55 +0900
Local: Sat, Nov 5 2005 7:39 pm
Subject: [ANN] lazy.rb 0.1

Version 0.1 of lazy.rb is out, yet again offering lazy evaluation in
Ruby, but with a new version number.

Along with the spiffy new version number, you get:

 * Lazy::DivergenceError, which is raised if a lazy computation diverges

 * saner exception handling:

   + exceptions in lazy computations could have confusing
     effects before; this version preserves the once-and-only-once
     evaluation policy, even in the presence of exceptions

   + exceptions raised while evaluating lazy computations are wrapped
     in Lazy::DivergenceError, so they can be distinguished from
     exceptions raised by strict code (the original exception can be
     obtained via Lazy::DivergenceError#reason)

 * nearly seamless implicit evaluation, thanks to Pit Capitain

 * a few more paragraphs of documentation

The web site (such as it is) is now here:

 http://moonbase.rydia.net/software/lazy.rb/

The script is here:

 http://moonbase.rydia.net/software/lazy.rb/0.1/lazy.rb

The documentation is here:

 http://moonbase.rydia.net/software/lazy.rb/0.1/doc/

I have some questions, also.

 * Would you all prefer "promise" or "lazy" for the promise-constructor
   function?

 * Should exceptions resulting from an explicit call to force() be
   unwrapped from their Lazy::DivergenceError?

 * Should the wrapper role of Lazy::DivergenceError be separated into
   a different exception class?

-mental

  signature.asc
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google