Copyright | (c) 2014 Björn Peemöller 2017 Finn Teegen |
---|---|
License | BSD-3-clause |
Maintainer | bjp@informatik.uni-kiel.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module contains functions for reading and writing FlatCurry files.
Synopsis
- readTypedFlatCurry :: FilePath -> IO (Maybe (AProg TypeExpr))
- readFlatCurry :: FilePath -> IO (Maybe Prog)
- readFlatInterface :: FilePath -> IO (Maybe Prog)
- writeFlatCurry :: Show a => FilePath -> a -> IO ()
Documentation
readTypedFlatCurry :: FilePath -> IO (Maybe (AProg TypeExpr)) Source #
Reads an typed FlatCurry file (extension ".tfcy") and eventually
returns the corresponding FlatCurry program term (type AProg
).
readFlatCurry :: FilePath -> IO (Maybe Prog) Source #
Reads a FlatCurry file (extension ".fcy") and eventually returns the
corresponding FlatCurry program term (type Prog
).