Source

hack-and-slash / action.mli

Full commit
open Core.Std

module Export : sig
  type _action =
    | Move of Direction.t
    | Display
end

type t = Export._action =
  | Move of Direction.t
  | Display
with sexp, bin_io

val to_line : t -> string
val of_line : string -> t Or_error.t