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.

genericShow' :: forall a. GenericShow a => a -> String
show :: forall a. Show a => a -> String
toJsonString :: forall t. EncodeJson t => t -> String

Encode and stringify a type in one step.

unsafeStringify :: forall a. a -> String
writeJSON :: forall a. WriteForeign a => a -> String

Write a JSON string from a type a.

encodeJSON :: forall a. Encode a => a -> String

Encode a JSON string using an Encode instance.

unsafeStringify :: forall a. a -> String
writeJSON :: forall a. WriteForeign a => a -> String

Write a JSON string from a type a.

printHeader :: forall a. HeaderValue a => a -> String
defaultMessage :: forall error. error -> String
defaultName :: forall error. error -> String
message :: forall error. Error error => error -> String
name :: forall error. Error error => error -> String
toAttrib :: forall a. IsAttrib a => a -> String
toAttrib :: forall a. IsAttrib a => a -> String
toAttrValue :: forall a. ToAttributeValue a => a -> String
code :: forall error. NodeError error => error -> String
defaultCode :: forall error. error -> String
defaultStack :: forall error. error -> String
localName :: forall el. IsElement el => el -> String
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.

stack :: forall error. NodeError error => error -> String
tagName :: forall el. IsElement el => el -> String
typeOf :: forall a. a -> String

Gets the type of an object with javascript typeof

unsafeJsonStringify :: forall a. a -> String
fmtVar :: forall a. FormatVar a => a -> String
renderValue :: forall a. Value a => a -> String
stringifyKey :: forall a. GrainKey a => a -> String
toHeader :: forall x. ToHeader x => x -> String
toPathPiece :: forall x. ToPathPiece x => x -> String
innerHTML :: forall e. IsElement e => e -> String
name :: forall n. IsNode n => n -> String
textContent :: forall n. IsNode n => n -> String
toColorRep :: forall color. CanvasColor color => color -> String
toText :: forall a. DotLang a => a -> String
type' :: forall e. IsEvent e => e -> String

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

encodeJSON :: forall a. Encode a => a -> String

Encode a JSON string using an Encode instance.

encodeKey :: forall a. EncodeKey a => a -> String
fmt :: forall @tmpl segments input. IsSymbol tmpl => ParseTemplate tmpl segments => RenderInput segments input => input -> String
format :: forall @tmpl segments input. IsSymbol tmpl => ParseTemplate tmpl segments => RenderInput segments input => input -> String
getKey :: forall a. HasKey a => a -> String
interpolate :: forall a. Interpolate a => a -> String
mergeDecl :: forall a. IsDecl a => a -> String
renderEJson :: forall t. Recursive t EJsonF => t -> String
serializeParam :: forall a. SerializeParam a => a -> String
structName :: forall a. a -> String

Gets the contructor name for the type

toDiffString :: forall a. Diffable a => a -> String
toString :: forall a. Serializable a => a -> String
unsafeEventValue :: forall event. event -> String
unsafeStringify :: forall a. a -> String

Uses the global JSON object to turn anything into a string. Careful! Trying to serialize functions returns undefined

_alignmentFocusName :: forall p. IsPanel p => p -> String
_background :: forall g. IsGraphObject g => g -> String
_category :: forall p. IsPart p => p -> String
_currentCursor :: forall d. IsDiagram d => d -> String
_cursor :: forall g. IsGraphObject g => g -> String
_dataFormat :: forall m. IsModel m => m -> String
_defaultCursor :: forall d. IsDiagram d => d -> String
_defaultRowSeparatorStroke :: forall p. IsPanel p => p -> String
_export :: forall a. IsTreeItem a => a -> String
_layerName :: forall p. IsPart p => p -> String
_linkingCursor :: forall t. IsLinkingBaseTool t => t -> String
_locationObjectName :: forall p. IsPart p => p -> String
_name :: forall g. IsGraphObject g => g -> String
_name :: forall m. IsModel m => m -> String
_name :: forall t. IsTool t => t -> String
_nodeKeyProperty :: forall m. IsModel m => m -> String
_renderer :: forall d. IsDiagram d => d -> String
_resizeObjectName :: forall p. IsPart p => p -> String
_rotateObjectName :: forall p. IsPart p => p -> String
_selectionObjectName :: forall p. IsPart p => p -> String
_shadowColor :: forall p. IsPart p => p -> String
_text :: forall p. IsPart p => p -> String
animationName :: forall a. IsAnimation a => a -> String
classNames :: forall a. ClassNames a => a -> String
code :: forall a. IsKeyboard a => a -> String

