Skip to content

Major Types and Functions

jbracker edited this page Mar 12, 2013 · 8 revisions

This is a list of all major types and functions in Sunroof.

Types

  • () - Null or void
  • JSBool - Booleans
  • JSNumber - Numbers
  • JSString - Strings
  • JSObject - Objects
  • (Sunroof a) => JSArray a - Arrays
  • (JSArgument a, Sunroof b) => JSFunction a b - Functions (a -> b)
  • JSRef - IORef in Javascript

Wrappers

  • JSCanvas - The canvas context
  • JSDate - Date objects
  • JSConsole - The debugging and logging console

Concurrency

  • JSMVar - MVar in Javascript
  • JSChan - Chan in Javascript

Classes

Sunroof

Anything that can be a JavaScript expression.

instances:

Sunroof JSArgument SunroofResults<
Clone this wiki locally