refactor: replace predicate-based event matching with collector pipeline
- Simplify `.ocamlformat` to use `default` profile with fewer overrides - Extract shared types and utilities into a `remind_sync` library (`icalendar_augmented`, `ptime_augmented`, `timedesc_augmented`, `result_augmented`, `utf8`) - Replace `eventTransformer.ml` and the predicate system in `eventPredicates.ml` with a sequential collector pipeline (`collect_uuid`, `collect_summary`, `collect_start_end_duration`, etc.) - Simplify `Remind.rem` to a flat record with `Timedesc` date/time fields and replace `rem_to_string` with a leaner `string_of_rem` - Add `separate_master_and_recurrence` and `get_recurrence_id` helpers to `utils.ml` - Wire `main.ml` to call `EventPredicates.remind_of_event` per UID group and print results directly - Remove `eventTransformer` module from `bin/dune` and enable the `remind_sync` library dependency
This commit is contained in:
16
.ocamlformat
16
.ocamlformat
@@ -1,19 +1,7 @@
|
||||
profile = default
|
||||
version = 0.29.0
|
||||
profile = conventional
|
||||
|
||||
margin = 120
|
||||
break-cases = fit-or-vertical
|
||||
break-infix = fit-or-vertical
|
||||
break-separators = after
|
||||
cases-exp-indent = 2
|
||||
exp-grouping = preserve
|
||||
if-then-else = keyword-first
|
||||
leading-nested-match-parens = false
|
||||
let-and = sparse
|
||||
margin = 120
|
||||
space-around-arrays = false
|
||||
space-around-lists = false
|
||||
space-around-records = false
|
||||
space-around-records = true
|
||||
space-around-variants = false
|
||||
type-decl = sparse
|
||||
wrap-fun-args = false
|
||||
|
||||
Reference in New Issue
Block a user