Out of simple curiosity I wondered how hard it would be to implement flow
control using proxy. I know Rich isn't hot on non-structured programming,
but there may be times where this might be useful:
(ns flow.return-from
(:import (flow IReturnFrom)))
(defn create-return-from
[value]
(proxy [T
Hi,
Am 05.04.2009 um 06:59 schrieb David Sletten:
My example is decidedly non-functional (I don't really like that
term...My code works--it does function! :-) ).
Maybe one should use non-functional for - well - non-functional
code and disfunctional for not working code?
I was more curious
On Apr 4, 2009, at 6:18 PM, Mark Triggs wrote:
>
> Hi David,
>
> Quite a few times when I've felt the need for this sort of thing I've
> found that laziness comes to the rescue. Would something like this
> sort of approach work for you?
>
> (defn possibilities [word pos]
> "All variations of
I didn't take time to read your post in detail because I'm on my way
to bed and my brain has already checked out.
However, as I've gotten better at Clojure and functional programming,
I find I use loops less and less. I just got done putting the
finishing touches on a package to analyse stock ch
Hi David,
Quite a few times when I've felt the need for this sort of thing I've
found that laziness comes to the rescue. Would something like this
sort of approach work for you?
(defn possibilities [word pos]
"All variations of `word' with letters from 'a' to 'z' inserted at
`pos'"
(let [[b