Skip to content

Commit

Permalink
Remove remaining mentions of content_signal
Browse files Browse the repository at this point in the history
Resolves #60.
  • Loading branch information
aantron committed Nov 27, 2020
1 parent e1aed3c commit 420aaa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ type signal =
| `PI of string * string
| `Comment of string ]

type content_signal =
[ `Start_element of name * (name * string) list
| `End_element
| `Text of string list ]

type general_token =
[ `Xml of xml_declaration
| `Doctype of doctype
Expand Down
4 changes: 2 additions & 2 deletions src/markup.mli
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ val to_list : ('a, sync) stream -> 'a list
(** {2 Utility} *)

val content : ([< signal ], 's) stream -> (signal, 's) stream
(** Converts a {!signal} stream into a {!content_signal} stream by filtering out
all signals besides [`Start_element], [`End_element], and [`Text]. *)
(** Filters out all signals besides [`Start_element], [`End_element], and
[`Text]. *)

val tree :
?text:(string list -> 'a) ->
Expand Down

0 comments on commit 420aaa3

Please sign in to comment.