[Haskell-beginners] How to extract from Maybe & Either in GHCi

blackcat at pro-ns.net blackcat at pro-ns.net
Thu Apr 14 00:14:19 CEST 2011

 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?

 Lee Short

More information about the Beginners mailing list