Skip to content

Better type for things like lookupYL #2

@gitfoxi

Description

@gitfoxi

I notice that I keep making the mistake with lookupYL of flipping the key and the data structure because they both have the same type YamlLight I end up wrapping it in a function like lookupStr YamlLight -> ByteString -> Maybe ByteString. This seems like a good way to go since the keys are always strings (I think).

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