Module Dune_lang.AtomSource

Sourcetype t = private
  1. | A of string
Sourceval equal : t -> t -> bool
Sourceval is_valid : string -> bool
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval parse : string -> t option

parse s is Some (a:t) if s can be a valid atom according to is_valid otherwise it is None

Sourceval print : t -> string
Sourceval of_int : int -> t
Sourceval of_float : float -> t
Sourceval of_bool : bool -> t
Sourceval of_int64 : Int64.t -> t
Sourceval of_digest : Stdune.Digest.t -> t
Sourceval to_dyn : t -> Stdune.Dyn.t