Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ANN: Pure 0.41
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
  3 messages - 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
 
Albert Graef  
View profile  
 More options Jan 21 2010, 1:23 pm
From: Albert Graef <Dr.Gr...@t-online.de>
Date: Thu, 21 Jan 2010 19:23:41 +0100
Local: Thurs, Jan 21 2010 1:23 pm
Subject: ANN: Pure 0.41
Brief summary of the most important changes: indirect tail calls are now
optimized; changes in && and || to make them extensible and
tail-recursive; new representation for record data; various bugfixes.
Details can be found here:
http://pure-lang.googlecode.com/svn/trunk/pure/NEWS

*Package maintainers* please note that the library version number was
bumped, so rebuilding the addon modules is required. Sorry for the hassle.

Source: http://pure-lang.googlecode.com/files/pure-0.41.tar.gz
Windows MSI: http://pure-lang.googlecode.com/files/pure-0.41.msi

Windows users please note that the pd-pure and pure-gtk packages were
updated accordingly. Download links:
http://pure-lang.googlecode.com/files/pd-pure-0.10.msi
http://pure-lang.googlecode.com/files/pure-gtk-0.5.msi

Enjoy! :)
Albert

--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Gr...@t-online.de, a...@muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag


 
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.
max.wolf  
View profile  
 More options Jan 22 2010, 1:54 pm
From: "max.wolf" <23.14...@gmail.com>
Date: Fri, 22 Jan 2010 10:54:22 -0800 (PST)
Local: Fri, Jan 22 2010 1:54 pm
Subject: Re: ANN: Pure 0.41
Hi

I like the records.
I only wonder, if for typical record usage, "delete" shouldn't remove
all entries for the given key.
Or at least a "delete_all" should be added.

Max


 
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.
Albert Graef  
View profile  
 More options Jan 23 2010, 1:57 am
From: Albert Graef <Dr.Gr...@t-online.de>
Date: Sat, 23 Jan 2010 07:57:11 +0100
Local: Sat, Jan 23 2010 1:57 am
Subject: Re: [pure-lang] Re: ANN: Pure 0.41

max.wolf wrote:
> I only wonder, if for typical record usage, "delete" shouldn't remove
> all entries for the given key.

I think that the current version is appropriate, because insert/update
also updates just one entry, not all of them.

> Or at least a "delete_all" should be added.

That's a one-liner:

  > delete_all x y = {a | a@(k=>_) = x; k ~== y} if recordp x;
  > delete_all {x=>1,y=>2,x=>3} x;
  {y=>2}

Only the basic record operations are in the prelude, but as you can see
you can easily add the stuff that you need. That's the nice thing about
having records implemented as matrices, as these already offer some
really powerful operations.

Albert

--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Gr...@t-online.de, a...@muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag


 
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 »