Only get the first parse result, makes things easier to see
This commit is contained in:
@@ -4,5 +4,5 @@ import MdToHTML
|
|||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
let res = leftmostLongestParse parseLine "## Hello ___world___"
|
let res = fst $ leftmostLongestParse parseDocument "# _Hello_\n\n # Hello"
|
||||||
putStrLn (show res)
|
putStrLn (show res)
|
||||||
|
Reference in New Issue
Block a user