10 lines
187 B
OCaml
10 lines
187 B
OCaml
|
(* State of the world, contains all the required information at any point *)
|
||
|
type t = {
|
||
|
cartridge : option Cartridge.t;
|
||
|
}
|
||
|
|
||
|
(* Global reference *)
|
||
|
let state = ref {
|
||
|
cartridge = None
|
||
|
}
|