-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOptions.hs
More file actions
20 lines (15 loc) · 724 Bytes
/
Options.hs
File metadata and controls
20 lines (15 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module Options ( Options(..), PureMain, PureMultiMain )
where
import qualified Types as T (WInt, Err)
import qualified Lisp as L (LispVal)
data Options = Options { optVerbose :: Bool
, optInputFormat :: String
, optOutputFormat :: String
, optMaxDiv :: [T.WInt]
, optForbiddenDivs :: [[T.WInt]]
, optTimeSignatures :: L.LispVal
, optMetronomes :: L.LispVal
, optMeasureSiblingMerge :: Bool
}
type PureMain = Options -> String -> T.Err String
type PureMultiMain = Options -> [String] -> T.Err [String]