package transept

  1. Overview
  2. Docs
Generalized parser combinator library

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=670634cc4be9a297c0f7174b61136e528a9d58ceab3ed78d71ef4680e4721e8b
md5=292994b959f2c2a55b9c1b2e10a09211

doc/transept.core/Transept_core/Response/Basic/index.html

Module Response.Basic

type (_, _) t

Response abstract data type

val success : ('s * 'a * bool) -> ('s, 'a) t

Define successful response

val failure : ('s * bool) -> ('s, 'a) t

Define fazilure response

val fold : ('s, 'a) t -> (('s * 'a * bool) -> 'b) -> (('s * bool) -> 'b) -> 'b

Catamorphism dedicated to response data type.

OCaml

Innovation. Community. Security.