Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 0e29451

Browse files
authored
Merge pull request #11 from srghma/master
feat: update readme
2 parents 3e02612 + 7db1433 commit 0e29451

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ won't involve any JavaScript dependencies.
1717
+ There is a module that encodes any possible error returned by Selenium.
1818
+ Low-level API uses `purescript-argonaut`'s `Json` type and `purescript-affjax`s helper functions (`get`, `post` etc)
1919
+ Endpoints are constructed using `[email protected]` type. This module also provides helper functions
20-
returning `Aff _ (Either Error Json)`
20+
returning `Aff (Either Error Json)`
2121
+ Types of requests and resposes live in `Lunapark.Types` module.
2222
+ High-level API uses `purescript-run`. There are several functors, but the main two are: `LunaparkF` and `ActionF`.
2323
This functor embed in `Run` encode almost all posible interactions with w3c/selenium server.
@@ -26,7 +26,7 @@ This functor embed in `Run` encode almost all posible interactions with w3c/sele
2626
+ `Lunapark` is facade library on top of api, functors and error.
2727
+ Capabilities are represented via gradually typed datastructure `Array Capability`. `init` function takes a record
2828
`{ alwaysMatch: Array Capability, firstMatch: Array (Array Capability) }`. `firstMatch` must have at least on array.
29-
+ To construct interpreter you need call `[email protected]`. The result would be `Aff _ (Either Error Interpreter)`,
29+
+ To construct interpreter you need call `[email protected]`. The result would be `Aff (Either Error Interpreter)`,
3030
where `Interpreter` is function taking `Lunapark` monad and unwrapping it into `Run` with `EXCEPT` and `AFF|EFF`. E.g.
3131

3232
```purescript

0 commit comments

Comments
 (0)