On Dec 26, 2007 12:42 PM, Benja Fallenstein <[EMAIL PROTECTED]> wrote: > parseHeader :: BS.ByteString -> Maybe (Int,Int) > parseHeader = evalStateT $ liftM2 (,) parseInt parseInt where > parseInt = StateT $ BS.readInt . BS.dropWhile (not . isDigit)
(oh, I missed Conal's mail which says the same thing) - Benja _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
