Hi,
I've implemented a Neural Net simulator which needs to repeat a training loop
many times. For this I used a while function: while test body = do
(cond,res) <- body
if (test cond) then do rs <- while test body
retur
Hi,
I've implemented a Neural Net simulator which needs to repeat a training loop
many times. For this I used a while function: while test body = do
(cond,res) <- body
if (test cond) then do rs <- while test body
return
Hi,
On Thu, 17 Jun 2004 21:19:17 +1200, Vivian McPhail <[EMAIL PROTECTED]> wrote:
Hi,
I've implemented a Neural Net simulator which needs to repeat a training loop many times.
It seams we are doing the same thing. I will share my one quite soon.
For this I used a while function:
while test body = d
while test body = do
(cond,res) <- body
if (test cond) then do rs <- while test body
return (res:rs)
else return [res]
do you need the monad here? what monad is it?
the problem could to be that the "return
On Thursday 17 June 2004 12:39, Johannes Waldmann wrote:
> > while test body = do
> > (cond,res) <- body
> > if (test cond) then do rs <- while test body
> > return (res:rs)
> > else return [res]
>
> do you
Hello,
Vivian uses this while function:
while test body = do
(cond,res) <- body
if (test cond) then do rs <- while test body
return (res:rs)
else return [res]
> However, when I run the program, the interp
An interesting paper on Monads and Recursion is
"Merging Monads and Folds for Functional Programming"
Erik Meijer and Johan Jeuring
best regards,
gustavo
Peter Robinson said:
> On Thursday 17 June 2004 12:39, Johannes Waldmann wrote:
>> > while test body = do
>> > (cond,res) <-
TECTED]
ise.net.nz> cc:
Sent by: Subject: [Haskell] Mona
Vivian McPhail wrote:
Hi,
I've implemented a Neural Net simulator which needs to repeat a training loop many times. For this I used a while function:
while test body = do
(cond,res) <- body
if (test cond) then do rs <- while test body