Search results

elem :: forall a f. Foldable f => Eq a => a -> f a -> Boolean

Test whether a value is an element of a data structure.

P purescript-foldable-traversable M Data.Foldable
notElem :: forall a f. Foldable f => Eq a => a -> f a -> Boolean

Test whether a value is not an element of a data structure.

P purescript-foldable-traversable M Data.Foldable
contains :: forall b a. HasEqual b => HasReduce a => b -> a b -> Boolean

Returns true if the container contains the element.

[1, 2, 3] :contains 2 -- true
[1, 0, 3] :contains 2 -- false
P purescript-neon M Neon.Helper
intercalate :: forall f m. Foldable f => Monoid m => m -> f m -> m

Fold a data structure, accumulating values in some Monoid, combining adjacent elements using the specified separator.

For example:

> intercalate ", " ["Lorem", "ipsum", "dolor"]
= "Lorem, ipsum, dolor"

> intercalate "*" ["a", "b", "c"]
= "a*b*c"

> intercalate [1] [[2, 3], [4, 5], [6, 7]]
= [2, 3, 1, 4, 5, 1, 6, 7]
P purescript-foldable-traversable M Data.Foldable
intercalate :: forall f m. Foldable1 f => Semigroup m => m -> f m -> m

Fold a data structure using a Semigroup instance, combining adjacent elements using the specified separator.

P purescript-foldable-traversable M Data.Semigroup.Foldable
surround :: forall f m. Foldable f => Semigroup m => m -> f m -> m

fold but with each element surrounded by some fixed value.

For example:

> surround "*" []
= "*"

> surround "*" ["1"]
= "*1*"

> surround "*" ["1", "2"]
= "*1*2*"

> surround "*" ["1", "2", "3"]
= "*1*2*3*"
P purescript-foldable-traversable M Data.Foldable
consMax :: forall a f. Foldable f => Ord a => a -> f a -> a
P purescript-liminal M Data.Geometry.BoundingBox
consMin :: forall a f. Foldable f => Ord a => a -> f a -> a
P purescript-liminal M Data.Geometry.BoundingBox
peek :: forall s w a. ComonadStore s w => s -> w a -> a
P purescript-transformers M Control.Comonad.Store.Class
track :: forall t w a. ComonadTraced t w => t -> w a -> a
P purescript-transformers M Control.Comonad.Traced.Class
buildLeaf :: forall e f p v. ElementBuilder e f p v => e -> f p -> v
P purescript-concur-core M Concur.Core.ElementBuilder
eq :: forall a. Eq a => a -> a -> Boolean
P purescript-prelude M Data.Eq
genericEq :: forall a rep. Generic a rep => GenericEq rep => a -> a -> Boolean

A Generic implementation of the eq member from the Eq type class.

P purescript-prelude M Data.Eq.Generic
genericEq' :: forall a. GenericEq a => a -> a -> Boolean
P purescript-prelude M Data.Eq.Generic
greaterThan :: forall a. Ord a => a -> a -> Boolean

Test whether one value is strictly greater than another.

P purescript-prelude M Data.Ord
greaterThanOrEq :: forall a. Ord a => a -> a -> Boolean

Test whether one value is non-strictly greater than another.

P purescript-prelude M Data.Ord
lessThan :: forall a. Ord a => a -> a -> Boolean

Test whether one value is strictly less than another.

P purescript-prelude M Data.Ord
lessThanOrEq :: forall a. Ord a => a -> a -> Boolean

Test whether one value is non-strictly less than another.

P purescript-prelude M Data.Ord
notEq :: forall a. Eq a => a -> a -> Boolean

notEq tests whether one value is not equal to another. Shorthand for not (eq x y).

P purescript-prelude M Data.Eq
reallyUnsafeRefEq :: forall a b. a -> b -> Boolean

Compares two values of different types using strict (===) equality.

P purescript-unsafe-reference M Unsafe.Reference
unsafeRefEq :: forall a. a -> a -> Boolean

Compares two values of the same type using strict (===) equality.

P purescript-unsafe-reference M Unsafe.Reference
instanceOf :: forall a b. a -> b -> Boolean

Checks whether an object is an instance of an invokable

