Re: Help! Migrating to 1.3.0

2012-01-15 Thread Ben Smith-Mannschott
On Sun, Jan 15, 2012 at 01:37, James Reeves wrote: > On 14 January 2012 23:34, myriam abramson wrote: >> I couldn't find quite the equivalent to read-lines from duck-streams. I >> found read-line but it's not the same. Where is the equivalent read-lines >> outside of clojure.contrib? > > There's

Re: Help! Migrating to 1.3.0

2012-01-14 Thread James Reeves
On 14 January 2012 23:34, myriam abramson wrote: > I couldn't find quite the equivalent to read-lines from duck-streams. I > found read-line but it's not the same. Where is the equivalent read-lines > outside of clojure.contrib? There's clojure.core/line-seq, but it doesn't close the reader when

Re: Help! Migrating to 1.3.0

2012-01-14 Thread myriam abramson
I couldn't find quite the equivalent to read-lines from duck-streams. I found read-line but it's not the same. Where is the equivalent read-lines outside of clojure.contrib? On Fri, Jan 13, 2012 at 9:51 PM, Stephen Compall wrote: > On Fri, Jan 13, 2012 at 11:47 AM, wrote: > > Warning: *default

Re: Help! Migrating to 1.3.0

2012-01-13 Thread Stephen Compall
On Fri, Jan 13, 2012 at 11:47 AM, wrote: > Warning: *default-encoding* not declared dynamic and thus is not dynamically > rebindable, but its name suggests otherwise. Please either indicate More indirectly, stop using clojure-contrib and move to http://dev.clojure.org/display/design/Where+Did+Cl

Re: Help! Migrating to 1.3.0

2012-01-13 Thread Softaddicts
Add meta data in your definitions as in (def ^{:dynamic true} *earmuff* Luc > I have a few issues. What do the following warnings mean and what should I > do about them? > > user=> (require 'mypackage) > Warning: *default-encoding* not declared dynamic and thus is not > dynamically re

Re: Help! Migrating to 1.3.0

2012-01-13 Thread Ben Smith-Mannschott
On Fri, Jan 13, 2012 at 17:47, wrote: > I have a few issues. What do the following warnings mean and what should I > do about them? Did you read them? "*default-encoding* not declared dynamic and thus is not dynamically rebindable" ;; wont' work: (binding [*default-encoding* some-value] (do-

Re: Help! Migrating to 1.3.0

2012-01-13 Thread vitalyper
Have seen this as well. For efficiency sake 1.3.0 requires :dynamic meta for convention based ear-muffed vars (intended for rebinding). The warning actually is quite descriptive if you think about it. See more in-depth discussion at http://blog.japila.pl/2011/03/cant-dynamically-bind-non-dynamic-va

Help! Migrating to 1.3.0

2012-01-13 Thread labwork07
I have a few issues. What do the following warnings mean and what should I do about them? user=> (require 'mypackage) Warning: *default-encoding* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *default-encoding*