HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Moduleghc-10.0.0.20260917GHC2024

GHC.Runtime.Eval.Utils

Synopsis

Split up a string with an eventually qualified declaration name into 3 components

  1. module name

  2. top-level decl

  3. full-name of the eventually nested decl, but without module qualification

Example
    "foo"           = ("", "foo", "foo")
    "A.B.C.foo"     = (A.B.C, "foo", "foo")
    "M.N.foo.bar"   = (M.N, "foo", "foo.bar")