P purescript-ffi-simple M FFI.Simple.Objects
inside :: forall r p n. ToRegion n r => ToPos n p => Ord n => Semiring n => r -> p -> Boolean

Checks if a position is inside a region. Size of the region should be positive. Inclusive on the lower bound, exclusive on the higher bound.

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
outside :: forall r p n. ToRegion n r => ToPos n p => Ord n => Semiring n => r -> p -> Boolean

inside, but with its result negated.

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
parallel :: forall p n. ToPos n p => EuclideanRing n => Eq n => p -> p -> Boolean

Check if two vectors are parallel

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
perpendicular :: forall p n. ToPos n p => Semiring n => Eq n => p -> p -> Boolean

Check if two vectors are perpendicular

P purescript-polymorphic-vectors M Data.Vector.Polymorphic
contains :: forall n. IsNode n => n -> n -> Boolean
P purescript-dom-simple M DOM.Simple.Node
absorption :: forall a. HeytingAlgebra a => Eq a => a -> a -> Boolean
P purescript-abides M Test.Abides.Data.HeytingAlgebra
antisymmetry :: forall a. Ord a => a -> a -> Boolean

x <= y && y <= x => x == y

P purescript-abides M Test.Abides.Data.Ord
commutative :: forall a. CommutativeRing a => Eq a => a -> a -> Boolean
P purescript-abides M Test.Abides.Data.CommutativeRing
commutative :: forall a. HeytingAlgebra a => Eq a => a -> a -> Boolean
P purescript-abides M Test.Abides.Data.HeytingAlgebra
compareHom :: forall a. BoundedEnum a => Ord a => a -> a -> Boolean

compare x y == compare (fromEnum x) (fromEnum y)

P purescript-abides M Test.Abides.Data.BoundedEnum
divides :: forall α. Eq α => EuclideanRing α => α -> α -> Boolean
P purescript-unicode-prelude M Data.EuclideanRing.Unicode
genericEq1 :: forall a. GenericEq1 a => a -> a -> Boolean
P purescript-higher-order M Data.Operator.Eq
greaterThan :: forall a. PartialOrd a => a -> a -> Boolean
P purescript-partial-order M Data.Ord.Partial
greaterThanOrEq :: forall a. PartialOrd a => a -> a -> Boolean
P purescript-partial-order M Data.Ord.Partial
integralDomain :: forall a. EuclideanRing a => Eq a => a -> a -> Boolean
P purescript-abides M Test.Abides.Data.EuclideanRing
lessThan :: forall a. PartialOrd a => a -> a -> Boolean
P purescript-partial-order M Data.Ord.Partial
lessThanOrEq :: forall a. PartialOrd a => a -> a -> Boolean
P purescript-partial-order M Data.Ord.Partial
negation :: forall a. Eq a => a -> a -> Boolean

x /= y => not (x == y)

P purescript-abides M Test.Abides.Data.Eq
notDivides :: forall α. Eq α => EuclideanRing α => α -> α -> Boolean
P purescript-unicode-prelude M Data.EuclideanRing.Unicode
quotientRemainder :: forall a. EuclideanRing a => Eq a => a -> a -> Boolean
P purescript-abides M Test.Abides.Data.EuclideanRing
submultiplicative :: forall a. EuclideanRing a => Eq a => a -> a -> Boolean
P purescript-abides M Test.Abides.Data.EuclideanRing
symmetry :: forall a. Eq a => a -> a -> Boolean

x == y => y == x?

P purescript-abides M Test.Abides.Data.Eq
_equal :: forall a. HasEqual a => a -> a -> Boolean
P purescript-neon M Neon.Operator
_greater :: forall a. HasGreater a => a -> a -> Boolean
P purescript-neon M Neon.Operator
_greaterOrEqual :: forall a. HasEqual a => HasGreater a => a -> a -> Boolean
P purescript-neon M Neon.Operator
_less :: forall a. HasLess a => a -> a -> Boolean
P purescript-neon M Neon.Operator
_lessOrEqual :: forall a. HasEqual a => HasLess a => a -> a -> Boolean
P purescript-neon M Neon.Operator
_notEqual :: forall a. HasEqual a => a -> a -> Boolean
P purescript-neon M Neon.Operator