yuuko 2010.1.23 → 2010.11.5
raw patch · 3 files changed
+26/−6 lines, 3 filesdep +haskell98dep +tagsoupnew-component:exe:yuuko
Dependencies added: haskell98, tagsoup
Files
- changelog.md +2/−1
- src/Main.hs +11/−0
- yuuko.cabal +13/−5
changelog.md view
@@ -1,9 +1,10 @@-2009.1.23+2010.11.5 --------- ### Fix * use hxt < 8.5, not enough time to upgrade+* use tagsoup < 0.8 2009.10.23.2 ------------
+ src/Main.hs view
@@ -0,0 +1,11 @@+module Main where++import Text.HTML.Yuuko+import System++main :: IO ()+main = do+ args <- getArgs+ case args of+ [] -> putStrLn "\n usage: echo '<div>hi</div>' | yuuko //div\n"+ expr:_ -> interact $ unlines . (yuuko expr)
yuuko.cabal view
@@ -1,5 +1,5 @@ Name: yuuko-Version: 2010.1.23+Version: 2010.11.5 Build-type: Simple Synopsis: A transcendental HTML parser gently wrapping the HXT library Description:@@ -14,8 +14,8 @@ License: BSD3 License-file: LICENSE-Author: Wang, Jinjing-Maintainer: Wang, Jinjing <nfjinjing@gmail.com>+Author: Jinjing Wang+Maintainer: Jinjing Wang <nfjinjing@gmail.com> Build-Depends: base Cabal-version: >= 1.2 category: Text@@ -24,8 +24,16 @@ library ghc-options: -Wall- build-depends: base >= 4 && < 5, hxt >= 8.3.2.3 && < 8.5- hs-source-dirs: src/+ build-depends: base >= 4 && < 5, hxt >= 8.3.2.3 && < 8.5, tagsoup <= 0.8+ hs-source-dirs: src/ exposed-modules: Text.HTML.Yuuko Text.HTML.Yuuko.Cookbook+++Executable yuuko+ ghc-options: -Wall+ build-depends: base >= 4 && < 5, hxt >= 8.3.2.3 && < 8.5, tagsoup <= 0.8, haskell98+ hs-source-dirs: src/+ main-is: Main.hs+ other-modules: Text.HTML.Yuuko