Search results
catMaybes :: forall a. Array (Maybe a) -> Array aFilter 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]
untilJust :: forall a m. MonadRec m => m (Maybe a) -> m aSupplied computation will be executed repeatedly until it evaluates
to Just value and then that value will be returned.
whileJust :: forall a m. Monoid a => MonadRec m => m (Maybe a) -> m aWhile supplied computation evaluates to Just _, it will be
executed repeatedly and results will be combined using monoid instance.
init :: forall a. Partial => Array a -> Array aGet all but the last element of a non-empty array.
Running time: O(n), where n is the length of the array.
nub :: forall a. Ord a => Array a -> Array aRemove the duplicates from an array, creating a new array.
nub [1, 2, 1, 3, 3] = [1, 2, 3]
nubEq :: forall a. Eq a => Array a -> Array aRemove 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]
reverse :: forall a. Array a -> Array aReverse an array, creating a new array.
reverse [] = []
reverse [1, 2, 3] = [3, 2, 1]
sort :: forall a. Ord a => Array a -> Array aSort 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]
tail :: forall a. Partial => Array a -> Array aGet all but the first element of a non-empty array.
Running time: O(n), where n is the length of the array.
filtered :: forall m a. MonadRec m => MonadGen m => m (Maybe a) -> m aCreates a generator that repeatedly run another generator until it produces
Just node. This will never halt if the input generator always produces Nothing.
compact :: forall f a. Compactable f => f (Maybe a) -> f acompactDefault :: forall f a. Functor f => Compactable f => f (Maybe a) -> f anubHash :: forall a. Hashable a => Array a -> Array aRemove duplicates from an array.
Like nub from Data.Array, but uses a Hashable constraint
instead of an Ord constraint.
a_ :: forall html a. Html html => Array (html a) -> html aDefines a hyperlink [No Attributes]
a_ :: forall html a. Html html => Array (html a) -> html aCreates a hyperlink element [No Attributes]
abbr_ :: forall html a. Html html => Array (html a) -> html aDefines an abbreviation [No Attributes]
address_ :: forall html a. Html html => Array (html a) -> html aDefines contact information for the author/owner of a document [No Attributes]
altGlyph_ :: forall html a. Html html => Array (html a) -> html aDefines an alternative representation of a glyph in a font [No Attributes]
altGlyphDef_ :: forall html a. Html html => Array (html a) -> html aDefines a set of glyph substitutions for an altGlyph element [No Attributes]
altGlyphItem_ :: forall html a. Html html => Array (html a) -> html aDefines a substitution for a specific glyph in an altGlyphDef element [No Attributes]
article_ :: forall html a. Html html => Array (html a) -> html aDefines self-contained content, like blog posts or news articles [No Attributes]
aside_ :: forall html a. Html html => Array (html a) -> html aDefines content aside from the content it is placed in [No Attributes]
audio_ :: forall html a. Html html => Array (html a) -> html aDefines sound content, like music or other audio streams [No Attributes]
b_ :: forall html a. Html html => Array (html a) -> html aDefines bold text [No Attributes]
bdi_ :: forall html a. Html html => Array (html a) -> html aDefines text directionality for its children [No Attributes]
bdo_ :: forall html a. Html html => Array (html a) -> html aDefines text directionality [No Attributes]
blockquote_ :: forall html a. Html html => Array (html a) -> html aDefines a section that is quoted from another source [No Attributes]
body_ :: forall html a. Html html => Array (html a) -> html aDefines the document's body [No Attributes]
button_ :: forall html a. Html html => Array (html a) -> html aDefines a clickable button [No Attributes]
canvas_ :: forall html a. Html html => Array (html a) -> html aDefines an area that can be used to draw graphics using JavaScript [No Attributes]
caption_ :: forall html a. Html html => Array (html a) -> html aDefines a table caption [No Attributes]
cite_ :: forall html a. Html html => Array (html a) -> html aDefines the title of a work [No Attributes]
clipPath_ :: forall html a. Html html => Array (html a) -> html aDefines a clipping path for an SVG element [No Attributes]
code_ :: forall html a. Html html => Array (html a) -> html aDefines a piece of computer code [No Attributes]
colgroup_ :: forall html a. Html html => Array (html a) -> html aDefines attributes for a group of table columns [No Attributes]
colorProfile_ :: forall html a. Html html => Array (html a) -> html aDefines a color profile for an SVG document [No Attributes]
data__ :: forall html a. Html html => Array (html a) -> html aDefines machine-readable data [No Attributes]
datalist_ :: forall html a. Html html => Array (html a) -> html aDefines a list of pre-defined options for input controls [No Attributes]
dd_ :: forall html a. Html html => Array (html a) -> html aDefines a description/value of a term in a description list [No Attributes]
defs_ :: forall html a. Html html => Array (html a) -> html aDefines a set of reusable SVG elements [No Attributes]
del_ :: forall html a. Html html => Array (html a) -> html aDefines text that has been deleted from a document [No Attributes]
desc_ :: forall html a. Html html => Array (html a) -> html aDefines a description of an SVG element [No Attributes]
details_ :: forall html a. Html html => Array (html a) -> html aDefines additional details that the user can view or hide [No Attributes]
dfn_ :: forall html a. Html html => Array (html a) -> html aDefines a definition term [No Attributes]
dialog_ :: forall html a. Html html => Array (html a) -> html aDefines a dialog box or window [No Attributes]
div_ :: forall html a. Html html => Array (html a) -> html aDefines a section of a document [No Attributes]
dl_ :: forall html a. Html html => Array (html a) -> html aDefines a description list [No Attributes]
dt_ :: forall html a. Html html => Array (html a) -> html aDefines a term in a description list [No Attributes]
em_ :: forall html a. Html html => Array (html a) -> html aDefines emphasized text [No Attributes]
feMerge_ :: forall html a. Html html => Array (html a) -> html aMerges multiple input images together [No Attributes]
fieldset_ :: forall html a. Html html => Array (html a) -> html aGroups related form elements [No Attributes]
figcaption_ :: forall html a. Html html => Array (html a) -> html aDefines a caption for a <figure> element [No Attributes]
figure_ :: forall html a. Html html => Array (html a) -> html aDefines self-contained content, like images or diagrams [No Attributes]
filter_ :: forall html a. Html html => Array (html a) -> html aDefines a filter effect [No Attributes]
footer_ :: forall html a. Html html => Array (html a) -> html aDefines a footer for a document or section [No Attributes]
foreignObject_ :: forall html a. Html html => Array (html a) -> html aInserts a foreign object into an SVG document [No Attributes]
form_ :: forall html a. Html html => Array (html a) -> html aDefines an HTML form for user input [No Attributes]
g_ :: forall html a. Html html => Array (html a) -> html aCreates a group of SVG elements [No Attributes]
glyph_ :: forall html a. Html html => Array (html a) -> html aDefines a single glyph in an SVG font [No Attributes]
h1_ :: forall html a. Html html => Array (html a) -> html aDefines a heading level 1 [No Attributes]
h2_ :: forall html a. Html html => Array (html a) -> html aDefines a heading level 2 [No Attributes]
h3_ :: forall html a. Html html => Array (html a) -> html aDefines a heading level 3 [No Attributes]
h4_ :: forall html a. Html html => Array (html a) -> html aDefines a heading level 4 [No Attributes]
h5_ :: forall html a. Html html => Array (html a) -> html aDefines a heading level 5 [No Attributes]
h6_ :: forall html a. Html html => Array (html a) -> html aDefines a heading level 6 [No Attributes]
hatch_ :: forall html a. Html html => Array (html a) -> html aDefines a hatching pattern [No Attributes]
head_ :: forall html a. Html html => Array (html a) -> html aDefines information about the document [No Attributes]
header_ :: forall html a. Html html => Array (html a) -> html aDefines a header for a document or section [No Attributes]
html_ :: forall html a. Html html => Array (html a) -> html aDefines the root of an HTML document [No Attributes]
i_ :: forall html a. Html html => Array (html a) -> html aDefines italic text [No Attributes]
iframe_ :: forall html a. Html html => Array (html a) -> html aDefines an inline frame for embedding external content [No Attributes]
ins_ :: forall html a. Html html => Array (html a) -> html aDefines text that has been inserted into a document [No Attributes]
kbd_ :: forall html a. Html html => Array (html a) -> html aDefines keyboard input [No Attributes]
label_ :: forall html a. Html html => Array (html a) -> html aDefines a label for an <input> element [No Attributes]
legend_ :: forall html a. Html html => Array (html a) -> html aDefines a caption for a <fieldset> element [No Attributes]
li_ :: forall html a. Html html => Array (html a) -> html aDefines a list item [No Attributes]
linearGradient_ :: forall html a. Html html => Array (html a) -> html aDefines a linear gradient for an SVG element [No Attributes]
main_ :: forall html a. Html html => Array (html a) -> html aDefines the main content of a document [No Attributes]
map_ :: forall html a. Html html => Array (html a) -> html aDefines an image map [No Attributes]
mark_ :: forall html a. Html html => Array (html a) -> html aDefines marked/highlighted text [No Attributes]
marker_ :: forall html a. Html html => Array (html a) -> html aDefines a marker symbol to be used with a shape or line [No Attributes]
mask_ :: forall html a. Html html => Array (html a) -> html aDefines a mask for an SVG element [No Attributes]
menu_ :: forall html a. Html html => Array (html a) -> html aDefines a list/menu of commands [No Attributes]
meter_ :: forall html a. Html html => Array (html a) -> html aDefines a scalar measurement within a known range [No Attributes]
mpath_ :: forall html a. Html html => Array (html a) -> html aThe mpath element provides a way to animate the motion of an object along a path. [No Attributes]
nav_ :: forall html a. Html html => Array (html a) -> html aDefines a navigation menu [No Attributes]
noscript_ :: forall html a. Html html => Array (html a) -> html aDefines an alternate content for users that do not support client-side scripts [No Attributes]
object_ :: forall html a. Html html => Array (html a) -> html aDefines a container for external application or interactive content [No Attributes]
ol_ :: forall html a. Html html => Array (html a) -> html aDefines an ordered list [No Attributes]
optgroup_ :: forall html a. Html html => Array (html a) -> html aDefines a group of related options in a drop-down list [No Attributes]
option_ :: forall html a. Html html => Array (html a) -> html aDefines an option in a drop-down list [No Attributes]
output_ :: forall html a. Html html => Array (html a) -> html aDefines the result of a calculation [No Attributes]
p_ :: forall html a. Html html => Array (html a) -> html aDefines a paragraph [No Attributes]
pattern_ :: forall html a. Html html => Array (html a) -> html aThe pattern element defines a repeating pattern to be used as a fill or stroke. [No Attributes]
picture_ :: forall html a. Html html => Array (html a) -> html aDefines a container for multiple image resources [No Attributes]
pre_ :: forall html a. Html html => Array (html a) -> html aDefines preformatted text [No Attributes]
progress_ :: forall html a. Html html => Array (html a) -> html aRepresents the progress of a task [No Attributes]
q_ :: forall html a. Html html => Array (html a) -> html aDefines a short quotation [No Attributes]
radialGradient_ :: forall html a. Html html => Array (html a) -> html aThe radialGradient element defines a radial gradient to be used as a fill or stroke. [No Attributes]
rb_ :: forall html a. Html html => Array (html a) -> html aDefines a ruby base (character) for a ruby annotation [No Attributes]
rp_ :: forall html a. Html html => Array (html a) -> html aDefines what to show in browsers that do not support ruby annotations [No Attributes]
rt_ :: forall html a. Html html => Array (html a) -> html aDefines a ruby text (annotation) for a ruby annotation [No Attributes]
rtc_ :: forall html a. Html html => Array (html a) -> html aDefines a ruby text container for a ruby annotation [No Attributes]
ruby_ :: forall html a. Html html => Array (html a) -> html aDefines a ruby annotation (for East Asian typography) [No Attributes]
s_ :: forall html a. Html html => Array (html a) -> html aDefines strikethrough text [No Attributes]
samp_ :: forall html a. Html html => Array (html a) -> html aDefines sample output from a computer program [No Attributes]
script_ :: forall html a. Html html => Array (html a) -> html aThe script element contains script statements. [No Attributes]
section_ :: forall html a. Html html => Array (html a) -> html aDefines a section in a document [No Attributes]
select_ :: forall html a. Html html => Array (html a) -> html aDefines a drop-down list [No Attributes]
slot_ :: forall html a. Html html => Array (html a) -> html aDefines a slot for content in a web component [No Attributes]
small_ :: forall html a. Html html => Array (html a) -> html aDefines smaller text [No Attributes]
span_ :: forall html a. Html html => Array (html a) -> html aDefines a small section of text [No Attributes]
strong_ :: forall html a. Html html => Array (html a) -> html aDefines important text [No Attributes]
style_ :: forall html a. Html html => Array (html a) -> html aDefines style information for a document [No Attributes]
style_ :: forall html a. Html html => Array (html a) -> html aThe style element contains style information for a document or part of a document. [No Attributes]
sub_ :: forall html a. Html html => Array (html a) -> html aDefines subscripted text [No Attributes]
summary_ :: forall html a. Html html => Array (html a) -> html aDefines a visible heading for a <details> element [No Attributes]
sup_ :: forall html a. Html html => Array (html a) -> html aDefines superscripted text [No Attributes]
svg_ :: forall html a. Html html => Array (html a) -> html aThe svg element is the root element of an SVG document. [No Attributes]
switch_ :: forall html a. Html html => Array (html a) -> html aThe switch element allows conditional processing of SVG elements. [No Attributes]
symbol_ :: forall html a. Html html => Array (html a) -> html aThe symbol element defines a reusable graphic element. [No Attributes]
table_ :: forall html a. Html html => Array (html a) -> html aDefines a table [No Attributes]
tbody_ :: forall html a. Html html => Array (html a) -> html aGroups the body content in a table [No Attributes]
td_ :: forall html a. Html html => Array (html a) -> html aDefines a cell in a table [No Attributes]
template_ :: forall html a. Html html => Array (html a) -> html aDefines a container for content that should be hidden when the page loads [No Attributes]
text_ :: forall html a. Html html => Array (html a) -> html aThe text element defines a block of text to be drawn. [No Attributes]
textarea_ :: forall html a. Html html => Array (html a) -> html aDefines a multiline input control [No Attributes]
textPath_ :: forall html a. Html html => Array (html a) -> html aThe textPath element provides a way to align text along a path. [No Attributes]
tfoot_ :: forall html a. Html html => Array (html a) -> html aGroups the footer content in a table [No Attributes]
th_ :: forall html a. Html html => Array (html a) -> html aDefines a header cell in a table [No Attributes]
thead_ :: forall html a. Html html => Array (html a) -> html aGroups the header content in a table [No Attributes]
time_ :: forall html a. Html html => Array (html a) -> html aDefines a date/time [No Attributes]
title_ :: forall html a. Html html => Array (html a) -> html aDefines a title for the document [No Attributes]
title_ :: forall html a. Html html => Array (html a) -> html aThe title element provides a title for a document or part of a document. [No Attributes]
tr_ :: forall html a. Html html => Array (html a) -> html aDefines a row in a table [No Attributes]
tspan_ :: forall html a. Html html => Array (html a) -> html aThe tspan element provides a way to group a portion of text within a larger block of text. [No Attributes]
u_ :: forall html a. Html html => Array (html a) -> html aDefines underlined text [No Attributes]
ul_ :: forall html a. Html html => Array (html a) -> html aDefines an unordered list [No Attributes]
use_ :: forall html a. Html html => Array (html a) -> html aThe use element provides a way to reuse a single element and apply transformations to it. [No Attributes]
var_ :: forall html a. Html html => Array (html a) -> html aDefines a variable [No Attributes]
video_ :: forall html a. Html html => Array (html a) -> html aDefines a video [No Attributes]
view_ :: forall html a. Html html => Array (html a) -> html aThe view element defines a rectangular portion of the SVG canvas that should be displayed. [No Attributes]
defaultOrr :: forall a m. Plus m => Array (m a) -> m aorr :: forall m a. MultiAlternative m => Array (m a) -> m auntilJust :: forall m a. Monad m => m (Maybe a) -> m aRun the supplied Maybe computation repeatedly until it returns a value. Returns that value.
untilJust :: forall m a. MonadRec m => m (Maybe a) -> m aRun the supplied "Maybe" computation repeatedly until it returns a value. Returns that value.
createFragmentNode :: forall html message. Array (html message) -> html messageextent :: forall m. Magnitude m => Array m -> Array mgetOutgoingTransactions :: forall a. Directional a => Array a -> Array ainitMonoid :: forall m. Monoid m => Array m -> Array mlower :: forall a f. Rebuildable f => f (Maybe a) -> f anonNull :: forall a t. GraphQLType (t (Maybe a)) => t (Maybe a) -> t aThis 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(...)
ordNub :: forall a. Ord a => Array a -> Array auntilSuccessful :: forall a m. Monad m => m (Maybe a) -> m ajoin :: forall a m. Bind m => m (m a) -> m aCollapse two applications of a monadic type constructor into one.
oneOf :: forall f g a. Foldable f => Plus g => f (g a) -> g aCombines a collection of elements using the Alt operation.
singleton :: forall a. a -> Array aCreate an array of one element
singleton 2 = [2]
oneOf :: forall m f a. MonadGen m => Foldable1 f => f (m a) -> m aCreates a generator that outputs a value chosen from a selection of existing generators with uniform probability.
parOneOf :: forall a t m f. Parallel f m => Alternative f => Foldable t => Functor t => t (m a) -> m aRace a collection in parallel.
wrapFree :: forall f m a. MonadFree f m => f (m a) -> m aconcat :: forall buf m. MutableBuffer buf m => Array buf -> m bufConcatenates a list of buffers.
integrateM :: forall a stM m base. Applicative base => MonadBaseControl base m stM => m (stM a) -> m aPack a state belonging to m back into it, instead of throwing it away
restoreM :: forall base m stM a. MonadBaseControl base m stM => base (stM a) -> m adivisors :: forall a. Semiring a => EuclideanRing a => Eq a => Ord a => a -> Array aAll the divisors of a positive integer
keepLatest :: forall event a. IsEvent event => event (event a) -> event afrom :: forall a t. a -> Array tGiven a pseudoarray, turns it into a proper array
keepLatest :: forall event a. IsEvent event => event (event a) -> event ajoin :: forall v m c. HasBind c m => HasIdentity c => ObjectOf c (m v) => m (m v) -> m vtoArrayOf :: 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 achoice :: forall a g f. Foldable f => Alt g => Plus g => f (g a) -> g aflatten :: forall b a. HasChain a => a (a b) -> a bRemoves a level of nesting from a container.
flatten [[1, 2], [3, 4]] -- [1, 2, 3, 4]
oneOf :: forall a m f. Foldable f => Alternative m => f (m a) -> m atoArray :: forall a b. HasToArray a b => a -> Array bwarbler :: forall m a. Bind m => m (m a) -> m aW combinator - warbler - omega
MM
Λ a b . (a → a → b) → a → b
λ f x . f x x
pure :: forall f a. Applicative f => a -> f aforever :: forall m a b. MonadRec m => m a -> m bforever runs an action indefinitely, using the MonadRec instance to
ensure constant stack usage.
For example:
main = forever $ trace "Hello, World!"
singleton :: forall f a. Unfoldable1 f => a -> f aContain a single value. For example:
singleton "foo" == (NEL.singleton "foo" :: NEL.NonEmptyList String)
proof :: forall a b p. TypeEquals a b => p a -> p bfold :: forall m. Monoid m => Array m -> mhead :: forall a. Partial => Array a -> aGet the first element of a non-empty array.
Running time: O(1).
last :: forall a. Partial => Array a -> aGet the last element of a non-empty array.
Running time: O(1).
elements :: forall m f a. MonadGen m => Foldable1 f => f a -> m aCreates a generator that outputs a value chosen from a selection with uniform probability.
downFrom :: forall a u. Enum a => Unfoldable u => a -> u aProduces all predecessors of an Enum value, excluding the start value.
downFromIncluding :: forall a u. Enum a => Unfoldable1 u => a -> u aProduces all predecessors of an Enum value, including the start value.
downFromIncluding top will return all values in an Enum, in reverse
order.
upFrom :: forall a u. Enum a => Unfoldable u => a -> u aProduces all successors of an Enum value, excluding the start value.
upFromIncluding :: forall a u. Enum a => Unfoldable1 u => a -> u aProduces all successors of an Enum value, including the start value.
upFromIncluding bottom will return all values in an Enum.
coerce :: forall f a b. Contravariant f => Functor f => f a -> f bthrowError :: forall e m a. MonadThrow e m => e -> m ainj :: forall f g a. Inject f g => f a -> g ajoin :: forall f m a. MonadFork f m => f a -> m auninterruptible :: forall e f m a. MonadBracket e f m => m a -> m acleared :: forall f a b. Filterable f => f a -> f bFilter out all values.
liftBase :: forall b m a. MonadBase b m => b a -> m alength :: forall sproxy proxy a b. Length a b => sproxy a -> proxy bparseInt :: forall sproxy proxy sym a. ParseInt sym a => sproxy sym -> proxy aparse Int a Value-Level
parseInt (Proxy  :: _ "-1337") ~> N1337
parseInt (SProxy :: _ "-1337") ~> N1337
    -- N1137 would be type alias for Neg (Succ^1337 Z)
