This repository was archived by the owner on Jun 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ` .
2323This 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) ` ,
3030where ` Interpreter ` is function taking ` Lunapark ` monad and unwrapping it into ` Run ` with ` EXCEPT ` and ` AFF|EFF ` . E.g.
3131
3232``` purescript
You can’t perform that action at this time.
0 commit comments