d

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

Day of month - with digits

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

Day of month - two digits

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

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

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

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

defaultEncodeJSON :: forall b a. Generic a b => GenericEncode b => a -> String
defaultHttpVersion :: forall message. message -> String
defaultPrintEnum :: forall a ty. CustomEnum a ty => a -> String
defaultUniqueId :: forall e. Events e => e -> String
dump :: forall a. Dump a => a -> String
encode :: forall a. CookieEncoder a => a -> String
encode' :: forall a. EncodeJson a => a -> String
encodeBody :: forall body. EncodeBody body => body -> String
encodeParam :: forall a. EncodeParam a => a -> String
encodeResponse :: forall response. IsResponse response => response -> String
encodeYml :: forall a. EncodeJson a => a -> String
encodeYml :: forall a. EncodeJson a => a -> String
enumToString :: forall rep. GqlEnumResolve rep => rep -> String
fmt :: forall @sym sym' head tail replace. Parse DefaultConfig head tail replace => Append sym EOF sym' => Cons head tail sym' => replace -> String
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
foldLabel :: forall a. IsSvgTreeItem a => a -> String
format :: forall a. Format a => a -> String
formatQueryString :: forall b a. Newtype a b => ToQueryString b => a -> String
from :: forall a. StringArg a => a -> String
genericPrintEnum :: forall a g. Generic a g => GenericCustomEnum g => a -> String
genericPrintEnum' :: forall a. GenericCustomEnum a => a -> String
genericToString :: forall rep. GenericToString rep => rep -> String
getAddress :: forall a. Address a => a -> String
getKey :: forall a. Storable a => a -> String

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

getTagName :: forall a. GetTagName a => a -> String
getTagNameImpl :: forall rep. GetTagNameImpl rep => rep -> String
headerValueEncode :: forall a. TypedHeader a => a -> String
hh :: forall a. HasTime a => a -> String

Hours with two digits - in 24h format

httpVersion :: forall message. IncomingMessage message => message -> String
inspect :: forall a. HasInspect a => a -> String
jsonStringify :: forall a. a -> String
key :: forall a. Storable a => a -> String

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

key :: forall a. IsKeyboard a => a -> String

m

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

Month with digits

mi :: forall a. HasTime a => a -> String

Minutes with two digits

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

Month with two digits

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

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

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

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

nameList :: forall fieldNames. NameList fieldNames => fieldNames -> String
nodeName :: forall n. NodeOp n => n -> String
pointerType :: forall a. IsPointer a => a -> String
printEnum :: forall a ty. CustomEnum a ty => a -> String
printYAML :: forall a. ToYAML a => a -> String
propertyName :: forall a. IsTransition a => a -> String
pseudoElement :: forall a. IsAnimation a => a -> String
renderExpectedParams :: forall params. MatchParams params => params -> String
renderString :: forall a. Render a => a -> String
serialize :: forall m. SerializeState m => m -> String
serialize :: forall a. Serializable a => a -> String
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.

showDebug :: forall a. ShowDebug a => a -> String
showInt :: forall a. BoundedEnum a => a -> String
showStructure :: forall s. Structure s => s -> String
showWithoutQuotes :: forall a. Show a => a -> String
ss :: forall a. HasTime a => a -> String

Seconds with two digits

toDiffString :: forall a. Diffable a => a -> String
toDoc :: forall a. Loggable a => a -> String
toDotStr :: forall a. ToDotStr a => a -> String
toFlowRep' :: forall a. HasFlowRep a => a -> String

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

toGqlAndArgsStringImpl :: forall q. GqlAndArgsString q => q -> String
toGqlArgString :: forall q. GqlArgString q => q -> String
toGqlArgStringImpl :: forall q. GqlArgString q => q -> String
toGqlQueryString :: forall q. GqlQueryString q => q -> String

Generate a GraphQL query from its purs representation

toGqlQueryStringFormatted :: forall q. GqlQueryString q => q -> String

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

