git.iko.soy/typeable/html-parse
on master help sign in
Errata.
9fbd94dMatthias Fischmann
Text/HTML/Tree.hs+1−1
@@ -20,7 +20,7 @@ import Text.HTML.Parser
20
20
21-- | If you want to store additional data into your tree, you can define your own token type and
21-- | If you want to store additional data into your tree, you can define your own token type and
22-- instantiate this class to define a mapping between your type and 'Token'. See
22-- instantiate this class to define a mapping between your type and 'Token'. See
23−-- 'parseTokenForest''.
23+-- 'parseTokenForest'.
24class IsToken a where
24class IsToken a where
25 toToken :: a -> Maybe Token
25 toToken :: a -> Maybe Token
26 fromToken :: Token -> a
26 fromToken :: Token -> a