30
32
-- @modid -> [modid.] large {small | large | digit | ' }@
32
34
-- 'encodeModuleName' is an injective function into the set of module
34
38
-- Precondition: The input must not start or end with @.@, and no two
37
41
encodeModuleName :: Module -> Module
40
46
-- splitUp ".apa.bepa." == [".","apa",".","bepa","."]
41
47
splitUp = groupBy ((&&) `on` (/= '.'))