package daypack-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Daypack_lib.TaskSource

Sourcetype arith_seq = {
  1. start : int64;
  2. end_exc : int64 option;
  3. diff : int64;
}
Sourcetype user_id = int64
Sourceand task_id = user_id * int64
Sourceand task_inst_id = user_id * int64 * int64
Sourceand task_seg_id = user_id * int64 * int64 * int64 * int64 option
Sourcetype task = task_id * task_data
Sourceand task_data = {
  1. splittable : bool;
  2. parallelizable : bool;
  3. task_type : task_type;
  4. name : string;
}
Sourceand task_type =
  1. | One_off
  2. | Recurring of recur
Sourceand recur_type =
  1. | Arithemtic_seq of arith_seq * recur_data
  2. | Time_pattern_match of Time_pattern.time_pattern * recur_data
Sourceand recur = {
  1. excluded_time_slots : Time_slot.t list;
  2. recur_type : recur_type;
}
Sourceand sched_req_template_data_unit = (task_seg_size, int64, Time_slot.t) Sched_req_data_unit_skeleton.t
Sourceand sched_req_template = sched_req_template_data_unit list
Sourceand recur_data = {
  1. task_inst_data : task_inst_data;
  2. sched_req_template : sched_req_template;
}
Sourceand task_inst_data = {
  1. task_inst_type : task_inst_type;
}
Sourceand task_inst_type =
  1. | Reminder
  2. | Reminder_quota_counting of {
    1. quota : int64;
    }
  3. | Passing
Sourceand task_seg_alloc_req = task_inst_id * task_seg_size
Sourceand task_seg_size = int64
Sourceand task_seg_place = task_seg_id * int64 * int64
Sourceand progress = {
  1. chunks : Int64_int64_set.t;
}
Sourcemodule Id : sig ... end
Sourceval task_seg_alloc_req_sum_length : ('a * int64) list -> int64
Sourceval sched_req_template_bound_on_start_and_end_exc : sched_req_template -> (int64 * int64) option
Sourcemodule Check : sig ... end
Sourcemodule Serialize : sig ... end
Sourcemodule Deserialize : sig ... end
Sourcemodule To_string : sig ... end
Sourcemodule Print : sig ... end
OCaml

Innovation. Community. Security.