toHex :: forall a. ToHex a => a -> String
toJson :: forall a. EncodeJson a => a -> String
toJsonStr :: forall a. EncodeJson a => a -> String
toParam :: forall a. ToParam a => a -> String
toPath :: forall route. IsRoute route => route -> String
toPathSegment :: forall a. PathPiece a => a -> String
toPostgrest :: forall a. ToPostgrest a => a -> String
toQueryString :: forall a. ToQueryString a => a -> String
toStr :: forall a. ShouldStr a => a -> String
toString :: forall a. IsString a => a -> String
toString :: forall a. ToString a => a -> String
toString :: forall a sym. ToString a sym => a -> String
toString :: forall a. IsNumber a => a -> String
toString :: forall rep. GenericSelect rep => rep -> String
toString :: forall a. IsLength a => a -> String
toString_ :: forall a. a -> String
type' :: forall a. IsEvent a => a -> String
typeof :: forall a. a -> String
typeofk :: forall k. k -> String
uniqueId :: forall e. Events e => e -> String
unsafeStringify :: forall a. a -> String
whichBrushPatternStr :: forall k. k -> String
whichPictureElementStr :: forall k. k -> String
writeCSV :: forall a. WriteCSV a => a -> String
writeGraphQL :: forall a. WriteGraphQL a => a -> String
yyyy :: forall a. HasDate a => a -> String

Jear full - like 2020

message :: Error -> String

Get the error message from a JavaScript error

name :: Error -> String

Get the error name when defined, or fallback to 'Error'

renderFlags :: RegexFlags -> String

Returns the string representation of the given RegexFlags.

singleton :: CodePoint -> String

Creates a string containing just the given code point. Operates in constant space and time.

>>> map singleton (toEnum 0x1D400)
Just "𝐀"
singleton :: Char -> String

Returns a string of length 1 containing the given character.

singleton 'l' == "l"
source :: Regex -> String

Returns the pattern string used to construct the given Regex.

toLower :: String -> String

Returns the argument converted to lowercase.

toLower "hElLo" == "hello"
toString :: NonEmptyString -> String

Converts a NonEmptyString back into a standard String.

toUpper :: String -> String

Returns the argument converted to uppercase.

toUpper "Hello" == "HELLO"
trim :: String -> String

Removes whitespace from the beginning and end of a string, including whitespace characters and line terminators.

trim "   Hello  \n World\n\t    " == "Hello  \n World"
prettyError :: Error -> String
renderForeignError :: ForeignError -> String
tagOf :: Foreign -> String

Read the Javascript tag of a value.

This function wraps the Object.toString method.

typeOf :: Foreign -> String

Read the Javascript type of a value

toString :: Number -> String

Convert a number to a string via JavaScript's toString method.

> toString 12.34
"12.34"

> toString 1234.0
"1234"

> toString 1.2e-10
"1.2e-10"
toDateString :: JSDate -> String

Returns the date portion of a date value as a human-readable string.

toString :: JSDate -> String

Returns a string representing for a date value.

toTimeString :: JSDate -> String

Returns the time portion of a date value as a human-readable string.

toUTCString :: JSDate -> String

Returns the date as a string using the UTC timezone.

printSummary :: ResultSummary -> String

Print a one-line summary in the form "x/y test(s) passed."

localName :: Element -> String
name :: DocumentType -> String
nodeName :: Node -> 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.

publicId :: DocumentType -> String
systemId :: DocumentType -> String
tagName :: Element -> String
encodingToNode :: Encoding -> String

Convert an Encoding to a String in the format expected by Node.js APIs.

name :: File -> String
url :: StorageEvent -> String
fileName :: ErrorEvent -> String
message :: ErrorEvent -> String
newURL :: HashChangeEvent -> String
oldURL :: HashChangeEvent -> String
print :: ReadyState -> String
print :: VisibilityState -> String
print :: CORSMode -> String
print :: DecodingHint -> String
print :: Laziness -> String
print :: CanPlayType -> String
print :: SelectionMode -> String
type_ :: DataTransferItem -> String

A Unicode string giving the type or format of the data, generally given by a MIME type. Some values that are not MIME types are special-cased for legacy reasons. The API does not enforce the use of MIME types; other values can be used as well. In all cases, however, the values are all converted to ASCII lowercase by the API. There is a limit of one text item per item type string.

