- Companion
- class
Type members
Classlikes
Value members
Concrete methods
Displays a modal dialog with a message and two buttons, OK and Cancel.
Displays a modal dialog with a message and two buttons, OK and Cancel.
- Value Params
- message
a string to be displayed in the dialog.
- Returns
A boolean value indicating whether OK or Cancel was selected (true means OK).
Wraps a Future so that it is repeatable, and so that its inner callback is run when the future completes.
Wraps a Future so that it is repeatable, and so that its inner callback is run when the future completes.
WARNING: Futures are scheduled to run as soon as they're created. Ensure that the argument you provide creates a new Future; don't reference an existing one.
Callback that isn't created until the first time it is used, after which it is reused.
Callback that isn't created until the first time it is used, after which it is reused.
Displays a dialog with an optional message prompting the user to input some text.
Displays a dialog with an optional message prompting the user to input some text.
- Returns
Some string comprising the text entered by the user, or None.
Displays a dialog with an optional message prompting the user to input some text.
Displays a dialog with an optional message prompting the user to input some text.
- Value Params
- message
a string of text to display to the user. This parameter is optional and can be omitted if there is nothing to show in the prompt window.
- Returns
Some string comprising the text entered by the user, or None.
Displays a dialog with an optional message prompting the user to input some text.
Displays a dialog with an optional message prompting the user to input some text.
- Value Params
- default
a string containing the default value displayed in the text input field. It is an optional parameter. Note that in Internet Explorer 7 and 8, if you do not provide this parameter, the string "undefined" is the default value.
- message
a string of text to display to the user. This parameter is optional and can be omitted if there is nothing to show in the prompt window.
- Returns
Some string comprising the text entered by the user, or None.
Sequence stdlib T over CallbackTo. Co-sequence CallbackTo over stdlib T.
Sequence stdlib T over CallbackTo. Co-sequence CallbackTo over stdlib T.
Sequence Option over CallbackTo. Co-sequence CallbackTo over Option.
Sequence Option over CallbackTo. Co-sequence CallbackTo over Option.
Tail-recursive callback. Uses constant stack space.
Tail-recursive callback. Uses constant stack space.
Based on Phil Freeman's work on stack safety in PureScript, described in Stack Safety for Free.
Traverse stdlib T over CallbackTo. Distribute CallbackTo over stdlib T.
Traverse stdlib T over CallbackTo. Distribute CallbackTo over stdlib T.
Traverse Option over CallbackTo. Distribute CallbackTo over Option.
Traverse Option over CallbackTo. Distribute CallbackTo over Option.
When executed, opens a new window (tab) to a given URL.
When executed, opens a new window (tab) to a given URL.
- Value Params
- focus
Whether or not to focus the new window.
- noopener
See https://developers.google.com/web/tools/lighthouse/audits/noopener
Deprecated methods
Serves as a temporary placeholder for a callback until you supply a real implementation.
Serves as a temporary placeholder for a callback until you supply a real implementation.
Unlike ???
this doesn't crash, it just prints a warning to the console.
Also it's not really deprecated; that's just so you get a compiler warning as a reminder.
- Deprecated
Serves as a temporary placeholder for a callback until you supply a real implementation.
Serves as a temporary placeholder for a callback until you supply a real implementation.
Unlike ???
this doesn't crash, it just prints a warning to the console.
Also it's not really deprecated; that's just so you get a compiler warning as a reminder.
- Deprecated
Callback that is recreated each time it is used.
Callback that is recreated each time it is used.
https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_name
- Deprecated
Concrete fields
Givens
Extensions
Extensions
Deprecated extensions
Negates the callback result (so long as it's boolean).
Negates the callback result (so long as it's boolean).
- Deprecated
Creates a new callback that returns true
when both this and the given callback return true
.
Creates a new callback that returns true
when both this and the given callback return true
.
Returns a CallbackOption that requires the boolean value therein to be true.
Returns a CallbackOption that requires the boolean value therein to be true.
Negates the callback result (so long as it's boolean).
Negates the callback result (so long as it's boolean).