Skip to content

Commit

Permalink
[fix] stdlib/xhtml: Xml.fold was wrongly specialized to xhtml type
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Castejon authored and François-Régis Sinot committed Sep 7, 2011
1 parent c2a7bc2 commit f0c5cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/core/xhtml/xhtml.opa
Expand Up @@ -465,8 +465,8 @@ Xml =
* @param the first element of the fold
* @param the xml to fold
*/
fold(fun:(xml('a, 'b), 'c -> 'c), seed:'c, xhtml:xhtml): 'c =
match xhtml with
fold(fun:(xml('a, 'b), 'c -> 'c), seed:'c, xml:xml): 'c =
match xml with
| { text=_ }
| { content_unsafe=_ }
| { xml_dialect=_ } -> seed
Expand Down

0 comments on commit f0c5cfd

Please sign in to comment.