Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Mkreg

module Mkreg : sig..end

This module defines the functor to use to creates modules generating functions to register services for your own types of pages. It is used for example in Registration.


module Make : functor (Pages : Registration_sigs.PARAM     with type frame := Ocsigen_response.t) -> 
  
  Registration_sigs.S_with_create
with type page = Pages.page
and type options = Pages.options
and type result = Pages.result

Creates modules to register services for one type of pages

module Make_poly : functor (Pages : Registration_sigs.PARAM_POLY     with type frame := Ocsigen_response.t) -> 
  
  Registration_sigs.S_poly_with_create
with type 'a page = 'a Pages.page
and type options = Pages.options
and type 'a return = 'a Pages.return

Creating modules to register services for one type of parametrised pages