git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
A few more documentation fixes
8c97c1cPhil Freeman
docs/source/intro.rst+3−3
@@ -46,9 +46,9 @@ The following options are supported:
46--runtime-type-checks Generate simple runtime type checks for function arguments with simple types.
46--runtime-type-checks Generate simple runtime type checks for function arguments with simple types.
47--no-tco Turn off tail-call elimination.
47--no-tco Turn off tail-call elimination.
48--no-prelude Do not include the Prelude in the generated Javascript.
48--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.
50--no-opts Disable all optimizations.
50--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.
52--module If specified, any code which is not referenced transitively from this module will be removed. This argument can be used multiple times.
52--module If specified, any code which is not referenced transitively from this module will be removed. This argument can be used multiple times.
53--codegen A list of modules for which Javascript and externs should be generated. This argument can be used multiple times.
53--codegen A list of modules for which Javascript and externs should be generated. This argument can be used multiple times.
54--browser-namespace Specify the namespace that PureScript modules will be exported to when running in the browser.
54--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::
97Another Example
97Another Example
98---------------
98---------------
99
99
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``::
101
101
102 data Person = Person { name :: String, age :: Number }
102 data Person = Person { name :: String, age :: Number }
103
103