Search results

argv0 :: Effect String

The process.argv0 property stores a read-only copy of the original value of argv[0] passed when Node.js starts.

cwd :: Effect (String)

Get the current working directory of the process.

execPath :: Effect (String)

The absolute pathname of the node executable that started the process.

getTitle :: Effect (String)

The process.title property returns the current process title (i.e. returns the current value of ps).

homedir :: Effect String

Returns the string path of the current user's home directory.

hostname :: Effect String

Returns the host name of the operating system as a string.

machine :: Effect String
release :: Effect String

Returns the operating system as a string.

tmpdir :: Effect String

Returns the operating system's default directory for temporary files as a string.

type_ :: Effect String

Returns the operating system name as returned by uname(3). For example, it returns 'Linux' on Linux, 'Darwin' on macOS, and 'Windows_NT' on Windows.

version :: Effect String

Returns a string identifying the kernel version.

getHash :: Effect String

Gets the global location hash.

generatedSessionID :: Effect String
jsColon :: Effect String
currentPath :: Effect String
currentState :: Effect String
genTxnId :: Effect String
name :: Effect String
name :: Effect String
randomColor_ :: Effect String
readClipboard :: Effect String
readSync :: Effect String
timeZoneId :: Effect String

The system's current time zone identifier (e.g. "America/New_York").

exampleTimeZoneId :: Effect Unit
exampleTimeZoneId = do
  tz <- Now.timeZoneId
  Console.log ("System time zone: " <> tz)

System time zone: America/New_York
timeZoneId :: Effect String

The system's default IANA time zone identifier (e.g. "America/New_York").

useIdImpl :: Effect String
genAlphaLowercaseString :: forall m. MonadRec m => MonadGen m => m String

Generates a string using lowercase characters from the basic Latin alphabet.

genAlphaString :: forall m. MonadRec m => MonadGen m => m String

Generates a string using characters from the basic Latin alphabet.

genAlphaUppercaseString :: forall m. MonadRec m => MonadGen m => m String

Generates a string using uppercase characters from the basic Latin alphabet.

genAsciiString :: forall m. MonadRec m => MonadGen m => m String

Generates a string using the ASCII character set, excluding control codes.

genAsciiString' :: forall m. MonadRec m => MonadGen m => m String

Generates a string using the ASCII character set.

genDigitString :: forall m. MonadRec m => MonadGen m => m String

Generates a string made up of numeric digits.

genUnicodeString :: forall m. MonadRec m => MonadGen m => m String

Generates a string using characters from the Unicode basic multilingual plain.

exit :: forall a. Effect a

Cause the process to exit immediately without completing any pending asynchronous operations including I/O operations to process.stdout and process.stderr. Process will exit with the process.exitCode value if it has been set or 0 (i.e. exit successfully) otherwise.

Rather than using this function to exit, one should set process.exitCode and let Node gracefully exit once all pending asynchronous operations have completed. If it is necessary to terminate the Node.js process due to an error condition, throwing an uncaught error and allowing the process to terminate accordingly is safer than calling process.exit().

black :: forall repr. StringExpr repr => repr String

Pure black color

white :: forall repr. StringExpr repr => repr String

Pure white color

getFont :: forall m. MonadCanvasAction m => m String
toDataUrl :: forall m. MonadCanvasAction m => m String

Create a data URL for the current canvas contents

randomEff :: forall a. Random a => Effect a
randomId :: forall m. MonadEffect m => m String
find_ :: forall @args m. CmdArgs "find" args => MonadAff m => m String
gh_ :: forall @args m. CmdArgs "gh" args => MonadAff m => m String
git_ :: forall @args m. CmdArgs "git" args => MonadAff m => m String
grep_ :: forall @args m. CmdArgs "grep" args => MonadAff m => m String
head_ :: forall @args m. CmdArgs "head" args => MonadAff m => m String
html :: forall m. Testable m => m String

