X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fharbl.git;a=blobdiff_plain;f=src%2FDomain.hs;h=46c93061f3247c7710c202a530f8e9cd8f95bf30;hp=f19b11115989822dcde6303565708a083bc4d1b7;hb=e8ff5a36c776c6808aacaa6ba488fe5fd19db497;hpb=476eee96bdc3a85449769a556852f2737614572f diff --git a/src/Domain.hs b/src/Domain.hs index f19b111..46c9306 100644 --- a/src/Domain.hs +++ b/src/Domain.hs @@ -74,7 +74,11 @@ letter = fmap Letter Parsec.letter -- manner... -- -- Since each part of DNS name is composed of our custom types, it --- suffices to munge the equality for 'Letter'. +-- suffices to munge the equality for 'Letter'. RFC4343 +-- clarifies the +-- case-insensitivity rules, but the fact that we're treating DNS +-- names as strings makes most of those problems go away (in +-- exchange for new ones). -- instance Eq Letter where (Letter l1) == (Letter l2) = (toLower l1) == (toLower l2) @@ -384,6 +388,14 @@ length_ldh_str_let_dig (LdhStrLetDig (Just ldhstring) _) = -- --