Search results

catMaybes :: forall a. Array (Maybe a) -> Array a

Filter an array of optional values, keeping only the elements which contain a value, creating a new array.

catMaybes [Nothing, Just 2, Nothing, Just 4] = [2, 4]
P purescript-arrays M Data.Array
untilJust :: forall a m. MonadRec m => m (Maybe a) -> m a

Supplied computation will be executed repeatedly until it evaluates to Just value and then that value will be returned.

P purescript-tailrec M Control.Monad.Rec.Class
whileJust :: forall a m. Monoid a => MonadRec m => m (Maybe a) -> m a

While supplied computation evaluates to Just _, it will be executed repeatedly and results will be combined using monoid instance.

P purescript-tailrec M Control.Monad.Rec.Class
init :: forall a. Partial => Array a -> Array a

Get all but the last element of a non-empty array.

Running time: O(n), where n is the length of the array.

P purescript-arrays M Data.Array.Partial
nub :: forall a. Ord a => Array a -> Array a

Remove the duplicates from an array, creating a new array.

nub [1, 2, 1, 3, 3] = [1, 2, 3]
P purescript-arrays M Data.Array
nubEq :: forall a. Eq a => Array a -> Array a

Remove the duplicates from an array, creating a new array.

This less efficient version of nub only requires an Eq instance.

nubEq [1, 2, 1, 3, 3] = [1, 2, 3]
P purescript-arrays M Data.Array
reverse :: forall a. Array a -> Array a

Reverse an array, creating a new array.

reverse [] = []
reverse [1, 2, 3] = [3, 2, 1]
P purescript-arrays M Data.Array
sort :: forall a. Ord a => Array a -> Array a

Sort the elements of an array in increasing order, creating a new array. Sorting is stable: the order of equal elements is preserved.

sort [2, -3, 1] = [-3, 1, 2]
P purescript-arrays M Data.Array
tail :: forall a. Partial => Array a -> Array a

Get all but the first element of a non-empty array.

Running time: O(n), where n is the length of the array.

P purescript-arrays M Data.Array.Partial
filtered :: forall m a. MonadRec m => MonadGen m => m (Maybe a) -> m a

Creates a generator that repeatedly run another generator until it produces Just node. This will never halt if the input generator always produces Nothing.

P purescript-gen M Control.Monad.Gen
compact :: forall f a. Compactable f => f (Maybe a) -> f a
P purescript-filterable M Data.Compactable
compactDefault :: forall f a. Functor f => Compactable f => f (Maybe a) -> f a
P purescript-filterable M Data.Compactable
nubHash :: forall a. Hashable a => Array a -> Array a

Remove duplicates from an array.

Like nub from Data.Array, but uses a Hashable constraint instead of an Ord constraint.

P purescript-unordered-collections M Data.HashMap
a_ :: forall html a. Html html => Array (html a) -> html a

