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

Documentation

parent d1f61cd1
{- |
Module : $Header$
Description : Build tool for compiling multiple Curry modules
Copyright : (c) 2005, Martin Engelke (men@informatik.uni-kiel.de)
Copyright : (c) 2005, Martin Engelke (men@informatik.uni-kiel.de)
2007, Sebastian Fischer (sebf@informatik.uni-kiel.de)
2011, Björn Peemöller (bjp@informatik.uni-kiel.de)
2011, Björn Peemöller (bjp@informatik.uni-kiel.de)
License : OtherLicense
Maintainer : bjp@informatik.uni-kiel.de
......@@ -46,6 +46,7 @@ buildCurry opts str = do
| null $ optTargetTypes opt = opt { optTargetTypes = [FlatCurry] }
| otherwise = opt
-- |Search for a compilation target identified by the given 'String'.
findCurry :: Options -> String -> IO (Either String FilePath)
findCurry opts str = do
mbTarget <- fileSearch `orIfNotFound` moduleSearch
......@@ -164,4 +165,4 @@ errMissingTarget :: String -> String
errMissingTarget f = "Missing target \"" ++ f ++ "\""
errUnrecognized :: String -> String
errUnrecognized f = "Unrecognized input \"" ++ f ++ "\""
\ No newline at end of file
errUnrecognized f = "Unrecognized input \"" ++ f ++ "\""
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