parseNat :: forall sproxy proxy sym a. ParseNat sym a => sproxy sym -> proxy avalue-level parse of number
parseNat (Proxy  "10") ~> D10
parseNat (SProxy "10") ~> D10
folded :: forall event a. IsEvent event => Monoid a => event a -> event aCombine subsequent events using a Monoid.
lambek :: forall t f. Recursive t f => Corecursive t f => t -> f tproject :: forall t f. Recursive t f => t -> f tfolded :: forall a event. IsEvent event => Monoid a => event a -> event aCombine subsequent events using a Monoid.
sequenceProduct :: forall specI specO f. SequenceProduct specI specO f => specI -> f specOsort :: forall f a. Functor f => Foldable f => Unfoldable f => Ord a => f a -> f aSort any structure (which has Foldable, Unfoldable, and Functor instances) by converting to an OrdSeq and back again. I am fairly sure this is usually O(n*log(n)), although of course this depends on the Unfoldable and Foldable instances.
init :: forall xs ys lproxy. Init xs ys => lproxy xs -> lproxy yslength :: forall xs r lproxy iproxy. Length xs r => lproxy xs -> iproxy rpure :: forall v f c. HasPure c f => ObjectOf c v => v -> f vrestoreAfter :: forall m a. MonadCanvasAction m => m a -> m aRuns save, then the provided action, then restore
array :: forall t. Corecursive t EJsonF => Array t -> tbottom1_ :: forall f a. Bottom1_ f => a -> f abottom2 :: forall f a b. Bottom2 f a => a -> f btop1_ :: forall f a. Top1_ f => a -> f aact :: forall m b a. Mother m => a -> m bdrain :: forall a s n n1. ToString n1 s => IsSymbol s => Analytic (a n) => Analytic (a n1) => Add n1 1 n => a n -> a n1Decrement the dimension of a point/vector by removing its last coordinate.
dsingleton :: forall cnt a. Diff cnt => a -> cnt afetchAll :: forall m t. MonadCursor m t => m (Array t)Fetch all remaining rows from the cursor
forever :: forall b a m. Monad m => m a -> m bfromArray :: forall a b. HasFromArray a b => Array a -> bimmerse :: forall a n n1. Analytic (a n) => Analytic (a n1) => Add n 1 n1 => a n -> a n1Increments the dimension of a point/vector by adding a zero coordinate after the other coordinates.
lookAhead :: forall m a. LookAheadParsing m => m a -> m amax :: forall m. Magnitude m => Array m -> mmin :: forall m. Magnitude m => Array m -> mmockFun :: forall params fun verifyParams m. MockBuilder params fun verifyParams => MonadEffect m => params -> m funnormalTo :: forall a. EuclideanSpace a => Array a -> aBuilds the n-dimensioned vector needed for the provided array of (n-1) n-dimensioned independant vectors to be a R^n basis.
once :: forall a m. MonadLogic m => m a -> m aproduct :: forall a r. Arith a a a r => Array a -> aproduct :: forall a. Array a -> apure :: forall d a. Syntax d => Eq a => a -> d apure :: forall f a. Unital Function Unit Unit f => Functor f => a -> f apure :: forall a b. HasPure a => b -> a bpure :: forall f a. Applicative f => a -> f aquery :: forall m q r. MonadSession m => AsQuery q => FromRows r => q -> m rExecutes a query and unmarshals the result into r
read :: forall box val m. Read box val => MonadDelay m => box -> m valRead the current value. Will never cause a refresh.
repeat :: forall a u. Unfoldable1 u => a -> u aCreate an infinite Unfoldable1 by repeating a single element.
siteClock :: forall s m i c. Site s m i c => s -> m csiteId :: forall s m i c. Site s m i c => s -> m isum :: forall a r. Arith a a a r => Array a -> asum :: forall a. Array a -> athrow :: forall (t10 :: Type -> Type) (t11 :: Type) (a12 :: Type). MonadThrow Error t10 => Show a12 => a12 -> t10 t11try :: forall m a. Parsing m => m a -> m aunfold :: forall f a s. Convert s (Statements a) => Unfoldable1 f => s -> f aunsafeHead :: forall a. Array a -> aGet the first element in an array. Passing Nothing to unsafeHead will throw an error at
runtime.
abs :: forall a. Ord a => Ring a => a -> aThe absolute value function. abs x is defined as if x >= zero then x
else negate x.
from :: forall a rep. Generic a rep => a -> repgenericNot :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a -> aA Generic implementation of the not member from the HeytingAlgebra type class.
genericNot' :: forall a. GenericHeytingAlgebra a => a -> anegate :: forall a. Ring a => a -> anegate x can be used as a shorthand for zero - x.
not :: forall a. HeytingAlgebra a => a -> arecip :: forall a. DivisionRing a => a -> asignum :: forall a. Ord a => Ring a => a -> aThe 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.
to :: forall a rep. Generic a rep => rep -> aunwrap :: forall t a. Newtype t a => t -> aNo further results.