indent :: Int -> String
stringify :: Json -> String

Converts a Json value to a JSON string. To retrieve a string from a Json string value, see fromString.

eraseParamToString :: EraseParam -> String
escapeCodeToString :: EscapeCode -> String

Convert an escape code to the form recognised by terminals.

graphicsParamToString :: GraphicsParam -> String
fileFlagsToNode :: FileFlags -> String

Convert a FileFlags to a String in the format expected by the Node.js filesystem API.

permsToString :: Perms -> String

Convert a Perms value to an octal string, in a format similar to that accepted by chmod. For example: permsToString (mkPerms (read + write) read read) == "0644"

symlinkTypeToNode :: SymlinkType -> String

Convert a SymlinkType to a String in the format expected by the Node.js filesystem API.

printJsonDecodeError :: JsonDecodeError -> String

Prints a JsonDecodeError as a readable error message.

caseFold :: String -> String

The full Unicode case folding algorithm, may increase the length of the string by mapping individual code points to longer sequences.

caseFoldSimple :: String -> String

Convert each code point in the string to its corresponding case-folded code point. This will preserve the number of code points in the string.

Note: this is not the full Unicode algorithm, see caseFold.

toLower :: String -> String

Convert each code point in the string to its corresponding lower sequence. This is the full (locale-independent) Unicode algorithm, and may map single code points to more than one code point. For example, toLower "\x0130" == "\x0069\x0307".

Because this matches on more rules, it may be slower than toLowerSimple, but it provides more correct results.

toLowerSimple :: String -> String

Convert each code point in the string to its corresponding lowercase code point. This will preserve the number of code points in the string.

Note: this is not the full Unicode algorithm, see toLower.

toUpper :: String -> String

Convert each code point in the string to its corresponding uppercase sequence. This is the full (locale-independent) Unicode algorithm, and may map single code points to more than one code point. For example, toUpper "ß" == "SS".

Because this matches on more rules, it may be slower than toUpperSimple, but it provides more correct results.

toUpperSimple :: String -> String

Convert each code point in the string to its corresponding uppercase code point. This will preserve the number of code points in the string.

Note: this is not the full Unicode algorithm, see toUpper.

toString :: Signal -> String

Convert a Signal to a String. Suitable for Node.js APIs.

toString :: Platform -> String

The String representation for a platform, recognised by Node.js.

parseErrorMessage :: ParseError -> String

Get the Message from a ParseError

code :: KeyboardEvent -> String

Returns a string representing a physical key on the keyboard. Not affected by keyboard layout or state of the modifier keys.

data_ :: CompositionEvent -> String
key :: KeyboardEvent -> String

A non-empty Unicode character string containing the printable representation of the key, if available.

print :: InputType -> String
print :: JCursor -> String
cssColorStops :: ColorScale -> String

A CSS representation of the color scale in the form of a comma-separated list of color stops. This list can be used in a linear-gradient or a similar construct.

Note that CSS uses the RGB space for color interpolation. Consequently, if the color scale is in RGB mode, this is just a list of all defined color stops.

For other color spaces, the color scale is sampled at (at least) 10 different points. This should give a reasonable approximation to the true gradient in the specified color space.

cssColorStopsRGB :: ColorStops -> String

Underling function of cssColorStops.

cssStringHSLA :: Color -> String

A CSS representation of the color in the form hsl(..) or hsla(...).

cssStringRGBA :: Color -> String

A CSS representation of the color in the form rgb(..) or rgba(...).

toHexString :: Color -> String

Return a hexadecimal representation of the color in the forms #rrggbb or #rrggbbaa, where rr, gg, bb, and aa refer to hexadecimal digits corresponding to the RGBA channel values between 00 and ff. The alpha channel is only represented when it has a value less than 100%.

toString :: BigInt -> String

A decimal representation of the BigInt as a String.

unCustomMethod :: CustomMethod -> String
origin :: URL -> String
host :: ClientRequest -> String
method :: ClientRequest -> String
path :: ClientRequest -> String
protocol :: ClientRequest -> String
showSymbol :: JsSymbol -> String
renderAutocompleteType :: AutocompleteType -> String
renderButtonType :: ButtonType -> String
renderCrossOriginValue :: CrossOriginValue -> String

No further results.