Search results

ensureDirExists :: String -> Aff Unit
P purescript-kubernetes M Kubernetes.Generation.Main
loadContents :: String -> Aff Unit

Loads a .env-compatible string into the environment. This is useful when sourcing configuration from somewhere other than a local .env file.

P purescript-dotenv M Dotenv
toastS :: String -> Aff Unit

Sends a toast with content being text.

P purescript-materialize M Materialize.Toasts
write :: String -> Aff Unit
P purescript-clipboardy M Clipboardy
debug :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
error :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
group :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
groupCollapsed :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
info :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
log :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
time :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
timeEnd :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
timeLog :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
warn :: forall m. MonadEffect m => String -> m Unit
P purescript-console M Effect.Class.Console
fail :: forall m. MonadThrow Error m => String -> m Unit
P purescript-spec M Test.Spec.Assertions
tellLn :: forall m. MonadWriter String m => String -> m Unit
P purescript-spec M Test.Spec.Console
log :: forall a. MonadEffect a => String -> a Unit
P purescript-test-unit M Test.Unit.Console
quickCheck :: forall p. Testable p => p -> Aff Unit

Runs a Testable with a random seed and 100 inputs.

P purescript-spec-quickcheck M Test.Spec.QuickCheck
awaitFinished :: forall s a. Write s a => s -> Aff Unit
P purescript-node-stream-pipes M Node.Stream.Object
awaitReadableOrClosed :: forall s a. Read s a => s -> Aff Unit
P purescript-node-stream-pipes M Node.Stream.Object
awaitWritableOrClosed :: forall s a. Write s a => s -> Aff Unit
P purescript-node-stream-pipes M Node.Stream.Object
setFont :: forall m. MonadCanvasAction m => String -> m Unit
P purescript-canvas-action M Graphics.CanvasAction
abort :: forall tx. IDBTransaction tx => tx -> Aff Unit

Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.

P purescript-indexed-db M Database.IndexedDB.IDBTransaction
change :: forall m. Testable m => String -> m Unit

A convenience specialization of fireEvent, simulating the change event with the given value.

find "input" >> change "some text"
P purescript-elmish-testing-library M Elmish.Test.Events
clear :: forall store. IDBObjectStore store => store -> Aff Unit

Deletes all records in store.

P purescript-indexed-db M Database.IndexedDB.IDBObjectStore
clickOn :: forall m. Testable m => String -> m Unit

A convenience function, finding an element by CSS selector and simulating the click event on it.

clickOn "button.t--my-button"
P purescript-elmish-testing-library M Elmish.Test.Events
close :: forall db. IDBDatabase db => db -> Aff Unit

Closes the connection once all running transactions have finished.

P purescript-indexed-db M Database.IndexedDB.IDBDatabase
delay :: forall d. Duration d => d -> Aff Unit
P purescript-game M Game.Aff.Every
delete :: forall ma. MonadAff ma => String -> ma Unit

Deletes the database called dbName. If the database does not exist this method will still succeed.

Documentation: dexie.org/docs/Dexie/Dexie.delete()

P purescript-dexie M Dexie
delete :: forall cursor. IDBCursor cursor => cursor -> Aff Unit

Delete the record pointed at by the cursor with a new value.

P purescript-indexed-db M Database.IndexedDB.IDBCursor
dive :: forall m. MonadState (List String) m => String -> m Unit
P purescript-graphql-validator M Data.GraphQL.Validator.Util
el_ :: forall m. MonadDomBuilder m => String -> m Unit
P purescript-specular M Specular.Dom.Builder.Class
error :: forall eff m. MonadEff (console :: CONSOLE | eff) m => String -> m Unit
P purescript-console-lifted M ConsoleLifted
info :: forall eff m. MonadEff (console :: CONSOLE | eff) m => String -> m Unit
P purescript-console-lifted M ConsoleLifted
loadSimpleJsonFile :: forall a. ReadForeign a => String -> Aff a
P purescript-kubernetes M Kubernetes.Generation.Main
log :: forall eff m. MonadEff (console :: CONSOLE | eff) m => String -> m Unit
P purescript-console-lifted M ConsoleLifted
log :: forall m. MonadIOSync m => String -> m Unit
P purescript-stuff M Stuff
logError :: forall m. MonadIOSync m => String -> m Unit
P purescript-stuff M Stuff
logInfo :: forall m. MonadIOSync m => String -> m Unit
P purescript-stuff M Stuff
logWarning :: forall m. MonadIOSync m => String -> m Unit
P purescript-stuff M Stuff
rawHtml :: forall m. MonadDomBuilder m => String -> m Unit
P purescript-specular M Specular.Dom.Builder.Class
taddle :: forall m a. MonadTell (List (Tuple a String)) m => MonadState a m => String -> m Unit
P purescript-graphql-validator M Data.GraphQL.Validator.Util
text :: forall d. Syntax d => String -> d Unit

text parses/prints a fixed text and consumes/produces a unit value.

P purescript-invertible-syntax M Text.Syntax.Combinators
text :: forall m. MonadDomBuilder m => String -> m Unit
P purescript-specular M Specular.Dom.Builder.Class
usePushRoute :: forall m. Router m => String -> m Unit

