Search results

charList :: String -> List Char
P purescript-optlicative M Node.Optlicative.Internal
toChars :: String -> List Char
P purescript-rmrk-parser M Lib.Parsing.Combinators
toChars :: forall f. Unfoldable f => String -> f Char

Turn a String into an Unfoldable container of Chars. For example:

toChars "Foo" == ['F','o','o'] :: Array Char
P purescript-yarn M Data.String.Yarn
crashWith :: forall a. Partial => String -> a

A partial function which crashes on any input with the specified message.

P purescript-partial M Partial
unsafeCrashWith :: forall a. String -> a

A function which crashes with the specified error message.

P purescript-partial M Partial.Unsafe
repeat :: forall a. a -> List a

Create a list by repeating an element

P purescript-lists M Data.List.Lazy
singleton :: forall a. a -> List a

Create a list with a single element.

Running time: O(1)

P purescript-lists M Data.List
singleton :: forall a. a -> List a

Create a list with a single element.

Running time: O(1)

P purescript-lists M Data.List.Lazy
unsafeThrow :: forall a. String -> a

Defined as unsafeThrowException <<< error.

P purescript-exceptions M Effect.Exception.Unsafe
impossible :: forall a. String -> a
P purescript-variant M Data.Variant.Internal
fromString :: forall s. IsString s => String -> s
P purescript-css M CSS.String
url :: forall a. URL a => String -> a
P purescript-css M CSS.Common
fromString :: forall a. IsString a => String -> a
P purescript-yarn M Data.String.Yarn
children :: forall t f. Recursive t f => Foldable f => t -> List t
P purescript-matryoshka M Matryoshka.Fold
readDefault :: forall a. Read a => Zero a => String -> a

Read a value a from a String but fallback on Zero a on failure

P purescript-read M Data.String.Read
text :: forall html a. Html html => String -> html a
P purescript-chameleon M Chameleon.Class
universe :: forall t f. Recursive t f => Foldable f => t -> List t
P purescript-matryoshka M Matryoshka.Fold
unsafeGlobal :: forall t. String -> t

Like global, but for when you're really sure it exists and are willing to tolerate it being quietly undefined (or plan to use the Undef module functions)

P purescript-ffi-simple M FFI.Simple.Globals
stringValue :: forall a. Value a => String -> a
P purescript-markdown M Text.Markdown.SlamDown.Syntax.Value
interp :: forall a. Interp a => String -> a

Use the derived function, i, instead of this function to do string interpolation. Otherwise, you will get a compiler error if the first value is not a String:

interp "a" 42 true == "a42true"
i      "a" 42 true == "a42true"

interp 42 "a" -- does not compile!
i      42 "a" -- compiles!
P purescript-interpolate M Data.Interpolate
string :: forall t. Corecursive t EJsonF => String -> t
P purescript-ejson M Data.Json.Extended
children :: forall a. Node a => a -> List a
P purescript-gametree M Data.GameTree
crash :: forall m a. Testable m => String -> m a
P purescript-elmish-testing-library M Elmish.Test.State
fromDefault :: forall mod m. MonadAff m => String -> m mod

Import a module with a default export

P purescript-lazy-joe M Lazy.Joe
fromString :: forall a. Utf8Encodable a => String -> a
P purescript-crypt-nacl M Crypt.NaCl.Class
fromString :: forall a. Utf8Encodable a => String -> a
P purescript-tweetnacl M Crypt.NaCl.Class
halves :: forall a. Ord a => EuclideanRing a => a -> List a

Produces a list containing the results of halving a number over and over again.

halves 30 == [30,15,7,3,1] halves 128 == [128,64,32,16,8,4,2,1] halves (-10) == [-10,-5,-2,-1]

P purescript-jack M Jack.Shrink
ident :: forall f t. Corecursive t (SqlF f) => String -> t
P purescript-sql-squared M SqlSquared.Constructors
parse :: forall a. Router a => String -> a
P purescript-grain-router M Grain.Router
parseError :: forall e. OwoifyError e => String -> e

Representing general parser error. Currently not used.

P purescript-owoify M Data.Owoify.Internal.Parser.OwoifyParser
parseSlot' :: forall a. EmptyableSlot a => String -> a
P purescript-easy-alexa M EasyAlexa
property' :: forall a. String -> a
P purescript-ffi-utils M FFI.Util
read :: forall a. Read a => Partial => String -> a
P purescript-read-generic M Data.Parse
repeat :: forall a. a -> List a
P purescript-infinite-lists M Data.List.Infinite
require :: forall a. String -> a
P purescript-ffi-utils M FFI.Util
singleton :: forall a. a -> List a

Create a list of one element

Running time: O(1).

P purescript-rrb-list M RRBList
string :: forall t. Corecursive t (SqlF EJsonF) => String -> t
P purescript-sql-squared M SqlSquared.Constructors
unexpected :: forall m a. Parsing m => String -> m a
P purescript-parsers M Text.Parsing.Classes
unsafeUnserialize :: forall m. UnserializeState m => String -> m
P purescript-flame M Flame.Serialization
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
pure :: forall f a. Applicative f => a -> f a
P purescript-prelude M Control.Applicative
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