|
Re: block in recursion, Any cure for that kind of situation?: msg#00100lang.smalltalk.squeak.beginners
You could add an extra parameter that is another block. Use that parameter as the value of carre in the block. something like: f := [:a :ff | a ifTrue: [ff (a not) ff] ] ff: = [:a :ff | a ifTrue: [ff (a not) ff] ] On Jan 22, 2008 9:10 PM, Hilaire Fernandes <hilaire@xxxxxxxxx> wrote: I got an error "Attempt to evaluate a block that is already being _______________________________________________ Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | block in recursion, Any cure for that kind of situation?, Hilaire Fernandes |
|---|---|
| Next by Date: | Re: block in recursion, Any cure for that kind of situation?, Marcin Tustin |
| Previous by Thread: | block in recursion, Any cure for that kind of situation?, Hilaire Fernandes |
| Next by Thread: | Re: block in recursion, Any cure for that kind of situation?, Marcin Tustin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |