package vif

  1. Overview
  2. Docs
A simple web framework for OCaml 5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

vif-0.0.1.beta3.tbz
sha256=4da176d4f20bc5d2dc6f8960ece626c7815f5281680bbf99af3487bbb4419c2c
sha512=e225e6b977f92a243e900b4b6a728ef07b9469e17557c21457fe24e21c06be9bb176bc5f5847df64c702efb8f86538a0dac7bde09d8a68193c348aa3eec62748

doc/vif.core/Vif_core/Route/Utils/index.html

Module Route.UtilsSource

Sourceval map_snd : ('a -> 'b) -> ('c * 'a) -> 'c * 'b
Sourceval intersperse : 'a -> 'a list -> 'a list
Sourceval find_idx : ('a -> int) -> 'a -> 'a list -> int

Offset of el in l, given the function count. Used to get the first regexp group at a given place.

Sourceval build_permutation : int -> ('a -> int) -> 'a list -> 'a list -> int array

if l' ∈ l then build_permutation offset count l l' builds a mapping: index in l => offset in l'. Offsets are computed respecting offset and count.