PreludeString.append.hs revision e9458b1a7a19a63aa4c179f9ab20f4d50681c168
{- |
Module : ./Haskell/PreludeString.append.hs
Description : the programatica prelude as string
Copyright : (c) Christian Maeder, Uni Bremen 2002-2004
License : GPLv2 or higher, see LICENSE.txt
Maintainer : Christian.Maeder@dfki.de
Stability : experimental
Portability : portable
provide the programatica prelude as a string
-}
module Haskell.PreludeString (preludeDecls) where
import Haskell.HatParser
preludeDecls :: [HsDecl]
preludeDecls = let ts = pLexerPass0 True preludeString
in case parseTokens parse "Haskell/ProgramaticaPrelude.hs" ts of
Just (HsModule _ _ _ _ ds) -> ds
_ -> error "preludeDecls"
preludeString :: String
preludeString =
{- append Haskell/ProgramaticaPrelude.hs by