mirror of
https://github.com/graninas/Hydra.git
synced 2024-12-25 18:12:38 +03:00
More uniform type constraints.
This commit is contained in:
parent
64dedd651d
commit
3e5d7f88b7
@ -43,7 +43,7 @@ data LangF next where
|
||||
-- | Throwing uncatchable exception
|
||||
ThrowException :: forall a e next. Exception e => e -> (a -> next) -> LangF next
|
||||
-- | Running a scenario safely catching its exceptions
|
||||
RunSafely :: Exception e => LangL a -> (Either e a -> next) -> LangF next
|
||||
RunSafely :: forall a e next. Exception e => LangL a -> (Either e a -> next) -> LangF next
|
||||
-- | Making an HTTP request using Servant Client
|
||||
CallServantAPI :: BaseUrl -> ClientM a -> (Either ClientError a -> next) -> LangF next
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user