Skip to content

Locale as a phantom type #196

@flaeppe

Description

@flaeppe

Could it be feasible to introduce a Locale phantom type? Perhaps more narrowly a "http locale" type, following the rules of the Accept-Language header specification (https://httpwg.org/specs/rfc7231.html#header.accept-language). I don't mean that Locale would represent the whole header value but rather that the header value would be split into multiple locales.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions