packages feed

nptools 0.2.2 → 0.3.0

raw patch · 2 files changed

+1/−16 lines, 2 files

Files

nptools.cabal view
@@ -1,6 +1,6 @@ Name:           nptools Cabal-Version:  >=1.4-Version:        0.2.2+Version:        0.3.0 License:        BSD3 License-File:   LICENSE Copyright:      (c) Nicolas Pouillard@@ -74,11 +74,6 @@  executable summ     main-is: summ.hs-    Build-depends: base>=3&&<5-    ghc-options: -Wall -Odph--executable tac-    main-is: tac.hs     Build-depends: base>=3&&<5     ghc-options: -Wall -Odph 
− tac.hs
@@ -1,10 +0,0 @@-import qualified Data.ByteString.Char8 as S-import System.Environment-import Control.Monad--main :: IO ()-main = do args <- getArgs-          when (null args)  $ tac =<< S.getContents-          forM_ args        $ tac <=< S.readFile-  where tac  = S.putStr . S.intercalate nl . reverse . S.split '\n'-        nl   = S.pack "\n"