[pure-lang-svn] SF.net SVN: pure-lang:[807] pure/trunk/lib/strings.pure
Status: Beta
Brought to you by:
agraef
From: <ag...@us...> - 2008-09-20 16:37:56
|
Revision: 807 http://pure-lang.svn.sourceforge.net/pure-lang/?rev=807&view=rev Author: agraef Date: 2008-09-20 16:37:50 +0000 (Sat, 20 Sep 2008) Log Message: ----------- Fix deprecated list comprehension syntax. Modified Paths: -------------- pure/trunk/lib/strings.pure Modified: pure/trunk/lib/strings.pure =================================================================== --- pure/trunk/lib/strings.pure 2008-09-20 16:36:47 UTC (rev 806) +++ pure/trunk/lib/strings.pure 2008-09-20 16:37:50 UTC (rev 807) @@ -137,7 +137,7 @@ join delim::string [] = ""; join delim::string (x::string:xs) - = x + strcat [delim+x; x = xs] + = x + strcat [delim+x | x = xs] if listp xs && all stringp xs; /* Split a string into parts delimited by the given (nonempty) string. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |