aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2016-03-06 11:47:39 -0500
committereric thul <thul.eric@gmail.com>2016-03-06 11:47:39 -0500
commit1c49c88ed60341341ab2b82aba738e8fc1179941 (patch)
tree7e9aa26412c4b907e6432a879dd4b5fd5634b687 /docs
parent17f22f868b851e50081844562627a7a8a414dcaa (diff)
downloadpurs-loader-1c49c88ed60341341ab2b82aba738e8fc1179941.tar.gz
purs-loader-1c49c88ed60341341ab2b82aba738e8fc1179941.tar.zst
purs-loader-1c49c88ed60341341ab2b82aba738e8fc1179941.zip
Writes PureScript output to stderr
Resolves #40
Diffstat (limited to 'docs')
-rw-r--r--docs/PursLoader/Loader.md12
-rw-r--r--docs/PursLoader/Plugin.md2
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
6type Effects eff = (loader :: Loader | eff) 6type Effects eff = (console :: CONSOLE, err :: EXCEPTION | eff)
7```
8
9#### `Effects_`
10
11``` purescript
12type Effects_ eff = Effects (loader :: Loader | eff)
7``` 13```
8 14
9#### `loader` 15#### `loader`
10 16
11``` purescript 17``` purescript
12loader :: forall eff. LoaderRef -> String -> Eff (Effects eff) Unit 18loader :: forall eff. LoaderRef -> String -> Eff (Effects_ eff) Unit
13``` 19```
14 20
15#### `loaderFn` 21#### `loaderFn`
16 22
17``` purescript 23``` purescript
18loaderFn :: forall eff. Fn2 LoaderRef String (Eff (Effects eff) Unit) 24loaderFn :: 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 9abec4d..645c41b 100644
--- a/docs/PursLoader/Plugin.md
+++ b/docs/PursLoader/Plugin.md
@@ -3,7 +3,7 @@
3#### `Result` 3#### `Result`
4 4
5``` purescript 5``` purescript
6type Result = { srcMap :: ImmutableMap String String, ffiMap :: ImmutableMap String String, graph :: DependencyGraph } 6type Result = { srcMap :: ImmutableMap String String, ffiMap :: ImmutableMap String String, graph :: DependencyGraph, output :: String }
7``` 7```
8 8
9#### `Compile` 9#### `Compile`