git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
A few more documentation fixes
commit8c97c1cb2bceeaeb536484c48fbf673cf1aedfc8 authorPhil Freeman <paf31@cantab.net> dateThu 3 Apr 2014, 14:19 (13 years ago) parente0e5169
1 file changed+3−3
docs/source/intro.rst+3−3
docs/source/intro.rst+3−3
@@ -46,9 +46,9 @@ The following options are supported:
4646--runtime-type-checks Generate simple runtime type checks for function arguments with simple types.
4747--no-tco Turn off tail-call elimination.
4848--no-prelude Do not include the Prelude in the generated Javascript.
49−--no-magic-do Turn off optimizations which inline calls to `>>=` for the `Eff` monad.
49+--no-magic-do Turn off optimizations which inline calls to ``>>=`` for the ``Eff`` monad.
5050--no-opts Disable all optimizations.
51−--main Generate a call to `main` in the specified module after all other generated Javascript. Defaults to `Main` if the option is used but no value is provided.
51+--main Generate a call to ``main`` in the specified module after all other generated Javascript. Defaults to ``Main`` if the option is used but no value is provided.
5252--module If specified, any code which is not referenced transitively from this module will be removed. This argument can be used multiple times.
5353--codegen A list of modules for which Javascript and externs should be generated. This argument can be used multiple times.
5454--browser-namespace Specify the namespace that PureScript modules will be exported to when running in the browser.
@@ -97,7 +97,7 @@ The following command will compile and execute the PureScript code above::
9797Another Example
9898---------------
9999
100−The following code defines a `Person` data type and a function to generate a string representation for a `Person`::
100+The following code defines a ``Person`` data type and a function to generate a string representation for a ``Person``::
101101
102102 data Person = Person { name :: String, age :: Number }
103103