Module CurryInterface.Files

This library defines operations to read Curry interfaces.

Version: September 2024

Summary of exported operations:

readCurryInterface :: String -> IO Interface  Deterministic 
I/O action which parses a Curry interface and returns it as a data structure.
readCurryInterfaceWithParseOptions :: String -> FrontendParams -> IO Interface  Deterministic 
I/O action which reads a Curry interface from a file (with extension .icurry) with respect to some parser options.
curryInterfaceFileName :: String -> String  Deterministic 
Transforms a name of a Curry program (with or without suffix ".curry" or ".lcurry") into the name of the file containing the Curry interface.
readCurryInterfaceFile :: String -> IO Interface  Deterministic 
I/O action which reads a Curry interface from a file in .icurry format.

Exported operations:

readCurryInterface :: String -> IO Interface  Deterministic 

I/O action which parses a Curry interface and returns it as a data structure. The argument is the module name (without suffix ".curry" or ".lcurry").

readCurryInterfaceWithParseOptions :: String -> FrontendParams -> IO Interface  Deterministic 

I/O action which reads a Curry interface from a file (with extension .icurry) with respect to some parser options.

curryInterfaceFileName :: String -> String  Deterministic 

Transforms a name of a Curry program (with or without suffix ".curry" or ".lcurry") into the name of the file containing the Curry interface.

readCurryInterfaceFile :: String -> IO Interface  Deterministic 

I/O action which reads a Curry interface from a file in .icurry format.