Search results

Asynchronous effect monad

An Aff a is an asynchronous computation with effects. The computation may either error with an exception, or produce a result of type a. Aff effects are assembled from primitive Effect effects using makeAff or liftEffect.

P purescript-aff M Effect.Aff

Type synonym for using Aff as an effect.

P purescript-run M Run
Aff :: PitchClass
P purescript-school-of-music M Data.Euterpea.Music
aff :: Octave -> Dur -> Music Pitch
P purescript-school-of-music M Data.Euterpea.Notes
affix :: ClassName
P purescript-halogen-bootstrap M Halogen.Themes.Bootstrap3

An asynchronous AJAX library built using Aff.

Note: this module is not intended to be used by end-users. Rather, use the environment-specific library instead:

  • purescript-affjax-node
  • purescript-affjax-web

You should use this module if you are writing a driver for a specific environment. See this module's source code for more details.

P purescript-affjax
affjax :: forall b a. Requestable a => Respondable b => AffjaxRequest a -> AffjaxF a b

Makes an Affjax request.

P purescript-affjax-algebra M Network.HTTP.AffjaxF
affjax :: forall err a. Validator Aff (Error err) (Request a) (Response a)
P purescript-polyform-validators M Polyform.Validators.Affjax

Many-to-many broadcasting

P purescript-amqp M Node.AMQP.FFI

An AffGame is an Aff that takes a Reducer as an argument. Can be constructed from a TemplateAffGame using mkAffGame.

P purescript-game M Game.Aff
AffGame :: forall extra a. (Reducer extra Req -> Aff a) -> AffGame extra a
P purescript-game M Game.Aff
P purescript-game M Game.Aff.Run
P purescript-affjax-algebra M Network.HTTP.AffjaxF

Affinity is a group of affinity scheduling rules.

Fields:

  • nodeAffinity: Describes node affinity scheduling rules for the pod.
  • podAffinity: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
  • podAntiAffinity: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
P purescript-kubernetes M Kubernetes.Api.Core.V1
Affinity :: { nodeAffinity :: Maybe NodeAffinity, podAffinity :: Maybe PodAffinity, podAntiAffinity :: Maybe PodAntiAffinity } -> Affinity
P purescript-kubernetes M Kubernetes.Api.Core.V1
P purescript-affjax-algebra M Network.HTTP.AffjaxF
AffjaxFP :: forall req res a. (AffjaxRequest req) -> (Either Error (AffjaxResponse res) -> a) -> AffjaxFP req res a
P purescript-affjax-algebra M Network.HTTP.AffjaxF
affAction :: forall a v. v -> Aff a -> Widget v a
P purescript-concur-core M Concur.Core.Types
affAction :: forall a r. r -> ReaderT r Aff a -> Effect Unit

Create an action dispatcher for Aff and any given the context (e.g. ReactThis)

P purescript-dispatcher-react M Dispatcher
P purescript-flame M Flame.Application.Effectful
P purescript-react-basic-hooks M React.Basic.Hooks.Aff

An asynchronous AJAX library built using Aff that runs on the browser.

P purescript-affjax-web
affjaxJson :: forall errs. Validator Aff (Error (HttpError + AffjaxError + ResponseFormatError + errs)) (Request Json) Json
P purescript-polyform-validators M Polyform.Validators.Affjax
affLocator :: (Element -> Aff Element) -> Aff Locator

Build locator from asynchronous function returning element. I.e. this locator will find first visible element with .common-element class

affLocator \el → do
  commonElements ← byCss ".common-element" >>= findElements el
  flagedElements ← traverse (\el → Tuple el <$> isVisible el) commonElements
  maybe err pure $ foldl foldFn Nothing flagedElements
  where
  err = throwError $ error "all common elements are not visible"
  foldFn Nothing (Tuple el true) = Just el
  foldFn a _ = a
P purescript-webdriver M Selenium

An asynchronous AJAX library built using Aff that runs on Node.js.

P purescript-affjax-node
P purescript-workers
P purescript-polyform-validators M Polyform.Validators.Affjax
P purescript-affjax M Affjax
P purescript-monad-control M Control.Monad.Base

Parallelize asynchronous computations with specified number of fibers

P purescript-game M Game.Aff
bottom :: forall a. Bounded a => a
P purescript-prelude M Data.Bounded
ff :: forall a. HeytingAlgebra a => a
P purescript-prelude M Data.HeytingAlgebra
genericBottom :: forall a rep. Generic a rep => GenericBottom rep => a

A Generic implementation of the bottom member from the Bounded type class.

P purescript-prelude M Data.Bounded.Generic
genericBottom' :: forall a. GenericBottom a => a
P purescript-prelude M Data.Bounded.Generic
genericFF :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a

A Generic implementation of the ff member from the HeytingAlgebra type class.

