gdritter repos ptolemy / 8a34d6b
Fixed import issues in last merge Getty Ritter 8 years ago
2 changed file(s) with 7 addition(s) and 4 deletion(s). Collapse all Expand all
1212 cabal-version: >= 1.2
1313
1414 library
15 -- exposed-modules:
15 exposed-modules:
1616 ghc-options: -Wall
17 build-depends: base >=4.7 && <4.9
17 build-depends: base >=4.7 && <4.9,
18 ptolemy-core,
19 ptolemy-reader-slackdown,
20 ptolemy-writer-html
1821 default-language: Haskell2010
1922 default-extensions: OverloadedStrings,
2023 ScopedTypeVariables
22
33 import Data.Text (Text)
44 import Data.Map.Strict (Map)
5 import Data.Vector (Vector)
5 import Data.Vector (Vector, fromList)
66
77 type Reader = Text -> Either String Ptolemy
88 type Writer = Ptolemy -> Text
2626 deriving (Eq, Show)
2727
2828 vec :: [a] -> Vector a
29 vec = V.fromList
29 vec = fromList
3030
3131 data Block
3232 = Plain Chunk