aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/PursLoader/Plugin.md
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2016-03-12 14:33:55 -0500
committereric thul <thul.eric@gmail.com>2016-03-12 14:33:55 -0500
commit845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734 (patch)
treef27800de3576466ea4d5502d9adb9cd57a583715 /docs/PursLoader/Plugin.md
parent87145c4d29e9ab45d04c62d19e8697527728549f (diff)
downloadpurs-loader-845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734.tar.gz
purs-loader-845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734.tar.zst
purs-loader-845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734.zip
Handling dependencies
Diffstat (limited to 'docs/PursLoader/Plugin.md')
-rw-r--r--docs/PursLoader/Plugin.md20
1 files changed, 1 insertions, 19 deletions
diff --git a/docs/PursLoader/Plugin.md b/docs/PursLoader/Plugin.md
index 26e3f26..7a524da 100644
--- a/docs/PursLoader/Plugin.md
+++ b/docs/PursLoader/Plugin.md
@@ -1,15 +1,9 @@
1## Module PursLoader.Plugin 1## Module PursLoader.Plugin
2 2
3#### `Result`
4
5``` purescript
6type Result = { srcMap :: ImmutableMap String String, ffiMap :: ImmutableMap String String, graph :: DependencyGraph }
7```
8
9#### `Compile` 3#### `Compile`
10 4
11``` purescript 5``` purescript
12type Compile eff = Nullable Error -> Result -> Eff eff Unit 6type Compile eff = Nullable Error -> DependencyGraph -> Eff eff Unit
13``` 7```
14 8
15#### `Context` 9#### `Context`
@@ -24,24 +18,12 @@ type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options
24type Options = { bundle :: Boolean, output :: String, bundleOutput :: String } 18type Options = { bundle :: Boolean, output :: String, bundleOutput :: String }
25``` 19```
26 20
27#### `get`
28
29``` purescript
30get :: forall key value. ImmutableMap key value -> key -> Maybe value
31```
32
33#### `dependenciesOf` 21#### `dependenciesOf`
34 22
35``` purescript 23``` purescript
36dependenciesOf :: DependencyGraph -> String -> Either Error (Array String) 24dependenciesOf :: DependencyGraph -> String -> Either Error (Array String)
37``` 25```
38 26
39#### `ImmutableMap`
40
41``` purescript
42data ImmutableMap :: * -> * -> *
43```
44
45#### `DependencyGraph` 27#### `DependencyGraph`
46 28
47``` purescript 29``` purescript