import Data.Text.Lazy (splitOn, pack)
import Data.Map.Lazy (foldrWithKey)
+import Data.Default.Class (def)
import NmcDom
Nothing -> "hostmaster." ++ name ++ "."
Just addr -> dotmail addr
in
- if dom == emptyNmcDom then []
+ if dom == def then []
else
-- Follows a relatively ugly hack to figure if we are at the top
-- level domain ("something.bit"). Only in such case we provide