appendHaskellPreludeString.hs revision 7b886e840402df85d5d3366b3f675b4c2cc1d2dd
{- |
Module : appendHaskellPreludeString.hs
Copyright : (c) Christian Maeder, Uni Bremen 2002-2004
License : similar to LGPL, see HetCATS/LICENSE.txt or LIZENZ.txt
Maintainer : Christian.Maeder@dfki.de
Stability : experimental
Portability : portable
append a haskell Prelude string for programatica analysis
-}
module Main where
import System.Environment
main :: IO ()
main = do
l <- getArgs
preludeString <- readFile $ case l of
[] -> "Haskell/ProgramaticaPrelude.hs"
h : _ -> h
str <- getContents
putStrLn $ str ++ "\n " ++ show preludeString