Push a new Route to the browser history.

P purescript-jelly-router M Jelly.Router
useReplaceRoute :: forall m. Router m => String -> m Unit

Replace the current Route in the browser history.

P purescript-jelly-router M Jelly.Router
warn :: forall eff m. MonadEff (console :: CONSOLE | eff) m => String -> m Unit
P purescript-console-lifted M ConsoleLifted
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
debugShow :: forall m a. MonadEffect m => Show a => a -> m Unit
P purescript-console M Effect.Class.Console
errorShow :: forall m a. MonadEffect m => Show a => a -> m Unit
P purescript-console M Effect.Class.Console
infoShow :: forall m a. MonadEffect m => Show a => a -> m Unit
P purescript-console M Effect.Class.Console
logShow :: forall m a. MonadEffect m => Show a => a -> m Unit
P purescript-console M Effect.Class.Console
warnShow :: forall m a. MonadEffect m => Show a => a -> m Unit
P purescript-console M Effect.Class.Console
put :: forall m s. MonadState s m => s -> m Unit

Set the state.

P purescript-transformers M Control.Monad.State.Class
tell :: forall w m. MonadTell w m => w -> m Unit
P purescript-transformers M Control.Monad.Writer.Class
unsafeThrow :: forall a. String -> a

Defined as unsafeThrowException <<< error.

P purescript-exceptions M Effect.Exception.Unsafe
discard :: forall a m. Monad m => a -> m Unit

Discards a value

P purescript-pipes M Pipes
impossible :: forall a. String -> a
P purescript-variant M Data.Variant.Internal
traceM :: forall m a. DebugWarning => Monad m => a -> m Unit

Log any PureScript value to the console and return the unit value of the Monad m.

P purescript-debug M Debug
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
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
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
clearRect :: forall m r. MonadCanvasAction m => ToRegion Number r => r -> m Unit

Clear a rectangular area

P purescript-canvas-action M Graphics.CanvasAction
fillRect :: forall m r. MonadCanvasAction m => ToRegion Number r => r -> m Unit

Fill a rectangular area

P purescript-canvas-action M Graphics.CanvasAction
setFillStyle :: forall m r. MonadCanvasAction m => CanvasStyle r => r -> m Unit
P purescript-canvas-action M Graphics.CanvasAction
setShadowColor :: forall m color. MonadCanvasAction m => CanvasColor color => color -> m Unit
P purescript-canvas-action M Graphics.CanvasAction
setShadowOffset :: forall m p. MonadCanvasAction m => ToPos Number p => p -> m Unit

Set x and y shadow offset at the same time

P purescript-canvas-action M Graphics.CanvasAction
setStrokeStyle :: forall m r. MonadCanvasAction m => CanvasStyle r => r -> m Unit
P purescript-canvas-action M Graphics.CanvasAction
strokeRect :: forall m r. MonadCanvasAction m => ToRegion Number r => r -> m Unit

Stroke a rectangular area

P purescript-canvas-action M Graphics.CanvasAction
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
to1 :: forall f rep. Generic1 f rep => rep -> f Unit
P purescript-higher-order M Data.Operator.Generic.Rep
act_ :: forall a m. Mother m => a -> m Unit
P mother-monad M Control.Monad.Mother.Class
crash :: forall m a. Testable m => String -> m a
P purescript-elmish-testing-library M Elmish.Test.State
delay :: forall m d. MonadAff m => Duration d => d -> m Unit
P purescript-yoga-om M Yoga.Om
emptyHandler :: forall m a. Applicative m => a -> m Unit

an empty event handler

P purescript-dispatcher-react M Dispatcher.React
errorShow :: forall eff m a. Show a => MonadEff (console :: CONSOLE | eff) m => a -> m Unit
P purescript-console-lifted M ConsoleLifted
exec_ :: forall m q. MonadSession m => AsQuery q => q -> m Unit

Executes a query and discards the result

P purescript-postgresql M Control.Monad.Postgres.Session
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
ident :: forall f t. Corecursive t (SqlF f) => String -> t
P purescript-sql-squared M SqlSquared.Constructors
infoShow :: forall eff m a. Show a => MonadEff (console :: CONSOLE | eff) m => a -> m Unit
P purescript-console-lifted M ConsoleLifted
logDebug :: forall m a. MonadLog m => Loggable a => a -> m Unit
P purescript-whine-core M Whine.Log
logError :: forall m a. MonadLog m => Loggable a => a -> m Unit
P purescript-whine-core M Whine.Log
logInfo :: forall m a. MonadLog m => Loggable a => a -> m Unit
P purescript-whine-core M Whine.Log
logShow :: forall eff m a. Show a => MonadEff (console :: CONSOLE | eff) m => a -> m Unit
P purescript-console-lifted M ConsoleLifted
logWarning :: forall m a. MonadLog m => Loggable a => a -> m Unit
P purescript-whine-core M Whine.Log
onElement :: forall e m. Feed e m => e -> m Unit
P purescript-halogen-infinite-scroll M Halogen.Infinite.Scroll
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
require :: forall a. String -> a
P purescript-ffi-utils M FFI.Util