Skip to content
  • Cheng Shao's avatar
    b7da5c4d
    ghc-experimental: make JSVal abstract in GHC.Wasm.Prim · b7da5c4d
    Cheng Shao authored
    This commit makes JSVal an abstract type in the export list of
    GHC.Wasm.Prim. JSVal's internal representation is supposed to be a non
    user facing implementation detail subject to change at any time. We
    should only expose things that are newtypes of JSVal, not JSVal
    itself.
    b7da5c4d
    ghc-experimental: make JSVal abstract in GHC.Wasm.Prim
    Cheng Shao authored
    This commit makes JSVal an abstract type in the export list of
    GHC.Wasm.Prim. JSVal's internal representation is supposed to be a non
    user facing implementation detail subject to change at any time. We
    should only expose things that are newtypes of JSVal, not JSVal
    itself.
Loading