Module Field.IntSource

Operations on integer field node.

Sourcemodule Key : sig ... end

Operations on keys for int field

Sourcetype 'a t

type of integer field node

Sourceval init : Key.t -> 'a Range.t -> 'a t
  • since 0.3.0
Sourceval track : 'a Range.t -> 'a t

track range is Track range.

Sourceval year : 'a Range.t -> 'a t

year range is Year range.

Sourceval disc : 'a Range.t -> 'a t

disc range is Disc range.

Sourceval plays : 'a Range.t -> 'a t

plays range is Plays range.

Sourceval length : 'a Range.t -> 'a t

length range is Length range.

Sourceval rating : 'a Range.t -> 'a t

rating range is Rating range.

Sourceval album_count : 'a Range.t -> 'a t

album_count range is AlbumCount range.

Sourceval to_string : int t -> string

to_string field returns a string representation of field.

Sourceval to_sexp : int t -> string

to_sexp field returns a s-expression compatible string of field.

Sourceval key : 'a t -> Key.t
Sourceval value : 'a t -> 'a Range.t