Defines a hyperlink [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
a_ :: forall html a. Html html => Array (html a) -> html a

Creates a hyperlink element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
abbr_ :: forall html a. Html html => Array (html a) -> html a

Defines an abbreviation [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
address_ :: forall html a. Html html => Array (html a) -> html a

Defines contact information for the author/owner of a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
altGlyph_ :: forall html a. Html html => Array (html a) -> html a

Defines an alternative representation of a glyph in a font [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
altGlyphDef_ :: forall html a. Html html => Array (html a) -> html a

Defines a set of glyph substitutions for an altGlyph element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
altGlyphItem_ :: forall html a. Html html => Array (html a) -> html a

Defines a substitution for a specific glyph in an altGlyphDef element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
article_ :: forall html a. Html html => Array (html a) -> html a

Defines self-contained content, like blog posts or news articles [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
aside_ :: forall html a. Html html => Array (html a) -> html a

Defines content aside from the content it is placed in [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
audio_ :: forall html a. Html html => Array (html a) -> html a

Defines sound content, like music or other audio streams [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
b_ :: forall html a. Html html => Array (html a) -> html a

Defines bold text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
bdi_ :: forall html a. Html html => Array (html a) -> html a

Defines text directionality for its children [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
bdo_ :: forall html a. Html html => Array (html a) -> html a

Defines text directionality [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
blockquote_ :: forall html a. Html html => Array (html a) -> html a

Defines a section that is quoted from another source [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
body_ :: forall html a. Html html => Array (html a) -> html a

Defines the document's body [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
button_ :: forall html a. Html html => Array (html a) -> html a

Defines a clickable button [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
canvas_ :: forall html a. Html html => Array (html a) -> html a

Defines an area that can be used to draw graphics using JavaScript [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
caption_ :: forall html a. Html html => Array (html a) -> html a

Defines a table caption [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
cite_ :: forall html a. Html html => Array (html a) -> html a

Defines the title of a work [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
clipPath_ :: forall html a. Html html => Array (html a) -> html a

Defines a clipping path for an SVG element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
code_ :: forall html a. Html html => Array (html a) -> html a

Defines a piece of computer code [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
colgroup_ :: forall html a. Html html => Array (html a) -> html a

Defines attributes for a group of table columns [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
colorProfile_ :: forall html a. Html html => Array (html a) -> html a

Defines a color profile for an SVG document [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
data__ :: forall html a. Html html => Array (html a) -> html a

Defines machine-readable data [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
datalist_ :: forall html a. Html html => Array (html a) -> html a

Defines a list of pre-defined options for input controls [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
dd_ :: forall html a. Html html => Array (html a) -> html a

Defines a description/value of a term in a description list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
defs_ :: forall html a. Html html => Array (html a) -> html a

Defines a set of reusable SVG elements [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
del_ :: forall html a. Html html => Array (html a) -> html a

Defines text that has been deleted from a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
desc_ :: forall html a. Html html => Array (html a) -> html a

Defines a description of an SVG element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
details_ :: forall html a. Html html => Array (html a) -> html a

Defines additional details that the user can view or hide [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
dfn_ :: forall html a. Html html => Array (html a) -> html a

Defines a definition term [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
dialog_ :: forall html a. Html html => Array (html a) -> html a

Defines a dialog box or window [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
div_ :: forall html a. Html html => Array (html a) -> html a

Defines a section of a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
dl_ :: forall html a. Html html => Array (html a) -> html a

Defines a description list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
dt_ :: forall html a. Html html => Array (html a) -> html a

Defines a term in a description list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
em_ :: forall html a. Html html => Array (html a) -> html a

Defines emphasized text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
feMerge_ :: forall html a. Html html => Array (html a) -> html a

Merges multiple input images together [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
fieldset_ :: forall html a. Html html => Array (html a) -> html a

Groups related form elements [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
figcaption_ :: forall html a. Html html => Array (html a) -> html a

Defines a caption for a <figure> element [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
figure_ :: forall html a. Html html => Array (html a) -> html a

Defines self-contained content, like images or diagrams [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
filter_ :: forall html a. Html html => Array (html a) -> html a

Defines a filter effect [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
footer_ :: forall html a. Html html => Array (html a) -> html a

Defines a footer for a document or section [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
foreignObject_ :: forall html a. Html html => Array (html a) -> html a

Inserts a foreign object into an SVG document [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
form_ :: forall html a. Html html => Array (html a) -> html a

Defines an HTML form for user input [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
g_ :: forall html a. Html html => Array (html a) -> html a

Creates a group of SVG elements [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
glyph_ :: forall html a. Html html => Array (html a) -> html a

Defines a single glyph in an SVG font [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
h1_ :: forall html a. Html html => Array (html a) -> html a

Defines a heading level 1 [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
h2_ :: forall html a. Html html => Array (html a) -> html a

Defines a heading level 2 [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
h3_ :: forall html a. Html html => Array (html a) -> html a

Defines a heading level 3 [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
h4_ :: forall html a. Html html => Array (html a) -> html a

Defines a heading level 4 [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
h5_ :: forall html a. Html html => Array (html a) -> html a

Defines a heading level 5 [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
h6_ :: forall html a. Html html => Array (html a) -> html a

Defines a heading level 6 [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
hatch_ :: forall html a. Html html => Array (html a) -> html a

Defines a hatching pattern [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
head_ :: forall html a. Html html => Array (html a) -> html a

Defines information about the document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
header_ :: forall html a. Html html => Array (html a) -> html a

Defines a header for a document or section [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
html_ :: forall html a. Html html => Array (html a) -> html a

Defines the root of an HTML document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
i_ :: forall html a. Html html => Array (html a) -> html a

Defines italic text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
iframe_ :: forall html a. Html html => Array (html a) -> html a

Defines an inline frame for embedding external content [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
ins_ :: forall html a. Html html => Array (html a) -> html a

Defines text that has been inserted into a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
kbd_ :: forall html a. Html html => Array (html a) -> html a

Defines keyboard input [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
label_ :: forall html a. Html html => Array (html a) -> html a

Defines a label for an <input> element [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
legend_ :: forall html a. Html html => Array (html a) -> html a

Defines a caption for a <fieldset> element [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
li_ :: forall html a. Html html => Array (html a) -> html a

Defines a list item [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
linearGradient_ :: forall html a. Html html => Array (html a) -> html a

Defines a linear gradient for an SVG element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
main_ :: forall html a. Html html => Array (html a) -> html a

Defines the main content of a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
map_ :: forall html a. Html html => Array (html a) -> html a

Defines an image map [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
mark_ :: forall html a. Html html => Array (html a) -> html a

Defines marked/highlighted text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
marker_ :: forall html a. Html html => Array (html a) -> html a

Defines a marker symbol to be used with a shape or line [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
mask_ :: forall html a. Html html => Array (html a) -> html a

Defines a mask for an SVG element [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
menu_ :: forall html a. Html html => Array (html a) -> html a

Defines a list/menu of commands [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
meter_ :: forall html a. Html html => Array (html a) -> html a

Defines a scalar measurement within a known range [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
mpath_ :: forall html a. Html html => Array (html a) -> html a

The mpath element provides a way to animate the motion of an object along a path. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
nav_ :: forall html a. Html html => Array (html a) -> html a

Defines a navigation menu [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
noscript_ :: forall html a. Html html => Array (html a) -> html a

Defines an alternate content for users that do not support client-side scripts [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
object_ :: forall html a. Html html => Array (html a) -> html a

Defines a container for external application or interactive content [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
ol_ :: forall html a. Html html => Array (html a) -> html a

Defines an ordered list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
optgroup_ :: forall html a. Html html => Array (html a) -> html a

Defines a group of related options in a drop-down list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
option_ :: forall html a. Html html => Array (html a) -> html a

Defines an option in a drop-down list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
output_ :: forall html a. Html html => Array (html a) -> html a

Defines the result of a calculation [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
p_ :: forall html a. Html html => Array (html a) -> html a

Defines a paragraph [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
pattern_ :: forall html a. Html html => Array (html a) -> html a

The pattern element defines a repeating pattern to be used as a fill or stroke. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
picture_ :: forall html a. Html html => Array (html a) -> html a

Defines a container for multiple image resources [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
pre_ :: forall html a. Html html => Array (html a) -> html a

Defines preformatted text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
progress_ :: forall html a. Html html => Array (html a) -> html a

Represents the progress of a task [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
q_ :: forall html a. Html html => Array (html a) -> html a

Defines a short quotation [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
radialGradient_ :: forall html a. Html html => Array (html a) -> html a

The radialGradient element defines a radial gradient to be used as a fill or stroke. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
rb_ :: forall html a. Html html => Array (html a) -> html a

Defines a ruby base (character) for a ruby annotation [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
rp_ :: forall html a. Html html => Array (html a) -> html a

Defines what to show in browsers that do not support ruby annotations [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
rt_ :: forall html a. Html html => Array (html a) -> html a

Defines a ruby text (annotation) for a ruby annotation [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
rtc_ :: forall html a. Html html => Array (html a) -> html a

Defines a ruby text container for a ruby annotation [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
ruby_ :: forall html a. Html html => Array (html a) -> html a

Defines a ruby annotation (for East Asian typography) [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
s_ :: forall html a. Html html => Array (html a) -> html a

Defines strikethrough text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
samp_ :: forall html a. Html html => Array (html a) -> html a

Defines sample output from a computer program [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
script_ :: forall html a. Html html => Array (html a) -> html a

The script element contains script statements. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
section_ :: forall html a. Html html => Array (html a) -> html a

Defines a section in a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
select_ :: forall html a. Html html => Array (html a) -> html a

Defines a drop-down list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
slot_ :: forall html a. Html html => Array (html a) -> html a

Defines a slot for content in a web component [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
small_ :: forall html a. Html html => Array (html a) -> html a

Defines smaller text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
span_ :: forall html a. Html html => Array (html a) -> html a

Defines a small section of text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
strong_ :: forall html a. Html html => Array (html a) -> html a

Defines important text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
style_ :: forall html a. Html html => Array (html a) -> html a

Defines style information for a document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
style_ :: forall html a. Html html => Array (html a) -> html a

The style element contains style information for a document or part of a document. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
sub_ :: forall html a. Html html => Array (html a) -> html a

Defines subscripted text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
summary_ :: forall html a. Html html => Array (html a) -> html a

Defines a visible heading for a <details> element [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
sup_ :: forall html a. Html html => Array (html a) -> html a

Defines superscripted text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
svg_ :: forall html a. Html html => Array (html a) -> html a

The svg element is the root element of an SVG document. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
switch_ :: forall html a. Html html => Array (html a) -> html a

The switch element allows conditional processing of SVG elements. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
symbol_ :: forall html a. Html html => Array (html a) -> html a

The symbol element defines a reusable graphic element. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
table_ :: forall html a. Html html => Array (html a) -> html a

Defines a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
tbody_ :: forall html a. Html html => Array (html a) -> html a

Groups the body content in a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
td_ :: forall html a. Html html => Array (html a) -> html a

Defines a cell in a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
template_ :: forall html a. Html html => Array (html a) -> html a

Defines a container for content that should be hidden when the page loads [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
text_ :: forall html a. Html html => Array (html a) -> html a

The text element defines a block of text to be drawn. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
textarea_ :: forall html a. Html html => Array (html a) -> html a

Defines a multiline input control [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
textPath_ :: forall html a. Html html => Array (html a) -> html a

The textPath element provides a way to align text along a path. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
tfoot_ :: forall html a. Html html => Array (html a) -> html a

Groups the footer content in a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
th_ :: forall html a. Html html => Array (html a) -> html a

Defines a header cell in a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
thead_ :: forall html a. Html html => Array (html a) -> html a

Groups the header content in a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
time_ :: forall html a. Html html => Array (html a) -> html a

Defines a date/time [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
title_ :: forall html a. Html html => Array (html a) -> html a

Defines a title for the document [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
title_ :: forall html a. Html html => Array (html a) -> html a

The title element provides a title for a document or part of a document. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
tr_ :: forall html a. Html html => Array (html a) -> html a

Defines a row in a table [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
tspan_ :: forall html a. Html html => Array (html a) -> html a

The tspan element provides a way to group a portion of text within a larger block of text. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
u_ :: forall html a. Html html => Array (html a) -> html a

Defines underlined text [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
ul_ :: forall html a. Html html => Array (html a) -> html a

Defines an unordered list [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
use_ :: forall html a. Html html => Array (html a) -> html a

The use element provides a way to reuse a single element and apply transformations to it. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
var_ :: forall html a. Html html => Array (html a) -> html a

Defines a variable [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
video_ :: forall html a. Html html => Array (html a) -> html a

Defines a video [No Attributes]

P purescript-chameleon M Chameleon.HTML.Elements
view_ :: forall html a. Html html => Array (html a) -> html a

The view element defines a rectangular portion of the SVG canvas that should be displayed. [No Attributes]

P purescript-chameleon M Chameleon.SVG.Elements
defaultOrr :: forall a m. Plus m => Array (m a) -> m a
P purescript-concur-core M Control.MultiAlternative
orr :: forall m a. MultiAlternative m => Array (m a) -> m a
P purescript-concur-core M Control.MultiAlternative
untilJust :: forall m a. Monad m => m (Maybe a) -> m a

Run the supplied Maybe computation repeatedly until it returns a value. Returns that value.

P purescript-monad-loops M Control.Monad.Loops
untilJust :: forall m a. MonadRec m => m (Maybe a) -> m a

Run the supplied "Maybe" computation repeatedly until it returns a value. Returns that value.

P purescript-monad-loops M Control.Monad.Rec.Loops
createFragmentNode :: forall html message. Array (html message) -> html message
P purescript-flame M Flame.Internal.Fragment
extent :: forall m. Magnitude m => Array m -> Array m
P purescript-d3 M Graphics.D3.Util
getOutgoingTransactions :: forall a. Directional a => Array a -> Array a
P purescript-teller M Data.Teller.Transaction
initMonoid :: forall m. Monoid m => Array m -> Array m
P purescript-metajelo-web M Metajelo.View
lower :: forall a f. Rebuildable f => f (Maybe a) -> f a
P purescript-impulse M Impulse.Util.Rebuildable
nonNull :: forall a t. GraphQLType (t (Maybe a)) => t (Maybe a) -> t a

This function transforms any nullable type into a non-nullable type Doing so also influences the types accepted root value

nonNullableString :: ScalarType String
nonNullableString = nonNull string

Equivalent to JavaScript's new GraphQLNonNull(...)

P purescript-graphql M GraphQL.Type
ordNub :: forall a. Ord a => Array a -> Array a
P purescript-tupc M Content.Parse
untilSuccessful :: forall a m. Monad m => m (Maybe a) -> m a
P purescript-presto M Presto.Core.Operators
join :: forall a m. Bind m => m (m a) -> m a

Collapse two applications of a monadic type constructor into one.

P purescript-prelude M Control.Bind
oneOf :: forall f g a. Foldable f => Plus g => f (g a) -> g a

Combines a collection of elements using the Alt operation.

P purescript-foldable-traversable M Data.Foldable
singleton :: forall a. a -> Array a

Create an array of one element

singleton 2 = [2]
P purescript-arrays M Data.Array
oneOf :: forall m f a. MonadGen m => Foldable1 f => f (m a) -> m a

Creates a generator that outputs a value chosen from a selection of existing generators with uniform probability.

P purescript-gen M Control.Monad.Gen
parOneOf :: forall a t m f. Parallel f m => Alternative f => Foldable t => Functor t => t (m a) -> m a

Race a collection in parallel.

P purescript-parallel M Control.Parallel
wrapFree :: forall f m a. MonadFree f m => f (m a) -> m a
P purescript-free M Control.Monad.Free.Class
concat :: forall buf m. MutableBuffer buf m => Array buf -> m buf

Concatenates a list of buffers.

P purescript-node-buffer M Node.Buffer.Class
integrateM :: forall a stM m base. Applicative base => MonadBaseControl base m stM => m (stM a) -> m a

Pack a state belonging to m back into it, instead of throwing it away

P purescript-monad-control M Control.Monad.Trans.Control
restoreM :: forall base m stM a. MonadBaseControl base m stM => base (stM a) -> m a
P purescript-monad-control M Control.Monad.Trans.Control
keepLatest :: forall event a. IsEvent event => event (event a) -> event a
P purescript-hyrule M FRP.Event.Class
divisors :: forall a. Semiring a => EuclideanRing a => Eq a => Ord a => a -> Array a

All the divisors of a positive integer

P purescript-sparse-polynomials M Data.Sparse.Polynomial
from :: forall a t. a -> Array t

Given a pseudoarray, turns it into a proper array

P purescript-ffi-simple M FFI.Simple.PseudoArray
keepLatest :: forall event a. IsEvent event => event (event a) -> event a
P purescript-event M FRP.Event.Class
join :: forall v m c. HasBind c m => HasIdentity c => ObjectOf c (m v) => m (m v) -> m v
P purescript-subcategory M Control.Subcategory.Functor.HasBind
toArrayOf :: forall s t a b @sym lenses. IsSymbol sym => ParseSymbol sym lenses => ConstructBarlow lenses (Forget (Endo Function (List a))) s t a b => s -> Array a
P purescript-barlow-lens M Data.Lens.Barlow.Helpers
choice :: forall a g f. Foldable f => Alt g => Plus g => f (g a) -> g a
P purescript-simple-parser M Text.Parsing.Simple
flatten :: forall b a. HasChain a => a (a b) -> a b

Removes a level of nesting from a container.

flatten [[1, 2], [3, 4]] -- [1, 2, 3, 4]
P purescript-neon M Neon.Helper
oneOf :: forall a m f. Foldable f => Alternative m => f (m a) -> m a
P purescript-parsers M Text.Parsing.Combinators
toArray :: forall a b. HasToArray a b => a -> Array b
P purescript-neon M Neon.Class.HasToArray
warbler :: forall m a. Bind m => m (m a) -> m a

W combinator - warbler - omega

MM

Λ a b . (a → a → b) → a → b

λ f x . f x x

P purescript-birds M Aviary.Birds
pure :: forall f a. Applicative f => a -> f a
P purescript-prelude M Control.Applicative
forever :: forall m a b. MonadRec m => m a -> m b

forever runs an action indefinitely, using the MonadRec instance to ensure constant stack usage.

For example:

main = forever $ trace "Hello, World!"
P purescript-tailrec M Control.Monad.Rec.Class
singleton :: forall f a. Unfoldable1 f => a -> f a

Contain a single value. For example:

singleton "foo" == (NEL.singleton "foo" :: NEL.NonEmptyList String)
P purescript-unfoldable M Data.Unfoldable1
proof :: forall a b p. TypeEquals a b => p a -> p b
P purescript-type-equality M Type.Equality
fold :: forall m. Monoid m => Array m -> m
P purescript-arrays M Data.Array
head :: forall a. Partial => Array a -> a

Get the first element of a non-empty array.

Running time: O(1).

P purescript-arrays M Data.Array.Partial
last :: forall a. Partial => Array a -> a

Get the last element of a non-empty array.

Running time: O(1).

P purescript-arrays M Data.Array.Partial
elements :: forall m f a. MonadGen m => Foldable1 f => f a -> m a

Creates a generator that outputs a value chosen from a selection with uniform probability.

P purescript-gen M Control.Monad.Gen
downFrom :: forall a u. Enum a => Unfoldable u => a -> u a

Produces all predecessors of an Enum value, excluding the start value.

P purescript-enums M Data.Enum
downFromIncluding :: forall a u. Enum a => Unfoldable1 u => a -> u a

Produces all predecessors of an Enum value, including the start value.

downFromIncluding top will return all values in an Enum, in reverse order.

P purescript-enums M Data.Enum
upFrom :: forall a u. Enum a => Unfoldable u => a -> u a

Produces all successors of an Enum value, excluding the start value.

P purescript-enums M Data.Enum
upFromIncluding :: forall a u. Enum a => Unfoldable1 u => a -> u a

Produces all successors of an Enum value, including the start value.

upFromIncluding bottom will return all values in an Enum.

P purescript-enums M Data.Enum
coerce :: forall f a b. Contravariant f => Functor f => f a -> f b
P purescript-contravariant M Data.Functor.Contravariant
throwError :: forall e m a. MonadThrow e m => e -> m a
P purescript-transformers M Control.Monad.Error.Class
inj :: forall f g a. Inject f g => f a -> g a
P purescript-functors M Data.Functor.Coproduct.Inject
join :: forall f m a. MonadFork f m => f a -> m a
P purescript-fork M Control.Monad.Fork.Class
uninterruptible :: forall e f m a. MonadBracket e f m => m a -> m a
P purescript-fork M Control.Monad.Fork.Class
cleared :: forall f a b. Filterable f => f a -> f b

Filter out all values.

P purescript-filterable M Data.Filterable
liftBase :: forall b m a. MonadBase b m => b a -> m a
P purescript-monad-control M Control.Monad.Base
length :: forall sproxy proxy a b. Length a b => sproxy a -> proxy b
P purescript-typelevel-peano M Type.Data.Peano.Nat.Parse
parseInt :: forall sproxy proxy sym a. ParseInt sym a => sproxy sym -> proxy a

parse Int a Value-Level

parseInt (Proxy  :: _ "-1337") ~> N1337
parseInt (SProxy :: _ "-1337") ~> N1337
    -- N1137 would be type alias for Neg (Succ^1337 Z)
P purescript-typelevel-peano M Type.Data.Peano.Int.Parse
parseNat :: forall sproxy proxy sym a. ParseNat sym a => sproxy sym -> proxy a

value-level parse of number

parseNat (Proxy  "10") ~> D10
parseNat (SProxy "10") ~> D10
P purescript-typelevel-peano M Type.Data.Peano.Nat.Parse
folded :: forall event a. IsEvent event => Monoid a => event a -> event a

Combine subsequent events using a Monoid.

P purescript-hyrule M FRP.Event.Class
lambek :: forall t f. Recursive t f => Corecursive t f => t -> f t
P purescript-matryoshka M Matryoshka.Fold
project :: forall t f. Recursive t f => t -> f t
P purescript-matryoshka M Matryoshka.Class.Recursive
folded :: forall a event. IsEvent event => Monoid a => event a -> event a

Combine subsequent events using a Monoid.

P purescript-event M FRP.Event.Class