- From: Jeffrey Yasskin <notifications@github.com>
- Date: Tue, 07 Aug 2018 08:09:01 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 August 2018 15:09:27 UTC
1) An [IP address] (https://url.spec.whatwg.org/#concept-ipv4) is not a string. 2) When we say that a Host is a domain or an [opaque host] (https://url.spec.whatwg.org/#opaque-host), which is an ASCII string, I think it's clear that that should be implemented as a tagged union and not a pure sum type that could only use the types of its contents to distinguish. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/409#issuecomment-411090827
Received on Tuesday, 7 August 2018 15:09:27 UTC