package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

shakuhachi-0.4.1.tar.gz
sha256=4a6e1b929cc60f9239f73bfc2200d1b5a884e45dc81ad1b0f268ed4eba8059e9
sha512=f5419b47be10ece8e257d98355aeeaa893a493c00589b8ce622706f9454bb1762be1c63d5d84844b284cac417a3eafb9f9064f902be9c4a862dc9688baaab38d

doc/shakuhachi.query/SkhcQuery/Format/Node/index.html

Module Format.NodeSource

Operations on Format's Node

Sourcetype t =
  1. | Text of string
  2. | String of Field.String.Key.t
  3. | Bool of Field.Bool.Key.t
  4. | Int64 of Field.Int64.Key.t
  5. | Int of Field.Int.Key.t
  6. | Float of Field.Float.Key.t

type of a format node

Sourceval to_string : t -> string

to_string s outputs the node back to a string.

Sourceval to_text : t -> string

to_text s outputs the text value of Text, the empty string otherwise.

Sourceval equal : t -> t -> bool

equal lhs rhs tests whether lhs and rhs are equals.

Sourceval substitute : (t * string) list -> t -> t

substitute assoc node tries to substitute nodes in format by Text if the node is found in assoc. Otherwise, the node is unchanged.