Search results

symbolsToCode :: forall f. Foldable f => String -> f String -> String
P purescript-graphql-client M GraphQL.Client.CodeGen.GetSymbols
compile :: forall a. String -> a -> String

Compile a string into a template which can be applied to a context.

This function should be partially applyied, resulting in a compiled function which can be reused, instead of compiling the template on each application.

Note: This function performs no verification on the template string, so it is recommended that an appropriate type signature be given to the resulting function. For example:

hello :: { name :: String } -> String
hello = compile "Hello, {{name}}!"
P purescript-handlebars M Text.Handlebars
declareFlowType' :: forall a. HasFlowRep a => String -> a -> String

A convenience function for declaring types taking a concrete value over a proxy.

P purescript-bismuth M Bismuth.LibDef
generateFlowType' :: forall a. HasFlowRep a => String -> a -> String

A convenience function for generating types taking a concrete value over a proxy.

P purescript-bismuth M Bismuth
joinWith :: forall a f. Show a => Foldable f => String -> f a -> String
P purescript-repr M Data.String.Repr

s

s :: forall a. String -> a -> String

Separator

P purescript-react-basic-textf M React.Basic.DOM.Textf.DateTimeFormat
unsafeFromJustBecause :: forall a. String -> Maybe a -> a
P purescript-value-of-information M Math.Probability.Information.Value.Utility
unsafeFromJustBecause :: forall a. String -> Maybe a -> a
P purescript-vnm-utility M Economics.Utility.VNM.Helpers
fromMaybe :: forall a. a -> Maybe a -> a

Takes a default value, and a Maybe value. If the Maybe value is Nothing the default value is returned, otherwise the value inside the Just is returned.

fromMaybe x Nothing == x
fromMaybe x (Just y) == y
P purescript-maybe M Data.Maybe
spy :: forall a. DebugWarning => String -> a -> a

Logs any value and returns it, using a "tag" or key value to annotate the traced value. Useful when debugging something in the middle of a expression, as you can insert this into the expression without having to break it up.

P purescript-debug M Debug
getProperty :: forall o v. String -> o -> v

Get the property with the given name form the given object If property does not exist, will be undefined (see F.S.Undef)

P purescript-ffi-simple M FFI.Simple.Objects
named :: forall o. String -> o -> o

Return the object with a custom name Notes:

  • name is a readonly property, so we define over it
  • quietly mutates the input - use immediately after creation
P purescript-ffi-simple M FFI.Simple.Objects
removeProperty :: forall o. String -> o -> o
P purescript-ffi-simple M FFI.Simple.Objects
runFn0 :: forall b a. String -> a -> b
P purescript-airconsole M AirConsole.FFI
taggedLog :: forall a. String -> a -> a

For a string t and value a, calls console.log(t, a), then returns a.

P purescript-debuggest M Debug
taggedLogShow :: forall a. Show a => String -> a -> a

For a string t and value a, calls console.log(t, (show a)), then returns a.

P purescript-debuggest M Debug
unsafeGetField :: forall b a. String -> a -> b
P purescript-airconsole M AirConsole.FFI
attr :: forall m. Testable m => String -> m String

Returns the given attribute of the current-context element.

P purescript-elmish-testing-library M Elmish.Test.Query
destroyUnit :: forall audio engine. AudioInterpret audio engine => String -> audio -> engine

Destroy pointer x. For example, drop a sine wave oscillator from an audio graph. Note that this does not invoke garbage collection - it just removes the reference to the node, allowing it to be garbage collected.

P purescript-wags M WAGS.Interpret
effect0 :: forall b a. String -> a -> b
P purescript-weber M Weber.Event

m

m :: forall bem. WithModifiers bem => String -> bem -> bem
P purescript-css-bem M CSS.BEM
makeLoopBufWithDeferredBuffer :: forall audio engine. AudioInterpret audio engine => String -> audio -> engine

Make a looping audio buffer node with a deferred buffer.

P purescript-wags M WAGS.Interpret
makePeriodicOscWithDeferredOsc :: forall audio engine. AudioInterpret audio engine => String -> audio -> engine

Make a periodic oscillator.

P purescript-wags M WAGS.Interpret
makePlayBufWithDeferredBuffer :: forall audio engine. AudioInterpret audio engine => String -> audio -> engine

