Use the maybe function from Data.Maybe.
I've got some values in GHCi that look like
Just (Left (Blah [stuff]))
and I'd like to pull out the (Blah [stuff]) to operate on it. Is there a way to do this directly in GHCi without writing a helper function?
thanks
Lee Short
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners