Module

Quill.API.API

Package
purescript-quill
Repository
jmackie/purescript-quill

#API Source

type API eff a = ExceptT MultipleErrors (Eff eff) a

API calls are effectful, and may also fail in handling the returned value.

#handleReturn Source

handleReturn :: forall eff a. (Foreign -> F a) -> Foreign -> API eff a

#runAPI Source

runAPI :: forall eff a. API eff a -> Eff eff (Either MultipleErrors a)