Search results

renderAudio :: Array (Effect Unit) -> Effect Unit

Render audio from an array of audio rendering instructions. This is conceptually the same as taking Array Effect Unit -> Effect Unit and doing map fold <<< sequence. The reason this version is used is because it is ~2x more computationally efficient, which is important in order to be able to hit audio deadlines.

sequenceEffects :: Array (Effect Unit) -> Effect Unit
resolve :: forall m. Monad m => Foldable m => m (Effect Unit) -> Effect Unit
debugShow :: forall a. Show a => a -> Effect Unit

Write an debug value to the console, using its Show instance to produce a String.

errorShow :: forall a. Show a => a -> Effect Unit

Write an error value to the console, using its Show instance to produce a String.

infoShow :: forall a. Show a => a -> Effect Unit

Write an info value to the console, using its Show instance to produce a String.

logShow :: forall a. Show a => a -> Effect Unit

Write a value to the console, using its Show instance to produce a String.

warnShow :: forall a. Show a => a -> Effect Unit

Write an warning value to the console, using its Show instance to produce a String.

eval :: forall a. Eval a => a -> Effect Unit
quickCheck :: forall prop. Testable prop => prop -> Effect Unit

Test a property.

This function generates a new random seed, runs 100 tests and prints the test results to the console.

end :: forall s a. Write s a => s -> Effect Unit
endImpl :: forall s. s -> Effect Unit
log :: forall a. a -> Effect Unit
preventDefault :: forall e. IsEvent e => e -> Effect Unit

Prevents the default action from being executed after propagation

preventDefault :: forall e. IsSyntheticEvent e => e -> Effect Unit

Prevents the default handling of the event by the browser. See also https://reactjs.org/docs/events.html

propagationStopped :: forall e. IsEvent e => e -> Effect Unit

Whether propagation has been stopped

remove :: forall n. IsChild n => n -> Effect Unit

Unhook the current node from its parent

stopImmediatePropagation :: forall e. IsEvent e => e -> Effect Unit

Stops immediate propagation of the event

stopPropagation :: forall e. IsEvent e => e -> Effect Unit

Stops propagation of the event

stopPropagation :: forall e. IsSyntheticEvent e => e -> Effect Unit

Prevents propagation of the event up the React DOM tree. See also https://reactjs.org/docs/events.html

cork :: forall writable. Writable writable => writable -> Effect Unit
defaultCork :: forall writable. writable -> Effect Unit
defaultUncork :: forall writable. writable -> Effect Unit
dispose :: forall a. Dispose a => a -> Effect Unit
uncork :: forall writable. Writable writable => writable -> Effect Unit
unpipe_ :: forall readable. Readable readable => readable -> Effect Unit
cancelWaitAfter_ :: forall t. IsTool t => t -> Effect Unit
clear_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit
clear_ :: forall m nodeData. IsModel (m nodeData) => m nodeData -> Effect Unit
clearAdornments_ :: forall p. IsPart p => p -> Effect Unit
clearHighlighteds_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit
cloneProtected_ :: forall m nodeData. IsModel (m nodeData) => m nodeData -> Effect Unit
collapseTree_ :: forall n. IsNode n => n -> Effect Unit
commit_ :: forall _l _n e _v. LayoutNetwork _l _n e _v => e -> Effect Unit
commit_ :: forall _l _n _e v. LayoutNetwork _l _n _e v => v -> Effect Unit
commitLayout_ :: forall l. IsLayout l => l -> Effect Unit
deleteArtificialVertexes_ :: forall _l n _e _v. LayoutNetwork _l n _e _v => n -> Effect Unit
deleteSelfEdges_ :: forall _l n _e _v. LayoutNetwork _l n _e _v => n -> Effect Unit
destroy :: forall a. GameObject a => a -> Effect Unit
destroy_ :: forall message. IncomingMessage message => message -> Effect Unit
doActivate_ :: forall t. IsTool t => t -> Effect Unit
doCancel_ :: forall t. IsTool t => t -> Effect Unit
doDeactivate_ :: forall t. IsTool t => t -> Effect Unit
doStart_ :: forall t. IsTool t => t -> Effect Unit
doStop_ :: forall t. IsTool t => t -> Effect Unit
endTransformFeedback :: forall c. IsWebGL2RenderingContext c => c -> Effect Unit

Usage: endTransformFeedback gl

void endTransformFeedback();

Documentation: WebGL 2.0 spec, section 3.7.15

ensureBounds_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit
ensureBounds_ :: forall p. IsPart p => p -> Effect Unit
expandTree_ :: forall n. IsNode n => n -> Effect Unit
ffilog :: forall a. a -> Effect Unit