module Router: Sharp_router
type'a
route =string list -> ('a -> unit -> unit) option
You probably want to create them using the modules provided here.
val router : ?base_path:string ->
'a Sharp_core.t -> 'a route list -> unit -> unit
When a route matches, the current network is stopped and the network
returned by the router is started.
val router_ : ?base_path:string -> unit route list -> unit -> unit
router
but without an additional signal value.module type Part =sig
..end
module Final:sig
..end
module Var:
module Const:
val empty : Final.t
Final.empty
. Match the path /
.val (^/) : ('a -> 'b) -> 'a -> 'b
val (^//) : ('a -> 'b) -> (Final.t -> 'a) -> 'b
module CF: module type of Const(Final)
module VF: module type of Var(Final)
module CCF: module type of Const(CF)
module VCF: module type of Var(CF)
module VVF: module type of Var(VF)
module CVF: module type of Const(VF)
module CCCF: module type of Const(CCF)
module CVCF: module type of Const(VCF)
module CVVF: module type of Const(VVF)
module CCVF: module type of Const(CVF)
module VCCF: module type of Var(CCF)
module VVCF: module type of Var(VCF)
module VVVF: module type of Var(VVF)
module VCVF: module type of Var(CVF)
module CCCCF: module type of Const(CCCF)
module CCVCF: module type of Const(CVCF)
module CCVVF: module type of Const(CVVF)
module CCCVF: module type of Const(CCVF)
module CVCCF: module type of Const(VCCF)
module CVVCF: module type of Const(VVCF)
module CVVVF: module type of Const(VVVF)
module CVCVF: module type of Const(VCVF)
module VCCCF: module type of Var(CCCF)
module VCVCF: module type of Var(CVCF)
module VCVVF: module type of Var(CVVF)
module VCCVF: module type of Var(CCVF)
module VVCCF: module type of Var(VCCF)
module VVVCF: module type of Var(VVCF)
module VVVVF: module type of Var(VVVF)
module VVCVF: module type of Var(VCVF)
module CCCCCF: module type of Const(CCCCF)
module CCCVCF: module type of Const(CCVCF)
module CCCVVF: module type of Const(CCVVF)
module CCCCVF: module type of Const(CCCVF)
module CCVCCF: module type of Const(CVCCF)
module CCVVCF: module type of Const(CVVCF)
module CCVVVF: module type of Const(CVVVF)
module CCVCVF: module type of Const(CVCVF)
module CVCCCF: module type of Const(VCCCF)
module CVCVCF: module type of Const(VCVCF)
module CVCVVF: module type of Const(VCVVF)
module CVCCVF: module type of Const(VCCVF)
module CVVCCF: module type of Const(VVCCF)
module CVVVCF: module type of Const(VVVCF)
module CVVVVF: module type of Const(VVVVF)
module CVVCVF: module type of Const(VVCVF)
module VCCCCF: module type of Var(CCCCF)
module VCCVCF: module type of Var(CCVCF)
module VCCVVF: module type of Var(CCVVF)
module VCCCVF: module type of Var(CCCVF)
module VCVCCF: module type of Var(CVCCF)
module VCVVCF: module type of Var(CVVCF)
module VCVVVF: module type of Var(CVVVF)
module VCVCVF: module type of Var(CVCVF)
module VVCCCF: module type of Var(VCCCF)
module VVCVCF: module type of Var(VCVCF)
module VVCVVF: module type of Var(VCVVF)
module VVCCVF: module type of Var(VCCVF)
module VVVCCF: module type of Var(VVCCF)
module VVVVCF: module type of Var(VVVCF)
module VVVVVF: module type of Var(VVVVF)
module VVVCVF: module type of Var(VVCVF)