Returns HTML representation of the current-context element.

initialRouter :: forall a. Router a => Effect a
jj_ :: forall @args m. CmdArgs "jj" args => MonadAff m => m String
ls_ :: forall @args m. LsArgs args => MonadAff m => m String
nearestEnclosingReactComponentName :: forall m. Testable m => m String
purs_ :: forall @args m. CmdArgs "purs" args => MonadAff m => m String
pursTidy_ :: forall @args m. CmdArgs "purs-tidy" args => MonadAff m => m String
readLine :: forall m eff. MonadAff (readline :: READLINE | eff) m => MonadAsk Interface m => m String

Read a single line from input.

rg_ :: forall @args m. CmdArgs "rg" args => MonadAff m => m String
sed_ :: forall @args m. CmdArgs "sed" args => MonadAff m => m String
sort_ :: forall @args m. CmdArgs "sort" args => MonadAff m => m String
spago_ :: forall @args m. CmdArgs "spago" args => MonadAff m => m String
tagName :: forall m. Testable m => m String

Returns the tag name of the current-context element.

tail_ :: forall @args m. CmdArgs "tail" args => MonadAff m => m String
tee_ :: forall @args m. CmdArgs "tee" args => MonadAff m => m String
text :: forall m. Testable m => m String

Returns full inner text of the current-context element.

uniq_ :: forall @args m. CmdArgs "uniq" args => MonadAff m => m String
wc_ :: forall @args m. CmdArgs "wc" args => MonadAff m => m String
which_ :: forall @args m. CmdArgs "which" args => MonadAff m => m String
bottom :: forall a. Bounded a => a
ff :: forall a. HeytingAlgebra a => a
genericBottom :: forall a rep. Generic a rep => GenericBottom rep => a

A Generic implementation of the bottom member from the Bounded type class.

genericBottom' :: forall a. GenericBottom a => a
genericFF :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a

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

genericFF' :: forall a. GenericHeytingAlgebra a => a
genericMempty :: forall a rep. Generic a rep => GenericMonoid rep => a

A Generic implementation of the mempty member from the Monoid type class.

genericMempty' :: forall a. GenericMonoid a => a
genericOne :: forall a rep. Generic a rep => GenericSemiring rep => a

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

genericOne' :: forall a. GenericSemiring a => a
genericTop :: forall a rep. Generic a rep => GenericTop rep => a

A Generic implementation of the top member from the Bounded type class.

genericTop' :: forall a. GenericTop a => a
genericTT :: forall a rep. Generic a rep => GenericHeytingAlgebra rep => a

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

genericTT' :: forall a. GenericHeytingAlgebra a => a
genericZero :: forall a rep. Generic a rep => GenericSemiring rep => a

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

genericZero' :: forall a. GenericSemiring a => a
mempty :: forall m. Monoid m => m
one :: forall a. Semiring a => a
top :: forall a. Bounded a => a
tt :: forall a. HeytingAlgebra a => a
zero :: forall a. Semiring a => a
empty :: forall f a. Plus f => f a
crash :: forall a. Partial => a

A partial function which crashes on any input with a default message.

none :: forall f a. Unfoldable f => f a

The container with no elements - unfolded with zero iterations. For example:

none == ([] :: Array Unit)
genBoundedEnum :: forall m a. MonadGen m => BoundedEnum a => m a

Create a random generator for a finite enumeration.

conquer :: forall f a. Divisible f => f a
ask :: forall r m. MonadAsk r m => m r
get :: forall m s. MonadState s m => m s

Get the current state.

never :: forall e f m a. MonadBracket e f m => m a
nil :: forall f a. Alignable f => f a
undefined :: forall a. a
all :: forall a. All a => a
auto :: forall a. Auto a => a
baseline :: forall a. Baseline a => a
bottom :: forall a. Bottom a => a
center :: forall a. Center a => a
flexEnd :: forall a. FlexEnd a => a