Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Ken Wesson
On Sat, Jan 8, 2011 at 5:15 PM, Stuart Halloway wrote: > Scopes will not make dynamic bindings linger in lazy seqs. Agreed that is a > terrible idea. In other words scopes would have only half-solved the problem anyway? Ack. -- You received this message because you are subscribed to the Google

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Stuart Halloway
> On Sat, Jan 8, 2011 at 3:11 PM, Laurent PETIT wrote: >> 2011/1/8 Ken Wesson >>> >>> On Sat, Jan 8, 2011 at 2:09 PM, Laurent PETIT >>> wrote: 2011/1/8 Ken Wesson > > On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway > wrote: >> One goal of resource scopes [1] is to help

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Laurent PETIT
2011/1/8 Ken Wesson > On Sat, Jan 8, 2011 at 3:11 PM, Laurent PETIT > wrote: > > 2011/1/8 Ken Wesson > >> > >> On Sat, Jan 8, 2011 at 2:09 PM, Laurent PETIT > >> wrote: > >> > 2011/1/8 Ken Wesson > >> >> > >> >> On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway > >> >> wrote: > >> >> > One go

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Ken Wesson
On Sat, Jan 8, 2011 at 3:11 PM, Laurent PETIT wrote: > 2011/1/8 Ken Wesson >> >> On Sat, Jan 8, 2011 at 2:09 PM, Laurent PETIT >> wrote: >> > 2011/1/8 Ken Wesson >> >> >> >> On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway >> >> wrote: >> >> > One goal of resource scopes [1] is to help with sc

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Laurent PETIT
2011/1/8 Ken Wesson > On Sat, Jan 8, 2011 at 2:09 PM, Laurent PETIT > wrote: > > 2011/1/8 Ken Wesson > >> > >> On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway > >> wrote: > >> > One goal of resource scopes [1] is to help with scoping activities at > >> > the REPL. That said, I think this is a

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Ken Wesson
On Sat, Jan 8, 2011 at 2:09 PM, Laurent PETIT wrote: > 2011/1/8 Ken Wesson >> >> On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway >> wrote: >> > One goal of resource scopes [1] is to help with scoping activities at >> > the REPL. That said, I think this is a "ramping up" problem -- I rarely if >

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Nicolas Buduroi
On Jan 8, 12:25 pm, Brian Goslinga wrote: > I find that if your code is functional, laziness works quite well > (except for the rare expensive function + chunking problem). > > Perhaps your code isn't very functional? (your mention of binding > suggests that) That's a valid observation, most of t

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Nicolas Buduroi
Didn't knew about scope, it looks like an interesting feature. Still as you point this is pretty much a problem BKAC! On Jan 8, 12:33 pm, Stuart Halloway wrote: > One goal of resource scopes [1] is to help with scoping activities at the > REPL. That said, I think this is a "ramping up" problem -

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Laurent PETIT
2011/1/8 Ken Wesson > On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway > wrote: > > One goal of resource scopes [1] is to help with scoping activities at the > REPL. That said, I think this is a "ramping up" problem -- I rarely if ever > hit it anymore. > > > > Stu > > > > [1] http://dev.clojure

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Ken Wesson
On Sat, Jan 8, 2011 at 12:33 PM, Stuart Halloway wrote: > One goal of resource scopes [1] is to help with scoping activities at the > REPL. That said, I think this is a "ramping up" problem -- I rarely if ever > hit it anymore. > > Stu > > [1] http://dev.clojure.org/display/design/Resource+Scope

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Stuart Halloway
One goal of resource scopes [1] is to help with scoping activities at the REPL. That said, I think this is a "ramping up" problem -- I rarely if ever hit it anymore. Stu [1] http://dev.clojure.org/display/design/Resource+Scopes > I've been doing a lot of Clojure lately and, of all thing, > col

Re: REPL+Laziness: the worst combination ever!

2011-01-08 Thread Brian Goslinga
On Jan 7, 7:03 pm, Nicolas Buduroi wrote: > I've been doing a lot of Clojure lately and, of all thing, > collection's laziness coupled with a REPL is what makes me loose the > most time. I really love having laziness built-in by default and I'm a > REPL-driven development addict, but sometimes I j

Re: REPL+Laziness: the worst combination ever!

2011-01-07 Thread Alan
I do this too on occasion, and my opinion is: better to chase them in the REPL than in deployed code, because the same problem would usually come up there. On Jan 7, 5:03 pm, Nicolas Buduroi wrote: > I've been doing a lot of Clojure lately and, of all thing, > collection's laziness coupled with a

REPL+Laziness: the worst combination ever!

2011-01-07 Thread Nicolas Buduroi
I've been doing a lot of Clojure lately and, of all thing, collection's laziness coupled with a REPL is what makes me loose the most time. I really love having laziness built-in by default and I'm a REPL-driven development addict, but sometimes I just loose minutes (if not hours) chasing imaginary