On 30 April 2011 01:10, aditya siram <aditya.siram@gmail.com> wrote:
 I didn't like using 'fromJust' but I don't see how it
 can throw an exception in this case.
 
λ> catMaybes [Just 1,Nothing,Just 2]
[1,2]