opium_kernel
Sinatra like web toolkit based on Lwt + Cohttp
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library opium_kernel
val sexp_of_t :
( 'req -> Sexplib0.Sexp.t ) ->
( 'rep -> Sexplib0.Sexp.t ) ->
( 'req' -> Sexplib0.Sexp.t ) ->
( 'rep' -> Sexplib0.Sexp.t ) ->
( 'req, 'rep, 'req', 'rep' ) t ->
Sexplib0.Sexp.t
val t_of_sexp :
( Sexplib0.Sexp.t -> 'req ) ->
( Sexplib0.Sexp.t -> 'rep ) ->
( Sexplib0.Sexp.t -> 'req' ) ->
( Sexplib0.Sexp.t -> 'rep' ) ->
Sexplib0.Sexp.t ->
( 'req, 'rep, 'req', 'rep' ) t
type ('req, 'rep) simple = ( 'req, 'rep, 'req, 'rep ) t
A filter is simple when it preserves the type of a service
val sexp_of_simple :
( 'req -> Sexplib0.Sexp.t ) ->
( 'rep -> Sexplib0.Sexp.t ) ->
( 'req, 'rep ) simple ->
Sexplib0.Sexp.t
val simple_of_sexp :
( Sexplib0.Sexp.t -> 'req ) ->
( Sexplib0.Sexp.t -> 'rep ) ->
Sexplib0.Sexp.t ->
( 'req, 'rep ) simple
val id : ( 'req, 'rep ) simple