Search results

genericShow :: forall a rep. Generic a rep => GenericShow rep => a -> String

A Generic implementation of the show member from the Show type class.

P purescript-prelude M Data.Show.Generic
genericShow' :: forall a. GenericShow a => a -> String
P purescript-prelude M Data.Show.Generic
show :: forall a. Show a => a -> String
P purescript-prelude M Data.Show
toJsonString :: forall t. EncodeJson t => t -> String

Encode and stringify a type in one step.

P purescript-argonaut-codecs M Data.Argonaut.Encode
encodeJSON :: forall a. Encode a => a -> String

Encode a JSON string using an Encode instance.

P purescript-foreign-generic M Foreign.Generic
unsafeStringify :: forall a. a -> String
P purescript-simple-json M Simple.JSON
writeJSON :: forall a. WriteForeign a => a -> String

Write a JSON string from a type a.

P purescript-simple-json M Simple.JSON
defaultMessage :: forall error. error -> String
P purescript-error M Error.Class
defaultName :: forall error. error -> String
P purescript-error M Error.Class
message :: forall error. Error error => error -> String
P purescript-error M Error.Class
name :: forall error. Error error => error -> String
P purescript-error M Error.Class
toAttrib :: forall a. IsAttrib a => a -> String
P purescript-chameleon M Chameleon.HTML.Attributes
toAttrib :: forall a. IsAttrib a => a -> String
P purescript-chameleon M Chameleon.SVG.Attributes
unsafeStringify :: forall a. a -> String
P purescript-yoga-json M Yoga.JSON
writeJSON :: forall a. WriteForeign a => a -> String

Write a JSON string from a type a.

P purescript-yoga-json M Yoga.JSON
code :: forall error. NodeError error => error -> String
P purescript-idiomatic-node-errors M Node.Errors.Class
defaultCode :: forall error. error -> String
P purescript-idiomatic-node-errors M Node.Errors.Class
defaultStack :: forall error. error -> String
P purescript-idiomatic-node-errors M Node.Errors.Class
localName :: forall el. IsElement el => el -> String
P purescript-dom-classy M DOM.Classy.Element
nodeName :: forall n. IsNode n => n -> String

