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