package eliom

  1. Overview
  2. Docs
Advanced client/server Web and mobile framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

12.0.0.tar.gz
md5=4b220b194b6f4b55595a15de48a77d5f
sha512=030f33a99ad3cdbf8f86cb92bb54665004fd8aed7113733407682c2f8dda035a57915f38084e7ceead488e51765b339e0cd070c649ecbe8a7fb23eb008894a08

doc/eliom.server/Eliom_wrap/index.html

Module Eliom_wrapSource

Sourcetype 'a wrapped_value
Sourcetype +'a wrapper

'a wrapper is the type of values to include into a value of type 'a for it to be wrapped specifically

Sourceval create_wrapper : ('a -> 'b) -> 'a wrapper

create f create a new tag that can be included into a value. if wrap is called on a father of a value v containing a tag, the value v will be replaced by f v before marshaling.

marshal a value, taking into account the tags.

Sourceval wrap : 'a -> 'a wrapped_value
Sourceval empty_wrapper : 'a wrapper

a wrapper that do not change the value