[ANN] Preview of Godotcaml for the Godot 4.2 Game Engine

module%gclass MyClass = struct
  [%%ginherits Node]

  let%gfunc succ = 
    [| ClassMethodFlags.default |]
      (module BuiltinClass0.Int)
      (module Class.Node)
      (module BuiltinClass0.Int) 
      (fun i _self -> Int64.(i + 1L))
end

I’m curious why you chose to go this route vs, well, the O in OCaml

2 Likes