<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>60614</integer>
    </number>
    <user>
      <string>jdrake</string>
    </user>
    <title>
      <string>Example Code</string>
    </title>
    <contents>
      <string>
(* type shape = Circle ... | Square ... | Scene of scene and scene = shape list
 type scene = Circle ... | Square ... | Scene of scene list *)

type shape = None | Circle of float * float * float
type scene = None | Scene of shape list

(*
let append shape = 
    function Scene sl -&gt; Scene (shape::sl) 
             | s2 -&gt; Scene [shape;s2] *)
             
let sceneAppend (Scene sl) shape = Scene (shape::sl)
let sceneAppend shapeA shapeB = Scene [shapeA;shapeB]

let main () =
    if not !Sys.interactive then
        Sdl.init [`VIDEO];
        at_exit Sdl.quit;
    
        let screen = Sdlvideo.set_video_mode 640 640 [`DOUBLEBUF] in
            Sdlvideo.flip screen    

let _ = main ()
</string>
    </contents>
    <universal-time>
      <integer>3419548268</integer>
    </universal-time>
    <channel>
      <string>None</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
  </paste>
</paste-with-annotations>