on master help sign in
* exporting QuasiQuoters again :-)

Some dependencies went missing, as well as the export of the QuasiQuoter. Here they are again. I have also added the GHC -Wall option to the cabal file because there are still quite a few warnings (especially missing type signatures) in the code.

commitccc9bda258eb55b83d7ea77359bbb1067b7180e8 authorVincent Ambo <v.ambo@me.com> dateTue 29 May 2012, 21:48 (14 years ago) parent85f84bc
2 files changed+14−5
elm/Elm.cabal+9−4 elm/src/Language/Elm.hs+5−1
elm/Elm.cabal+9−4
@@ -29,8 +29,9 @@ source-repository head
2929 location: git://github.com/evancz/Elm.git
3030
3131Library
32− exposed-modules: Language.Elm
33− ghc-options: -O2
32+ exposed-modules: Language.Elm,
33+ Language.Elm.Quasi
34+ ghc-options: -O2 -Wall
3435 Hs-Source-Dirs: src, src/Parse, src/Types
3536 other-modules: Ast,
3637 CompileToJS,
@@ -60,11 +61,15 @@ Library
6061 parsec >= 3.1.1,
6162 blaze-html == 0.5.0.*,
6263 blaze-markup == 0.5.1.*,
63− deepseq
64+ deepseq,
65+ text,
66+ attoparsec >= 0.10,
67+ template-haskell,
68+ haskell-src-meta
6469
6570Executable elm
6671 Main-is: Compiler.hs
67− ghc-options: -O2
72+ ghc-options: -O2 -Wall
6873 Hs-Source-Dirs: src, src/Parse, src/Types
6974 other-modules: Ast,
7075 CompileToJS,
elm/src/Language/Elm.hs+5−1
@@ -8,13 +8,17 @@
88-}
99module Language.Elm (
1010 toHtml,
11− toParts) where
11+ toParts,
12+ elm,
13+ elmFile) where
1214
1315import CompileToJS
1416import ExtractNoscript
1517import GenerateHtml
1618import Initialize
1719import Text.Blaze.Html (Html)
20+import Language.Elm.Quasi
21+
1822
1923-- |This function compiles Elm code into a full HTML page.
2024--