Commit d5a5a3d5 authored by Adrian Cochrane's avatar Adrian Cochrane

Draft output types

parent 9395baf0
type Byte = 0..255
type Char = (Byte,Byte,Byte,Byte) # 32 bits
type Char = Char Byte Byte Byte Byte # 32 bits
type List a = Cons a | Nil
type URL = URL List Char
type Maybe a = Just a | Nothing
......@@ -30,4 +30,9 @@ type Mouse = Scroll Signed Signed |
Move Coord
type Keyboard = Down Char | Up Char | Press Char
type Touch = Down Coord | Move Coord | Up Coord
type GameControl = # TODO
\ No newline at end of file
type GameControl = # TODO
type Color = Color Byte Byte Byte Byte
type Rect = Rect Coord Coord # topleft size
type Image = Fill Color Rect | Sprite Image Image # foreground background, with foreground clipped to background
type Sound = Sound List Tuple Real Real
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment