Safe Haskell | None |
---|---|
Language | Haskell2010 |
and a Deadpan app into an IO result.
A collection of Websocket functions to ease converting a URI and a Deadpan app into an IO result.
Intended for internal use.
- type URL = String
- type Domain = String
- type Port = Int
- type Path = String
- type Error = String
- type Params = (Domain, Port, Path)
- (?>>>) :: Maybe x -> Error -> Either Error x
- getURI :: String -> Either Error Params
- prop_getURI_full :: Bool
- prop_getURI_missingPort :: Bool
- execURI :: ClientApp a -> (String, Int, String) -> IO a
- setupApp :: ClientApp a -> ClientApp a
Documentation
>>>
import Control.Applicative
>>>
import Test.QuickCheck
prop_getURI_full :: Bool Source
prop_getURI_full
| prop> prop_getURI_missingPort
prop_getURI_missingPort :: Bool Source
prop_getURI_full
| prop> prop_getURI_missingPort