update deps
This commit is contained in:
parent
3aee53faa1
commit
2910daf0c6
4 changed files with 10 additions and 5 deletions
|
@ -14,13 +14,13 @@ common deps
|
|||
NondecreasingIndentation,
|
||||
ViewPatterns
|
||||
build-depends:
|
||||
base >= 4.14.2.0 && < 4.17,
|
||||
base >= 4.14.2.0 && < 4.18,
|
||||
HsYAML ^>= 0.2.1.0,
|
||||
bytestring ^>= 0.10.12.0,
|
||||
bytestring ^>= 0.11.4.0,
|
||||
containers ^>= 0.6.4.1,
|
||||
filemanip,
|
||||
filepath ^>= 1.4.2.1,
|
||||
pandoc-types ^>= 1.22,
|
||||
pandoc-types ^>= 1.23,
|
||||
text ^>= 1.2.4.1,
|
||||
time ^>= 1.9.3
|
||||
ghc-options: -Wall
|
||||
|
|
|
@ -52,6 +52,5 @@ inlineText _ = Nothing
|
|||
blockText :: Block -> Maybe Text
|
||||
blockText (Plain is) = foldMap inlineText is
|
||||
blockText (Para is) = foldMap inlineText is
|
||||
blockText Null = Just ""
|
||||
blockText (RawBlock _ txt) = Just txt
|
||||
blockText _ = Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue