Commit addfb8e4 authored by Björn Peemöller 's avatar Björn Peemöller
Browse files

Three more test cases

parent 3ddc83c8
------------------------------------------------------------------------------
--- Compiler options for the ID-based curry compiler
---
--- @author Fabian Reck, Bjoern Peemoeller
--- @version June 2011
------------------------------------------------------------------------------
module CompilerOpts ( Options (..), defaultOptions) where
type Options = { optHelp :: Bool }
defaultOptions :: Options
defaultOptions = { optHelp = False }
options :: [Options -> Options]
options = []
parseOpts :: Options
parseOpts = foldl (flip ($)) defaultOptions opts
where opts = options
main = print 1 2 3
main = 1 + True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment