package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303
doc/bonsai.uri_parsing/Uri_parsing/Value_parser/index.html
Module Uri_parsing.Value_parser
Source
This module contains primitive parsers. Not useful on their own, but when combined with the parsers in the Parser
module they become useful.
A 'a Value_parser.t
will parse string
-> 'a
and unparse 'a
-> string
base64_encoded
will decode the URL component before parsing, and encode the URL component after unparsing.
Turns a parser of type 'a to a parser of type 'b.
Properties:
- If the parse_exn function fails, so does the entire parser.
fallback parser value
parses into value
every time that parser
fails.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>