GHC.Runtime.Eval.Utils
splitIdent :: String -> (String, String, String) Source #
Split up a string with an eventually qualified declaration name into 3 components
"foo" = ("", "foo", "foo") "A.B.C.foo" = (A.B.C, "foo", "foo") "M.N.foo.bar" = (M.N, "foo", "foo.bar")
combineModIdent :: String -> String -> String Source #
Qualify an identifier name with a module name
combineModIdent A "foo" = "A.foo" combineModIdent "" "foo" = "foo"