P purescript-prelude M Data.HeytingAlgebra.Generic
genericFF' :: forall a. GenericHeytingAlgebra a => a
P purescript-prelude M Data.HeytingAlgebra.Generic
genericMempty :: forall a rep. Generic a rep => GenericMonoid rep => a

A Generic implementation of the mempty member from the Monoid type class.

P purescript-prelude M Data.Monoid.Generic
genericMempty' :: forall a. GenericMonoid a => a
P purescript-prelude M Data.Monoid.Generic
genericOne :: forall a rep. Generic a rep => GenericSemiring rep => a

A Generic implementation of the one member from the Semiring type class.

P purescript-prelude M Data.Semiring.Generic
genericOne' :: forall a. GenericSemiring a => a
P purescript-prelude M Data.Semiring.Generic
genericTop :: forall a rep. Generic a rep => GenericTop rep => a

A Generic implementation of the top member from the Bounded type class.

P purescript-prelude M Data.Bounded.Generic
genericTop' :: forall a. GenericTop a => a
P purescript-prelude M Data.Bounded.Generic
genericTT :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a

A Generic implementation of the tt member from the HeytingAlgebra type class.

P purescript-prelude M Data.HeytingAlgebra.Generic
genericTT' :: forall a. GenericHeytingAlgebra a => a
P purescript-prelude M Data.HeytingAlgebra.Generic
genericZero :: forall a rep. Generic a rep => GenericSemiring rep => a

A Generic implementation of the zero member from the Semiring type class.

P purescript-prelude M Data.Semiring.Generic
genericZero' :: forall a. GenericSemiring a => a
P purescript-prelude M Data.Semiring.Generic
mempty :: forall m. Monoid m => m
P purescript-prelude M Data.Monoid
one :: forall a. Semiring a => a
P purescript-prelude M Data.Semiring
top :: forall a. Bounded a => a
P purescript-prelude M Data.Bounded
tt :: forall a. HeytingAlgebra a => a
P purescript-prelude M Data.HeytingAlgebra
zero :: forall a. Semiring a => a
P purescript-prelude M Data.Semiring
crash :: forall a. Partial => a

A partial function which crashes on any input with a default message.

P purescript-partial M Partial
undefined :: forall a. a
P purescript-typelevel M Data.Typelevel.Undefined
all :: forall a. All a => a
P purescript-css M CSS.Common
auto :: forall a. Auto a => a
P purescript-css M CSS.Common
baseline :: forall a. Baseline a => a
P purescript-css M CSS.Common
bottom :: forall a. Bottom a => a
P purescript-css M CSS.Common
center :: forall a. Center a => a
P purescript-css M CSS.Common
flexEnd :: forall a. FlexEnd a => a
P purescript-css M CSS.Flexbox
flexStart :: forall a. FlexStart a => a
P purescript-css M CSS.Flexbox
hidden :: forall a. Hidden a => a
P purescript-css M CSS.Common
inherit :: forall a. Inherit a => a
P purescript-css M CSS.Common
initial :: forall a. Initial a => a
P purescript-css M CSS.Common
middle :: forall a. Middle a => a
P purescript-css M CSS.Common
none :: forall a. None a => a
P purescript-css M CSS.Common
normal :: forall a. Normal a => a
P purescript-css M CSS.Common
spaceAround :: forall a. SpaceAround a => a
P purescript-css M CSS.Flexbox
spaceBetween :: forall a. SpaceBetween a => a
P purescript-css M CSS.Flexbox
stretch :: forall a. Stretch a => a
P purescript-css M CSS.Flexbox
top :: forall a. Top a => a
P purescript-css M CSS.Common
unset :: forall a. Unset a => a
P purescript-css M CSS.Common
visible :: forall a. Visible a => a
P purescript-css M CSS.Common
undefined :: forall anything. anything
P purescript-undefined M Undefined
idm :: forall m. Monoid m => m

Trivial option modifier.

P purescript-optparse M Options.Applicative.Builder
mzeroL :: forall x r. LeftModule x r => x
P purescript-modules M Data.Ring.Module
mzeroR :: forall x r. RightModule x r => x
P purescript-modules M Data.Ring.Module
zero :: forall a. Zero a => a
P purescript-read M Data.String.Read
def :: forall a. Default a => a
P purescript-data-default M Data.Default
animationEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
bottom :: forall a. BoundedJoinSemilattice a => a
P purescript-lattice M Data.Lattice
clipboardEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
compositionEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
dragEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
empty :: forall l. MList l => l

The /empty/ heterogeneous list of type @l@. Of course, @empty

P purescript-monoid-extras M Data.Monoid.MList
event :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
focusEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
hashChangeEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
historyEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event
imageEvent :: forall a. a
P purescript-dom-simple M DOM.Simple.Event