For elements this is the tag name, for document types this is the doctype name, for processing instructions this is the target, for all other nodes it is a string like "#text", `"#comment", etc. depending on the node type.

P purescript-dom-classy M DOM.Classy.Node
stack :: forall error. NodeError error => error -> String
P purescript-idiomatic-node-errors M Node.Errors.Class
tagName :: forall el. IsElement el => el -> String
P purescript-dom-classy M DOM.Classy.Element
typeOf :: forall a. a -> String

Gets the type of an object with javascript typeof

P purescript-ffi-simple M FFI.Simple.Objects
unsafeJsonStringify :: forall a. a -> String
P purescript-benchotron M Benchotron.Utils
fmtVar :: forall a. FormatVar a => a -> String
P purescript-record-format M Record.Format
renderValue :: forall a. Value a => a -> String
P purescript-markdown M Text.Markdown.SlamDown.Syntax.Value
stringifyKey :: forall a. GrainKey a => a -> String
P purescript-grain M Grain.Class.KGProxy
toHeader :: forall x. ToHeader x => x -> String
P purescript-trout M Type.Trout.Header
toPathPiece :: forall x. ToPathPiece x => x -> String
P purescript-trout M Type.Trout.PathPiece
innerHTML :: forall e. IsElement e => e -> String
P purescript-dom-simple M DOM.Simple.Element
name :: forall n. IsNode n => n -> String
P purescript-dom-simple M DOM.Simple.Node
showWithoutQuotes :: forall a. Show a => a -> String
P purescript-repr M Data.String.Repr
textContent :: forall n. IsNode n => n -> String
P purescript-dom-simple M DOM.Simple.Node
toColorRep :: forall color. CanvasColor color => color -> String
P purescript-canvas-action M Graphics.CanvasAction
toText :: forall a. DotLang a => a -> String
P purescript-dotlang M Data.DotLang.Class
type' :: forall e. IsEvent e => e -> String

A string descriptor of the event name (lowercase, no on)

P purescript-dom-simple M DOM.Simple.Event
getKey :: forall a. HasKey a => a -> String
P purescript-key-based-diff M KeyBasedDiff
mergeDecl :: forall a. IsDecl a => a -> String
P purescript-chameleon-styled M Chameleon.Styled.Core
renderEJson :: forall t. Recursive t EJsonF => t -> String
P purescript-ejson M Data.Json.Extended
structName :: forall a. a -> String

Gets the contructor name for the type

P purescript-homogeneous-objects M Data.HObject.Record
toString :: forall a. Serializable a => a -> String
P purescript-simplecrypto M Crypto.Simple
unsafeEventValue :: forall event. event -> String
P purescript-reactix M Reactix.SyntheticEvent
_alignmentFocusName :: forall p. IsPanel p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Properties
_background :: forall g. IsGraphObject g => g -> String
P purescript-gojs M GoJS.GraphObject.Properties
_category :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_currentCursor :: forall d. IsDiagram d => d -> String
P purescript-gojs M GoJS.Diagram.Properties
_cursor :: forall g. IsGraphObject g => g -> String
P purescript-gojs M GoJS.GraphObject.Properties
_dataFormat :: forall m. IsModel m => m -> String
P purescript-gojs M GoJS.Model.Properties
_defaultCursor :: forall d. IsDiagram d => d -> String
P purescript-gojs M GoJS.Diagram.Properties
_defaultRowSeparatorStroke :: forall p. IsPanel p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Properties
_layerName :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_linkingCursor :: forall t. IsLinkingBaseTool t => t -> String
P purescript-gojs M GoJS.Tool.LinkingBaseTool.Properties
_locationObjectName :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_name :: forall g. IsGraphObject g => g -> String
P purescript-gojs M GoJS.GraphObject.Properties
_name :: forall m. IsModel m => m -> String
P purescript-gojs M GoJS.Model.Properties
_name :: forall t. IsTool t => t -> String
P purescript-gojs M GoJS.Tool.Properties
_nodeKeyProperty :: forall m. IsModel m => m -> String
P purescript-gojs M GoJS.Model.Properties
_renderer :: forall d. IsDiagram d => d -> String
P purescript-gojs M GoJS.Diagram.Properties
_resizeObjectName :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_rotateObjectName :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_selectionObjectName :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_shadowColor :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
_text :: forall p. IsPart p => p -> String
P purescript-gojs M GoJS.GraphObject.Panel.Part.Properties
animationName :: forall a. IsAnimation a => a -> String
P purescript-weber M Weber.Event
classNames :: forall a. ClassNames a => a -> String
P purescript-classnames M ClassNames
code :: forall a. IsKeyboard a => a -> String
P purescript-weber M Weber.Event

d

d :: forall a. HasDate a => a -> String

Day of month - with digits

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
dd :: forall a. HasDate a => a -> String

Day of month - two digits

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
ddd :: forall a. HasDate a => a -> String

Day of month short text - like Mon, Tue ...

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
dddd :: forall a. HasDate a => a -> String

Day of month full text - like Monday, Tuesday, ...

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
defaultEncodeJSON :: forall b a. Generic a b => GenericEncode b => a -> String
P purescript-presto M Presto.Core.Utils.Encoding
defaultHttpVersion :: forall message. message -> String
P purescript-idiomatic-node-http M Node.Http.IncomingMessage
defaultPrintEnum :: forall a ty. CustomEnum a ty => a -> String
P purescript-postgresql M Data.Postgres.Custom.Enum
encode :: forall a. CookieEncoder a => a -> String
P purescript-browser-cookies M Browser.Cookies.Data
encode' :: forall a. EncodeJson a => a -> String
P purescript-msgpack-msgpack M Msgpack
encodeBody :: forall body. EncodeBody body => body -> String
P purescript-payload M Payload.Client.EncodeBody
encodeKey :: forall a. EncodeKey a => a -> String
P purescript-js-maps M JS.Map.EncodeKey
encodeParam :: forall a. EncodeParam a => a -> String
P purescript-payload M Payload.Client.EncodeParam
encodeResponse :: forall response. IsResponse response => response -> String
P purescript-quickserve M QuickServe
encodeYml :: forall a. EncodeJson a => a -> String
P purescript-openapi3 M Yml
encodeYml :: forall a. EncodeJson a => a -> String
P purescript-purescript-openapi3 M Yml
fmt :: forall @sym sym' head tail replace. Parse DefaultConfig head tail replace => Append sym EOF sym' => Cons head tail sym' => replace -> String
P purescript-fmt M Fmt
fmtWith :: forall @config @sym config' sym' head tail replace. Parse config' head tail replace => Append sym EOF sym' => Cons head tail sym' => EvalConfigSpec config config' => replace -> String
P purescript-fmt M Fmt
format :: forall a. Format a => a -> String
P purescript-web3-generator M Data.AbiParser
formatQueryString :: forall b a. Newtype a b => ToQueryString b => a -> String
P purescript-kubernetes M Kubernetes.Client
from :: forall a. StringArg a => a -> String
P purescript-web-intl M Web.Intl.Internal.Class.StringArg
genericPrintEnum :: forall a g. Generic a g => GenericCustomEnum g => a -> String
P purescript-postgresql M Data.Postgres.Custom.Enum
genericPrintEnum' :: forall a. GenericCustomEnum a => a -> String
P purescript-postgresql M Data.Postgres.Custom.Enum
getAddress :: forall a. Address a => a -> String
P purescript-snail M Snail.Types
getKey :: forall a. Storable a => a -> String

Given a storable a will produce the key that it would have in storage.

P purescript-storable M Data.Storage
getTagName :: forall a. GetTagName a => a -> String
P purescript-bibimbap M Bibimbap
getTagNameImpl :: forall rep. GetTagNameImpl rep => rep -> String
P purescript-bibimbap M Bibimbap
getVarsTypeNames :: forall query. VarsTypeChecked query => query -> String
P purescript-graphql-client M GraphQL.Client.Variables
hh :: forall a. HasTime a => a -> String

Hours with two digits - in 24h format

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
httpVersion :: forall message. IncomingMessage message => message -> String
P purescript-idiomatic-node-http M Node.Http.IncomingMessage
inspect :: forall a. HasInspect a => a -> String
P purescript-neon M Neon.Class.HasInspect
jsonStringify :: forall a. a -> String
P purescript-payload M Payload.Debug
key :: forall a. Storable a => a -> String

Produces a key from the given a. This is most appropriately an id or something like it.

P purescript-storable M Data.Storage
key :: forall a. IsKeyboard a => a -> String
P purescript-weber M Weber.Event

m

m :: forall a. HasDate a => a -> String

Month with digits

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
mi :: forall a. HasTime a => a -> String

Minutes with two digits

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
mm :: forall a. HasDate a => a -> String

Month with two digits

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
mmm :: forall a. HasDate a => a -> String

Month short text - like Jan, Feb, ...

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
mmmm :: forall a. HasDate a => a -> String

Month full text - like January, Februrary, ...

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
nameList :: forall fieldNames. NameList fieldNames => fieldNames -> String
P purescript-droplet M Droplet.Language.Internal.Translate
pointerType :: forall a. IsPointer a => a -> String
P purescript-weber M Weber.Event
printEnum :: forall a ty. CustomEnum a ty => a -> String
P purescript-postgresql M Data.Postgres.Custom.Enum
printYAML :: forall a. ToYAML a => a -> String
P purescript-yaml-next M Data.YAML.Foreign.Encode
propertyName :: forall a. IsTransition a => a -> String
P purescript-weber M Weber.Event
pseudoElement :: forall a. IsAnimation a => a -> String
P purescript-weber M Weber.Event
renderString :: forall a. Render a => a -> String
P purescript-materialize M Materialize.Markup.Render
serialize :: forall m. SerializeState m => m -> String
P purescript-flame M Flame.Serialization
serialize :: forall a. Serializable a => a -> String
P purescript-presto M Presto.Core.Types.Language.Storage
serialize :: forall a. Storable a => a -> String

Takes an a and (hopefully) reliably turns it into a string; this should be symmetric with deserialize. This can be conveniently implemented using Simple.JSON.

P purescript-storable M Data.Storage
showDebug :: forall a. ShowDebug a => a -> String
P purescript-payload M Payload.Debug
showInt :: forall a. BoundedEnum a => a -> String
P purescript-graphql-client M GraphQL.Client.ToGqlString
showStructure :: forall s. Structure s => s -> String
P purescript-screeps-classy M Screeps.Structure
ss :: forall a. HasTime a => a -> String

Seconds with two digits

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
toFlowRep' :: forall a. HasFlowRep a => a -> String

A convenience function for getting the flow rep of a concrete value

P purescript-bismuth M Bismuth
toGqlAndArgsStringImpl :: forall q. GqlAndArgsString q => q -> String
P purescript-graphql-client M GraphQL.Client.ToGqlString
toGqlArgString :: forall q. GqlArgString q => q -> String
P purescript-graphql-client M GraphQL.Client.ToGqlString
toGqlArgStringImpl :: forall q. GqlArgString q => q -> String
P purescript-graphql-client M GraphQL.Client.ToGqlString
toGqlQueryString :: forall q. GqlQueryString q => q -> String

Generate a GraphQL query from its purs representation

P purescript-graphql-client M GraphQL.Client.ToGqlString
toGqlQueryStringFormatted :: forall q. GqlQueryString q => q -> String

Generate a GraphQL query from its purs representation, formatted with indentation for human readability

P purescript-graphql-client M GraphQL.Client.ToGqlString
toHex :: forall a. ToHex a => a -> String
P purescript-ethereum-client M Ethereum.Text
toJson :: forall a. EncodeJson a => a -> String
P purescript-screeps-classy M Screeps.Memory
toJsonStr :: forall a. EncodeJson a => a -> String
P purescript-object-maps M Data.ObjectMap.Internal
toParam :: forall a. ToParam a => a -> String
P purescript-chanpon M Chanpon.Classes
toPathSegment :: forall a. PathPiece a => a -> String
P purescript-intertwine M Data.Intertwine.Route.PathPiece
toQueryString :: forall a. ToQueryString a => a -> String
P purescript-kubernetes M Kubernetes.QueryString
toStr :: forall a. ShouldStr a => a -> String
P purescript-cypress M Cypress.Chai
toString :: forall a. IsString a => a -> String
P purescript-benchmark M Benchmark.Event
toString :: forall a. ToString a => a -> String
P purescript-bookhound M Bookhound.Utils.String
toString :: forall a sym. ToString a sym => a -> String
P purescript-fmt M Fmt
toString :: forall a. IsNumber a => a -> String
P purescript-interactive-data M InteractiveData.UI.NumberInput
toString :: forall rep. GenericSelect rep => rep -> String
P purescript-lumi-components M Lumi.Components.Form
toString :: forall a. IsLength a => a -> String
P purescript-pha M Pha.Svg.Attributes
toString_ :: forall a. a -> String
P purescript-gojs M GoJS.Model.Binding.Static
type' :: forall a. IsEvent a => a -> String
P purescript-weber M Weber.Event
typeof :: forall a. a -> String
P purescript-ffi-utils M FFI.Util
typeofk :: forall k. k -> String
P purescript-gojs M GoJS.Key
whichBrushPatternStr :: forall k. k -> String
P purescript-gojs M GoJS.Geometry.Brush.BrushPattern
whichPictureElementStr :: forall k. k -> String
P purescript-gojs M GoJS.GraphObject.Picture.PictureElement
writeCSV :: forall a. WriteCSV a => a -> String
P purescript-csv-stream M Data.CSV
writeGraphQL :: forall a. WriteGraphQL a => a -> String
P purescript-graphqlclient M GraphQLClient.WriteGraphQL
yyyy :: forall a. HasDate a => a -> String

Jear full - like 2020

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
abs :: forall a. Ord a => Ring a => a -> a

The absolute value function. abs x is defined as if x >= zero then x else negate x.

P purescript-prelude M Data.Ord
from :: forall a rep. Generic a rep => a -> rep
P purescript-prelude M Data.Generic.Rep
genericNot :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a -> a

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

P purescript-prelude M Data.HeytingAlgebra.Generic
genericNot' :: forall a. GenericHeytingAlgebra a => a -> a
P purescript-prelude M Data.HeytingAlgebra.Generic
negate :: forall a. Ring a => a -> a

negate x can be used as a shorthand for zero - x.

P purescript-prelude M Data.Ring
not :: forall a. HeytingAlgebra a => a -> a
P purescript-prelude M Data.HeytingAlgebra
recip :: forall a. DivisionRing a => a -> a
P purescript-prelude M Data.DivisionRing
signum :: forall a. Ord a => Ring a => a -> a

The sign function; returns one if the argument is positive, negate one if the argument is negative, or zero if the argument is zero. For floating point numbers with signed zeroes, when called with a zero, this function returns the argument in order to preserve the sign. For any x, we should have signum x * abs x == x.

P purescript-prelude M Data.Ord
to :: forall a rep. Generic a rep => rep -> a
P purescript-prelude M Data.Generic.Rep
unwrap :: forall t a. Newtype t a => t -> a
P purescript-newtype M Data.Newtype
wrap :: forall t a. Newtype t a => a -> t
P purescript-newtype M Data.Newtype
unsafeCoerce :: forall a b. a -> b

A highly unsafe function, which can be used to persuade the type system that any type is the same as any other type. When using this function, it is your (that is, the caller's) responsibility to ensure that the underlying representation for both types is the same.

Because this function is extraordinarily flexible, type inference can greatly suffer. It is highly recommended to define specializations of this function rather than using it as-is. For example:

fromBoolean :: Boolean -> Json
fromBoolean = unsafeCoerce

This way, you won't have any nasty surprises due to the inferred type being different to what you expected.

After the v0.14.0 PureScript release, some of what was accomplished via unsafeCoerce can now be accomplished via coerce from purescript-safe-coerce. See that library's documentation for more context.

P purescript-unsafe-coerce M Unsafe.Coerce
inj :: forall a b. Inject a b => a -> b
P purescript-either M Data.Either.Inject
unsafePartial :: forall a. (Partial => a) -> a

Discharge a partiality constraint, unsafely.

P purescript-partial M Partial.Unsafe
from :: forall a b. TypeEquals a b => b -> a
P purescript-type-equality M Type.Equality
to :: forall a b. TypeEquals a b => a -> b
P purescript-type-equality M Type.Equality
convertDuration :: forall a b. Duration a => Duration b => a -> b

Converts directly between durations of differing types.

P purescript-datetime M Data.Time.Duration
negateDuration :: forall a. Duration a => a -> a

Negates a duration, turning a positive duration negative or a negative duration positive.

P purescript-datetime M Data.Time.Duration
coerce :: forall a b. Coercible a b => a -> b

Coerce a value of one type to a value of some other type, without changing its runtime representation. This function behaves identically to unsafeCoerce at runtime. Unlike unsafeCoerce, it is safe, because the Coercible constraint prevents any use of this function from compiling unless the compiler can prove that the two types have the same runtime representation.

One application for this function is to avoid doing work that you know is a no-op because of newtypes. For example, if you have an Array (Conj a) and you want an Array (Disj a), you could do Data.Array.map (un Conj >>> Disj), but this performs an unnecessary traversal of the array, with O(n) cost. coerce accomplishes the same with only O(1) cost:

mapConjToDisj :: forall a. Array (Conj a) -> Array (Disj a)
mapConjToDisj = coerce
P purescript-safe-coerce M Safe.Coerce
div10 :: forall x q. Div10 x q => x -> q
P purescript-typelevel M Data.Typelevel.Num.Ops
isDivBy :: forall d x. IsDivBy d x => d -> x
P purescript-typelevel M Data.Typelevel.Num.Ops
mul10 :: forall x q. Mul10 x q => x -> q
P purescript-typelevel M Data.Typelevel.Num.Ops
not :: forall b1 b2. Not b1 b2 => b1 -> b2
P purescript-typelevel M Data.Typelevel.Bool
pred :: forall x y. Pred x y => x -> y
P purescript-typelevel M Data.Typelevel.Num.Ops
succ :: forall x y. Succ x y => x -> y
P purescript-typelevel M Data.Typelevel.Num.Ops
cast :: forall a b. Castable a b => a -> b
P purescript-untagged-union M Untagged.Castable
coerce :: forall expected given. Coerce given expected => given -> expected
P purescript-undefined-is-not-a-problem M Data.Undefined.NoProblem.Closed
coerce :: forall expected given. Coerce given expected => given -> expected
P purescript-undefined-is-not-a-problem M Data.Undefined.NoProblem.Open
convertTo :: forall t f r. Recursive t f => Corecursive r f => t -> r
P purescript-matryoshka M Matryoshka.Refold
fill :: forall partial complete. Fillable partial complete => partial -> complete
P purescript-justifill M Justifill.Fillable
ginverse :: forall g. Group g => g -> g
P purescript-group M Data.Group
justify :: forall unjust just. Justifiable unjust just => unjust -> just
P purescript-justifill M Justifill.Justifiable
mnegateL :: forall r x. LeftModule x r => x -> x
P purescript-modules M Data.Ring.Module
mnegateR :: forall r x. RightModule x r => x -> x
P purescript-modules M Data.Ring.Module
nextPrime :: forall a. Ord a => Semiring a => EuclideanRing a => a -> a

Ad infinitum

P purescript-sparse-polynomials M Data.Sparse.Polynomial
area :: forall s n. ToSize n s => Semiring n => s -> n

Get the area of a size

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
convertPos :: forall p1 p2 n. ToPos n p1 => FromPos n p2 => p1 -> p2
P purescript-polymorphic-vectors M Data.Vector.Polymorphic
convertRegion :: forall p1 p2 n. ToRegion n p1 => FromRegion n p2 => p1 -> p2
P purescript-polymorphic-vectors M Data.Vector.Polymorphic
convertSize :: forall p1 p2 n. ToSize n p1 => FromSize n p2 => p1 -> p2
P purescript-polymorphic-vectors M Data.Vector.Polymorphic
init :: forall fn a. Init fn a => fn -> a
P purescript-classless M Classless
initProduct :: forall f a. InitProduct f a => f -> a
P purescript-classless M Classless
measure :: forall a v. Measured a v => a -> v
P purescript-sequences M Data.Sequence.Internal
midPos :: forall s p n. ToRegion n s => FromPos n p => EuclideanRing n => s -> p

Get the center position of a region

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
perimeter :: forall s n. ToSize n s => Semiring n => s -> n

Get the perimeter of a size

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
ratio :: forall s n. ToSize n s => EuclideanRing n => s -> n

Get the ratio of a size by dividing the width by the height

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
undefer :: forall a. (Deferred => a) -> a

Note: use of this function may result in arbitrary side effects.

P purescript-promises M Effect.Promise.Unsafe
always :: forall a b. Always a b => a -> b
P purescript-monoid-extras M Data.Monoid.Always
at :: forall m. XPathLike m => m -> m

Prepend an '@'

P purescript-xpath-like M Data.XPath
complement :: forall p. Bounded p => Ring p => p -> p
P purescript-probability M Math.Probability
convert :: forall b a. TokenUnit a => TokenUnit b => a -> b

Convert between two denominations

P purescript-web3 M Network.Ethereum.Web3.Types.TokenUnit
debugger :: forall a. a -> a

Inserts a JavaScript debugger statement, then returns its argument.

P purescript-debuggest M Debug
dir :: forall a. a -> a

Calls console.dir with its argument, then returns it.

P purescript-debuggest M Debug
inj :: forall l a. Includes l a => a -> l

Inject a value into an otherwise empty heterogeneous list.

P purescript-monoid-extras M Data.Monoid.MList
log :: forall a. a -> a

Calls console.log with its argument, then returns it.


-- log a value as it's used
func a = todo $ log a

-- explicitly log an argument because it may not be used
func a =
  let
    _ = log a
  in
    todo

-- log the value inside a functor
func ma = do
  a <- log <$> pure ma
  todo
P purescript-debuggest M Debug