aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Options.purs
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2015-12-20 22:11:16 -0500
committereric thul <thul.eric@gmail.com>2015-12-20 22:11:16 -0500
commit2e2da2be94720a739c595ec179a7ed49480ce753 (patch)
tree9b1b4763ca5e05d9211fec771df09ec29fb9fb34 /src/PursLoader/Options.purs
parent94cc1cdd03b9c2115813a698b1e4337bce894321 (diff)
downloadpurs-loader-2e2da2be94720a739c595ec179a7ed49480ce753.tar.gz
purs-loader-2e2da2be94720a739c595ec179a7ed49480ce753.tar.zst
purs-loader-2e2da2be94720a739c595ec179a7ed49480ce753.zip
Fixing compiler warnings
Diffstat (limited to 'src/PursLoader/Options.purs')
-rw-r--r--src/PursLoader/Options.purs15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/PursLoader/Options.purs b/src/PursLoader/Options.purs
index 1650652..3657d1a 100644
--- a/src/PursLoader/Options.purs
+++ b/src/PursLoader/Options.purs
@@ -6,37 +6,48 @@ module PursLoader.Options
6 , output 6 , output
7 ) where 7 ) where
8 8
9import Prelude (Unit(), (<>), (<$>), (<<<), (++), (<*>), ($), const, id) 9import Prelude ((<>), (<$>), (<<<), (++), (<*>), ($), const, id)
10 10
11import Data.Array (concat) 11import Data.Array (concat)
12import Data.Either (either) 12import Data.Either (either)
13 13
14import Data.Foreign (Foreign(), F()) 14import Data.Foreign (Foreign())
15import Data.Foreign.Class (IsForeign, read, readProp) 15import Data.Foreign.Class (IsForeign, read, readProp)
16import Data.Foreign.NullOrUndefined (NullOrUndefined(..), runNullOrUndefined) 16import Data.Foreign.NullOrUndefined (NullOrUndefined(..), runNullOrUndefined)
17 17
18import Data.Maybe (Maybe(..), maybe, fromMaybe) 18import Data.Maybe (Maybe(..), maybe, fromMaybe)
19 19
20noPreludeOpt :: String
20noPreludeOpt = "no-prelude" 21noPreludeOpt = "no-prelude"
21 22
23noOptsOpt :: String
22noOptsOpt = "no-opts" 24noOptsOpt = "no-opts"
23 25
26noMagicDoOpt :: String
24noMagicDoOpt = "no-magic-do" 27noMagicDoOpt = "no-magic-do"
25 28
29noTcoOpt :: String
26noTcoOpt = "no-tco" 30noTcoOpt = "no-tco"
27 31
32verboseErrorsOpt :: String
28verboseErrorsOpt = "verbose-errors" 33verboseErrorsOpt = "verbose-errors"
29 34
35outputOpt :: String
30outputOpt = "output" 36outputOpt = "output"
31 37
38commentsOpt :: String
32commentsOpt = "comments" 39commentsOpt = "comments"
33 40
41noPrefixOpt :: String
34noPrefixOpt = "no-prefix" 42noPrefixOpt = "no-prefix"
35 43
44requirePathOpt :: String
36requirePathOpt = "require-path" 45requirePathOpt = "require-path"
37 46
47srcOpt :: String
38srcOpt = "src" 48srcOpt = "src"
39 49
50ffiOpt :: String
40ffiOpt = "ffi" 51ffiOpt = "ffi"
41 52
42newtype Options 53newtype Options