Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > a78731fe42267cebaa55cfab30fa5ec3 > files > 60

ocaml-atdgen-devel-1.2.5-4.mga4.x86_64.rpm

(* Newer version of an imagined data format. Compare to `format_v1.atd'. *)

type t = {
  a : int option;
  (* removed field b, making newer data unreadable with older software since
     b was not optional. *)
  ?c : int option;
  ~d : float;
  ~e : string list; (* added optional field e, allowing newer software
                       to read older data. *)
}