Where is ltrim?

2012-01-03 Thread Cedric Greevey
The clojure.string namespace has replaced clojure.contrib.str-utils and clojure.contrib.str-utils2. There's a problem, though: the str-utils2/ltrim function seems to be missing. This is a breaking change for some code I'm porting from 1.2 to 1.3. Where is that function now? -- You received this

Re: Where is ltrim?

2012-01-03 Thread James Reeves
On 3 January 2012 11:06, Cedric Greevey cgree...@gmail.com wrote: There's a problem, though: the str-utils2/ltrim function seems to be missing. This is a breaking change for some code I'm porting from 1.2 to 1.3. Where is that function now? clojure.string/triml I believe. - James -- You

Re: Where is ltrim?

2012-01-03 Thread Cedric Greevey
On Tue, Jan 3, 2012 at 6:11 AM, James Reeves jree...@weavejester.com wrote: On 3 January 2012 11:06, Cedric Greevey cgree...@gmail.com wrote: There's a problem, though: the str-utils2/ltrim function seems to be missing. This is a breaking change for some code I'm porting from 1.2 to 1.3. Where

Re: Where is ltrim?

2012-01-03 Thread Meikel Brandmeyer
Hi, Am 03.01.2012 um 12:16 schrieb Cedric Greevey: Breaking changes are bad enough without making some of them gratuitous. They could have just renamed the namespace without also renaming some of the individual functions. :) One could also argue the other way around: When we break things

Re: Where is ltrim?

2012-01-03 Thread Ben Smith-Mannschott
On Tue, Jan 3, 2012 at 16:09, Meikel Brandmeyer m...@kotka.de wrote: Hi, Am 03.01.2012 um 12:16 schrieb Cedric Greevey: Breaking changes are bad enough without making some of them gratuitous. They could have just renamed the namespace without also renaming some of the individual functions.