Re: Handle error many lazy sequence

2016-05-24 Thread Asim Jalis
Another option: put the try catch inside the inner loop where you are doing the failing operation. > On May 19, 2016, at 5:36 AM, Fluid Dynamics wrote: > >> On Thursday, May 19, 2016 at 7:50:57 AM UTC-4, khairul isan wrote: >> Hello all, >> >> I have problem on handle many

Re: Handle error many lazy sequence

2016-05-19 Thread Fluid Dynamics
On Thursday, May 19, 2016 at 7:50:57 AM UTC-4, khairul isan wrote: > > Hello all, > > I have problem on handle many lazy sequence, > > (try >(for [x [1 2 3 "b"]] > (for [n [1 2 3 4]] > (+ x n))) >(catch Throwable e > (pr-str e))) > > When i handle but error not in catch.

Handle error many lazy sequence

2016-05-19 Thread khairul isan
Hello all, I have problem on handle many lazy sequence, (try (for [x [1 2 3 "b"]] (for [n [1 2 3 4]] (+ x n))) (catch Throwable e (pr-str e))) When i handle but error not in catch. Any solution ? Thanks -- You received this message because you are subscribed to the