~ubuntu-branches/debian/sid/ppx-deriving-yojson/sid

« back to all changes in this revision

Viewing changes to src/ppx_deriving_yojson_runtime.mli

  • Committer: Package Import Robot
  • Author(s): Ralf Treinen
  • Date: 2018-03-28 21:56:16 UTC
  • Revision ID: package-import@ubuntu.com-20180328215616-xzfykdl8ls43ydi6
Tags: upstream-3.1
ImportĀ upstreamĀ versionĀ 3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
type 'a error_or = ('a, string) Result.result
 
2
 
 
3
val ( >>= ) : 'a error_or -> ('a -> 'b error_or) -> 'b error_or
 
4
val ( >|= ) : 'a error_or -> ('a -> 'b) -> 'b error_or
 
5
val map_bind : ('a -> 'b error_or) -> 'b list -> 'a list -> 'b list error_or
 
6
 
 
7
module List : (module type of List)
 
8
module String : (module type of String)
 
9
module Bytes : (module type of Bytes)
 
10
module Int32 : (module type of Int32)
 
11
module Int64 : (module type of Int64)
 
12
module Nativeint : (module type of Nativeint)
 
13
module Array : (module type of Array)
 
14
module Result : sig
 
15
  type ('a, 'b) result = ('a, 'b) Result.result =
 
16
    | Ok of 'a
 
17
    | Error of 'b
 
18
end