Home
last modified time | relevance | path

Searched refs:removeClosingHash (Results 1 – 3 of 3) sorted by relevance

/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/commonmark-0.1.1.4/src/Commonmark/
H A DBlocks.hs650 let removeClosingHash (_ :: Int) [] = [] function
651 removeClosingHash 0 (Tok Spaces _ _ : xs) =
652 removeClosingHash 0 xs
653 removeClosingHash _ (Tok (Symbol '#') _ _ :
656 removeClosingHash _ (Tok (Symbol '#') _ _ : xs) =
657 removeClosingHash 1 xs
658 removeClosingHash 1 (Tok Spaces _ _ : xs) = xs function
659 removeClosingHash 1 (x:_)
661 removeClosingHash _ xs = xs function
662 let raw' = reverse . removeClosingHash 0 . reverse $ raw
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/commonmark-0.1.1.4/src/Commonmark/
H A DBlocks.hs650 let removeClosingHash (_ :: Int) [] = [] function
651 removeClosingHash 0 (Tok Spaces _ _ : xs) =
652 removeClosingHash 0 xs
653 removeClosingHash _ (Tok (Symbol '#') _ _ :
656 removeClosingHash _ (Tok (Symbol '#') _ _ : xs) =
657 removeClosingHash 1 xs
658 removeClosingHash 1 (Tok Spaces _ _ : xs) = xs function
659 removeClosingHash 1 (x:_)
661 removeClosingHash _ xs = xs function
662 let raw' = reverse . removeClosingHash 0 . reverse $ raw
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/commonmark-0.2.1/src/Commonmark/
H A DBlocks.hs652 let removeClosingHash (_ :: Int) [] = [] function
653 removeClosingHash 0 (Tok Spaces _ _ : xs) =
654 removeClosingHash 0 xs
655 removeClosingHash _ (Tok (Symbol '#') _ _ :
658 removeClosingHash _ (Tok (Symbol '#') _ _ : xs) =
659 removeClosingHash 1 xs
660 removeClosingHash 1 (Tok Spaces _ _ : xs) = xs function
661 removeClosingHash 1 (x:_)
663 removeClosingHash _ xs = xs function
664 let raw' = reverse . removeClosingHash 0 . reverse $ raw