aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2015-05-14 22:21:26 -0400
committereric thul <thul.eric@gmail.com>2015-05-14 22:21:26 -0400
commitd2879ae0b5c3f9d2b73092fcee866ffd48b9e702 (patch)
tree00a768996241a302afa2273c1fde78dfaca2f1da /README.md
parent6ae16483eafbfc33cb8b14bb5845fd28647ca4e1 (diff)
parentfc72dc01dbd79d531ca4aa73ad4e719a40a58f98 (diff)
downloadpurs-loader-d2879ae0b5c3f9d2b73092fcee866ffd48b9e702.tar.gz
purs-loader-d2879ae0b5c3f9d2b73092fcee866ffd48b9e702.tar.zst
purs-loader-d2879ae0b5c3f9d2b73092fcee866ffd48b9e702.zip
Merge branch 'master' of github.com:ethul/purs-loader
Diffstat (limited to 'README.md')
-rw-r--r--README.md47
1 files changed, 35 insertions, 12 deletions
diff --git a/README.md b/README.md
index ee96448..d243381 100644
--- a/README.md
+++ b/README.md
@@ -12,18 +12,41 @@ npm install purs-loader --save-dev
12 12
13## Options 13## Options
14 14
15 - **no-prelude**: Boolean value that toggles `--no-prelude` 15###### `noPrelude` (Boolean)
16 - Do not include the Prelude in the generated Javascript. 16
17 - **no-opts**: Boolean value that toggles `--no-opts` 17Toggles `--no-prelude` that omits the Prelude.
18 - Disable all optimizations. 18
19 - **no-magic-do**: Boolean value that toggles `--no-magic-do` 19###### `noTco` (Boolean)
20 - Turn off optimizations which inline calls to >>= for the Eff monad. 20
21 - **no-tco**: Boolean value that toggles `--no-tco` 21Toggles `--no-tco` that disables tail-call optimizations.
22 - Turn off tail-call elimination. 22
23 - **verbose-errors**: Boolean value that toggles `--verbose-errors` 23###### `noMagicDo` (Boolean)
24 - Generate verbose error messages. 24
25 - **output**: String value that sets `--output=<string>` 25Toggles `--no-magic-do` that disables optimizations overloading the do keyword generating efficient code for the `Eff` monad.
26 - Write the generated Javascript to the specified file. 26
27###### `noOpts` (Boolean)
28
29Toggles `--no-opts` that skips the optimization phase.
30
31###### `verboseErrors` (Boolean)
32
33Toggles `--verbose-errors` that displays verbose error messages.
34
35###### `comments` (Boolean)
36
37Toggles `--comments` that includes comments in generated code.
38
39###### `output` (String)
40
41Sets `--output=<string>` the specifies the output directory, `output` by default.
42
43###### `noPrefix` (Boolean)
44
45Toggles `--no-prefix` that does not include the comment header.
46
47###### `src` (String Array)
48
49Specifies PureScript source paths to be globbed for `.purs` files. By default, `bower_components` is search. Additional paths may be specified using this option. This option is specified as `src[]=path`.
27 50
28## Example 51## Example
29 52