Make an audio buffer node with a deferred buffer.

P purescript-wags M WAGS.Interpret
question :: forall m e. MonadAff (console :: CONSOLE, readline :: READLINE | e) m => MonadAsk Interface m => String -> m String

Prompt for input, then read a line

P purescript-line-reader M LineReader
runThisFn0 :: forall a this. String -> this -> a
P purescript-screeps-classy M Screeps.FFI
translate :: forall x y. IsLength x => IsLength y => x -> y -> String

translate (px 40.0) (px 30.0) → "translate(40px,30px)"

P purescript-pha M Pha.Html.Util
unsafeField :: forall val obj. String -> obj -> val
P purescript-screeps-classy M Screeps.FFI
unsafeLog :: forall a. String -> a -> a

Unsafely write a string to the console.

unsafeLog "unsafe!" unit -- unit (logs "unsafe!")
P purescript-neon M Neon.Helper
withDefault :: forall a. a -> Maybe a -> a

If the given value is Nothing, return the default. Otherwise return the value.

withDefault 2 Nothing -- 2
withDefault 2 (Just 1) -- 1
P purescript-neon M Neon.Helper
add :: forall a. Semiring a => a -> a -> a
P purescript-prelude M Data.Semiring
append :: forall a. Semigroup a => a -> a -> a
P purescript-prelude M Data.Semigroup
conj :: forall a. HeytingAlgebra a => a -> a -> a
P purescript-prelude M Data.HeytingAlgebra
const :: forall a b. a -> b -> a

Returns its first argument and ignores its second.

const 1 "hello" = 1

It can also be thought of as creating a function that ignores its argument:

const 1 = \_ -> 1
P purescript-prelude M Data.Function
disj :: forall a. HeytingAlgebra a => a -> a -> a
P purescript-prelude M Data.HeytingAlgebra
div :: forall a. EuclideanRing a => a -> a -> a
P purescript-prelude M Data.EuclideanRing
gcd :: forall a. Eq a => EuclideanRing a => a -> a -> a

The greatest common divisor of two values.

P purescript-prelude M Data.EuclideanRing
genericAdd :: forall a rep. Generic a rep => GenericSemiring rep => a -> a -> a

A Generic implementation of the add member from the Semiring type class.

P purescript-prelude M Data.Semiring.Generic
genericAdd' :: forall a. GenericSemiring a => a -> a -> a
P purescript-prelude M Data.Semiring.Generic
genericAppend :: forall a rep. Generic a rep => GenericSemigroup rep => a -> a -> a

A Generic implementation of the append member from the Semigroup type class.

P purescript-prelude M Data.Semigroup.Generic
genericAppend' :: forall a. GenericSemigroup a => a -> a -> a
P purescript-prelude M Data.Semigroup.Generic
genericConj :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a -> a -> a

A Generic implementation of the conj member from the HeytingAlgebra type class.

P purescript-prelude M Data.HeytingAlgebra.Generic
genericConj' :: forall a. GenericHeytingAlgebra a => a -> a -> a
P purescript-prelude M Data.HeytingAlgebra.Generic
genericDisj :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a -> a -> a

A Generic implementation of the disj member from the HeytingAlgebra type class.

P purescript-prelude M Data.HeytingAlgebra.Generic
genericDisj' :: forall a. GenericHeytingAlgebra a => a -> a -> a
P purescript-prelude M Data.HeytingAlgebra.Generic
genericImplies :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a -> a -> a

A Generic implementation of the implies member from the HeytingAlgebra type class.

P purescript-prelude M Data.HeytingAlgebra.Generic
genericImplies' :: forall a. GenericHeytingAlgebra a => a -> a -> a
P purescript-prelude M Data.HeytingAlgebra.Generic
genericMul :: forall a rep. Generic a rep => GenericSemiring rep => a -> a -> a

A Generic implementation of the mul member from the Semiring type class.

P purescript-prelude M Data.Semiring.Generic
genericMul' :: forall a. GenericSemiring a => a -> a -> a
P purescript-prelude M Data.Semiring.Generic
genericSub :: forall a rep. Generic a rep => GenericRing rep => a -> a -> a

A Generic implementation of the sub member from the Ring type class.

P purescript-prelude M Data.Ring.Generic