From e1bc08ed2b35a9b9faf76fab8316aec4224782cb Mon Sep 17 00:00:00 2001 From: polwex Date: Fri, 18 Jul 2025 18:54:42 +0700 Subject: mmm --- ROUTER_CHANGES.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'ROUTER_CHANGES.md') diff --git a/ROUTER_CHANGES.md b/ROUTER_CHANGES.md index 5f7aab3..b82f687 100644 --- a/ROUTER_CHANGES.md +++ b/ROUTER_CHANGES.md @@ -16,4 +16,14 @@ - Patterns (`s`, `/`, `/?`, `int`, `str`, `wildcard`, `@-->`) make the routes very declarative, but the necessary type annotations can become verbose, especially when inferring the correct `route` versus `router` types. - Static file handling with `Body.sendfile` and `Body.to_string` is straightforward, though error paths currently propagate raw errors rather than returning HTTP error responses (which might be improved later). - The `dune` setup is standard, with a shared library and pages sub-library, plus `ppx_rapper_eio` for DB bindings. -- Overall, the code structure is clean and idiomatic, but the interaction of the routes DSL with OCaml’s type system can be a bit tricky when refining precise types. \ No newline at end of file +- Overall, the code structure is clean and idiomatic, but the interaction of the routes DSL with OCaml’s type system can be a bit tricky when refining precise types. + +## Dune shenanigans +deleted this but might come in handy later + (rule + (target styles.css) + (deps + input.css + tailwind.sh) + (action + (bash "sh %{workspace_root}/tailwind.sh"))) -- cgit v1.2.3