Commits

camlspotter  committed 2bb1b83

exposed error exception

  • Participants
  • Parent commits a00873b

Comments (0)

Files changed (2)

 
 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
 
 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