Skip to content

Types for fromUrl, parseHtml are too strict #17

Open
@peter50216

Description

@peter50216

Current type for fromUrl and parseHtml are both:

String -> IOSArrow XmlTree (NTree XNode)

But it only needs to be

String -> IOSArrow b (NTree XNode)

This change would make the following code valid:

let doc = setDefaultBaseURI url >>> parseHtml html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions