> >Also, since users think of job 
> >IDs as numbers but they are a special type in Ganeti, why not 
> 
>  > mapM_ (print . (right $ map (left fromJobId))) submitted 
> 
> Actually, I didn't understand  that string. My Haskell is not so good yet. 
> But I've found alternative solution to this problem.

Don't worry. That string actually contained 2 typos. Instead of left and right
it should be first and second from Control.Arrow.

The library documentation can be found at 
http://hackage.haskell.org/package/base-4.7.0.1/docs/Control-Arrow.html
and the original paper at http://www.cse.chalmers.se/~rjmh/Papers/arrows.pdf


-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to