1. camlspotter
  2. planck

Commits

camlspotter  committed 2bb1b83

exposed error exception

  • Participants
  • Parent commits a00873b
  • Branches default

Comments (0)

Files changed (2)

File pcore.ml

View file
 
 module type S = sig
   module Str : Stream.S
+  exception Error of Str.pos * string
   module Result : Result.S with type error = Str.pos * string
   include Utils.Monad.T with type 'a t = Str.t -> ('a * Str.t) Result.t
   val take : Str.elem t

File pcore.mli

View file
 
 module type S = sig
   module Str : Stream.S
+  exception Error of Str.pos * string
   module Result : Result.S with type error = Str.pos * string
   
   include Utils.Monad.T with type 'a t = Str.t -> ('a * Str.t) Result.t