diff options
author | eric <thul.eric@gmail.com> | 2016-03-12 14:56:34 -0500 |
---|---|---|
committer | eric <thul.eric@gmail.com> | 2016-03-12 14:56:34 -0500 |
commit | 7c6f8623b2448e9a371d6c7964493e365843004c (patch) | |
tree | 5079dcf661e96520e9b37562b47ab4d83bc7496a /docs/PursLoader | |
parent | 55120f4502cb76e768f60654f3937db809df8ade (diff) | |
parent | cb2f4c886fd1057fbf0511b46cab3489123ced23 (diff) | |
download | purs-loader-7c6f8623b2448e9a371d6c7964493e365843004c.tar.gz purs-loader-7c6f8623b2448e9a371d6c7964493e365843004c.tar.zst purs-loader-7c6f8623b2448e9a371d6c7964493e365843004c.zip |
Merge pull request #42 from ethul/topic/stderr
Writes PureScript output to stderr
Diffstat (limited to 'docs/PursLoader')
-rw-r--r-- | docs/PursLoader/Loader.md | 12 | ||||
-rw-r--r-- | docs/PursLoader/Plugin.md | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/docs/PursLoader/Loader.md b/docs/PursLoader/Loader.md index bb02470..d05e3b7 100644 --- a/docs/PursLoader/Loader.md +++ b/docs/PursLoader/Loader.md | |||
@@ -3,19 +3,25 @@ | |||
3 | #### `Effects` | 3 | #### `Effects` |
4 | 4 | ||
5 | ``` purescript | 5 | ``` purescript |
6 | type Effects eff = (loader :: Loader | eff) | 6 | type Effects eff = (console :: CONSOLE, err :: EXCEPTION | eff) |
7 | ``` | ||
8 | |||
9 | #### `Effects_` | ||
10 | |||
11 | ``` purescript | ||
12 | type Effects_ eff = Effects (loader :: Loader | eff) | ||
7 | ``` | 13 | ``` |
8 | 14 | ||
9 | #### `loader` | 15 | #### `loader` |
10 | 16 | ||
11 | ``` purescript | 17 | ``` purescript |
12 | loader :: forall eff. LoaderRef -> String -> Eff (Effects eff) Unit | 18 | loader :: forall eff. LoaderRef -> String -> Eff (Effects_ eff) Unit |
13 | ``` | 19 | ``` |
14 | 20 | ||
15 | #### `loaderFn` | 21 | #### `loaderFn` |
16 | 22 | ||
17 | ``` purescript | 23 | ``` purescript |
18 | loaderFn :: forall eff. Fn2 LoaderRef String (Eff (Effects eff) Unit) | 24 | loaderFn :: forall eff. Fn2 LoaderRef String (Eff (Effects_ eff) Unit) |
19 | ``` | 25 | ``` |
20 | 26 | ||
21 | 27 | ||
diff --git a/docs/PursLoader/Plugin.md b/docs/PursLoader/Plugin.md index 7a524da..9f9f852 100644 --- a/docs/PursLoader/Plugin.md +++ b/docs/PursLoader/Plugin.md | |||
@@ -3,7 +3,7 @@ | |||
3 | #### `Compile` | 3 | #### `Compile` |
4 | 4 | ||
5 | ``` purescript | 5 | ``` purescript |
6 | type Compile eff = Nullable Error -> DependencyGraph -> Eff eff Unit | 6 | type Compile eff = Nullable Error -> DependencyGraph -> String -> Eff eff Unit |
7 | ``` | 7 | ``` |
8 | 8 | ||
9 | #### `Context` | 9 | #### `Context` |