package daypack-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type error =
  1. | Invalid_time_point_expr
  2. | Invalid_time_slot_expr
type f_resolve_tse_name = string -> Time_expr_ast.time_slot_expr option
type f_resolve_tpe_name = string -> Time_expr_ast.time_point_expr option
type lang_fragment = [
  1. | `Time_point_expr
  2. | `Time_slot_expr
  3. | `Branching_time_slot_expr
  4. | `Time_pattern
]
val check_time_expr : Time_expr_ast.t -> (unit, unit) result
module To_string : sig ... end
val time_expr_parser : ?enabled_fragments:lang_fragment list -> (Time_expr_ast.t, unit) MParser.t
val of_string : ?enabled_fragments:lang_fragment list -> string -> (Time_expr_ast.t, string) result
val matching_time_slots : ?f_resolve_tpe_name:f_resolve_tpe_name -> ?f_resolve_tse_name:f_resolve_tse_name -> Search_param.t -> Time_expr_ast.t -> (Time_slot.t Seq.t, string) result
val next_match_time_slot : ?f_resolve_tpe_name:f_resolve_tpe_name -> ?f_resolve_tse_name:f_resolve_tse_name -> Search_param.t -> Time_expr_ast.t -> (Time_slot.t option, string) result
OCaml

Innovation. Community. Security.