Module

Sentry.Raven.Utils

Package
purescript-sentry-raven
Repository
adamczykm/purescript-sentry-raven

#bool Source

bool :: forall a. a -> a -> Boolean -> a

Case analysis for the 'Boolean' type

#RavenFun0 Source

type RavenFun0 eff ctx o = forall h. Raven h ctx -> Eff (raven :: RAVEN h | eff) o

Useful alias for explicit type annotations.

#RavenFun1 Source

type RavenFun1 eff ctx i o = forall h. Raven h ctx -> i -> Eff (raven :: RAVEN h | eff) o

Useful alias for explicit type annotations.

#RavenFun2 Source

type RavenFun2 eff ctx i0 i1 o = forall h. Raven h ctx -> i0 -> i1 -> Eff (raven :: RAVEN h | eff) o

Useful alias for explicit type annotations.

#RIx Source

data RIx

Represents path in a foreign object

Constructors

#readSub Source

readSub :: RIx -> Foreign -> F Foreign

Reads foreign object subobject at given path

#parseForeignNested Source

parseForeignNested :: forall a. ReadForeign a => List RIx -> Foreign -> F a

Allows for convenient parsing of nested subobjects

#parseForeignNested' Source

parseForeignNested' :: forall a. ReadForeign a => List RIx -> Foreign -> Maybe a

Allows for convenient parsing of nested subobjects. Discards errors.