Skip to content
  • Krzysztof Gogolewski's avatar
    Add missing primop documentation (#18454) · c6f50cea
    Krzysztof Gogolewski authored and Marge Bot's avatar Marge Bot committed
    - Add three pseudoops to primops.txt.pp, so that Haddock renders
      the documentation
    - Update comments
    - Remove special case for "->" - it's no longer exported from GHC.Prim
    - Remove reference to Note [Compiling GHC.Prim] - the ad-hoc fix is no
      longer there after updates to levity polymorphism.
    - Document GHC.Prim
    - Remove the comment that lazy is levity-polymorphic.
      As far as I can tell, it never was: in 80e39963,
      only the unfolding was given an open type variable.
    - Remove haddock hack in GHC.Magic - no longer neccessary after
      adding realWorld# to primops.txt.pp.
    c6f50cea