package yocaml
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=967db87e63b7da8c3f127df5461eb86d0da9d41ef20e1957beacec9df5ec760c
sha512=930d98d22f19232b498a399e86c88a8ec87d49886eaeb1c296ff48b6d7f1da6c420c53472028410ef83d1914e8268924636353378b5e99bf0e93783769519c9f
doc/index.html
YOCaml
Yocaml
is a framework for building construction rules. Its implementation is biased towards facilitating the construction of static site (or document) generators. Conceptually, it is fairly close to version 3 of Hakyll, a generator written in Haskell.
This page serves as an index of documents describing and justifying certain design choices, as well as guides on how to use YOCaml to build projects.
The YOCaml API (full documentation) can be accessed via this link. The various plugins are accessible via the documentation root.
You can refer to the examples at the root of the source repository to see extensively documented examples of how to use YOCaml.
Specific guides
Generic validation of structured data
YOCaml allows the use of a collection of generic formats, so it must be able to validate arbitrary data. In this guide, we'll look at how to handle the validation of data (structured in the form of key values, rather like a JSON
document) and how to project it into controllable OCaml types.
Design choices
A few notes about some design choices (which will probably be expanded upon in specific blog posts).