ghc-prim

GHC primitives

Version on this page:0.4.0.0
LTS Haskell 8.20:0.5.0.0
Stackage Nightly 2017-06-28:0.5.0.0
Latest on Hackage:0.5.0.0
BSD3 licensed
Maintained by libraries@haskell.org

Module documentation for 0.4.0.0

There are no documented modules for this package.

This package contains the primitive types and operations supplied by GHC.

Changes

0.5.0.0

  • GHC.Classes: new class IP (a :: Symbol) b | a -> b

  • GHC.Prim: changed type signatures from

      check# :: (State# RealWorld -> (# State# RealWorld, a #)) -> State# RealWorld -> (# State# RealWorld, () #)
      finalizeWeak# :: Weak# a -> State# RealWorld -> (# State# RealWorld, Int#, State# RealWorld -> (# State# RealWorld, () #) #)
      mkWeak# :: a -> b -> c -> State# RealWorld -> (# State# RealWorld, Weak# b #)

    to

      check# :: (State# RealWorld -> (# State# RealWorld, a #)) -> State# RealWorld -> State# RealWorld
      finalizeWeak# :: Weak# a -> State# RealWorld -> (# State# RealWorld, Int#, State# RealWorld -> (# State# RealWorld, b #) #)
      mkWeak# :: a -> b -> (State# RealWorld -> (# State# RealWorld, c #)) -> State# RealWorld -> (# State# RealWorld, Weak# b #)
  • Removed from GHC.Prim:

      parAt# :: b -> a -> Int# -> Int# -> Int# -> Int# -> c -> Int#
      parAtAbs# :: a -> Int# -> Int# -> Int# -> Int# -> Int# -> b -> Int#
      parAtForNow# :: b -> a -> Int# -> Int# -> Int# -> Int# -> c -> Int#
      parAtRel# :: a -> Int# -> Int# -> Int# -> Int# -> Int# -> b -> Int#
      parGlobal# :: a -> Int# -> Int# -> Int# -> Int# -> b -> Int#
      parLocal# :: a -> Int# -> Int# -> Int# -> Int# -> b -> Int#
  • Added to GHC.Prim:

      getSizeofMutableByteArray# :: MutableByteArray# d -> State# d -> (# State# d, Int# #)
      subWordC# :: Word# -> Word# -> (# Word#, Int# #)
      runRW# :: (State# RealWorld -> (# State# RealWorld, o #)) -> (# State# RealWorld, o #)
  • Added to GHC.Types:

      data Module = Module TrName TrName
      data Nat
      data Symbol
      data TrName = TrNameS Addr# | TrNameD [Char]
      data TyCon = TyCon Word# Word# Module TrName
Depends on:
Used by 377 packages:
AC-VanillaArray, Biobase, CCA, CSPM-Frontend, CSPM-ToProlog, Cascade, ConstraintKinds, DSA, Dust, Dust-crypto, Dust-tools, Dust-tools-pcap, Euterpea, FComp, Frames, GenericPretty, HList, HSoM, HarmTrace, HarmTrace-Base, HaskRel, HsTools, IORefCAS, LambdaHack, MSQueue, MonadCompose, Nussinov78, PArrows, Parry, Ref, Thrift, Treiber, Vec, WordAlignment, accelerate, accelerate-bignum, acme-iot, acme-timemachine, aeson, aeson-schema, algebra-sql, alpha, altfloat, approximate, arithmoi, array-primops, aterm, atomic-primops, autom, barley, base, base-orphans, base16-bytestring, bayes-stack, beamable, bencoding, berp, binary-derive, bind-marshal, bitcoin-hs, bitcoin-rpc, bitset, blaze-textual, blaze-textual-native, bower-json, box-tuples, bson-generic, bson-generics, bspack, btree, bv, bytestring, bytestring-plain, c-storable-deriving, cabal-helper, camfort, cereal, cereal-derive, cgrep, chaselev-deque, chronograph, clash-prelude, classy-prelude, clr-typed, cognimeta-utils, colada, compact-mutable, comptrans, concurrent-supply, constraints, containers, containers-benchmark, copilot-language, country, crocodile, crypto-numbers, cryptohash, cryptonite, csound-expression-typed, csv-conduit, daemons, data-bword, data-default-generics, data-diverse, data-dword, data-filepath, deepseq-generics, definitive-base, definitive-parser, dense, deriving-compat, dimensions, discrimination, double-conversion, dph-base, dph-prim-seq, dynamic-loader, easytensor, ed25519, effective-aspects, effective-aspects-mzv, ekg-core, encoding, enumerate, enummapmap, exp-pairs, exposed-containers, extended-categories, extensible, ez-couch, fast-builder, fixed-vector-hetero, flat, flat-maybe, forml, foundation, fpco-api, functor-utils, gdiff-ig, generic-binary, generic-deepseq, generic-deriving, generic-maybe, generic-storable, generics-sop, ghc-typelits-extra, ghcjs-base-stub, ghcjs-dom-jsffi, ghcjs-vdom, ghclive, gitlib-s3, gloss, gloss-algorithms, gloss-examples, gloss-raster, gochan, gofer-prelude, gore-and-ash-network, graphicstools, hMollom, hPDB, hPDB-examples, hackage-security, hackport, hashable, hashable-generics, hashabler, hashtables, hask, haskell-cnc, haskell-mpfr, haskell-platform-test, haskell-src-exts, haskell-src-meta-mwotton, haskell2010, haskhol-core, haste-compiler, haxl, herbalizer, hermit-syb, hgmp, hindent, histogram-fill, hood, hpp, hs-dotnet, hscd, http-client, hulk, hydrogen-multimap, ide-backend, imperative-edsl, impure-containers, increments, integer-gmp, integer-logarithms, integer-simple, intervals, introduction, invariant, isohunt, ixmonad, jsaddle, json-incremental-decoder, judy, keycode, lambdacube-edsl, language-eiffel, lda, lens, lens-labels, lift-generics, lifted-protolude, linear, linearscan, liquid-fixpoint, liquidhaskell, llsd, lmdb-high-level, lockfree-queue, lol-typing, luachunk, lvish, marked-pretty, mcl, memory, mezzo, miniutter, mios, monad-atom, monad-atom-simple, monad-classes, monad-classes-logging, monad-ran, monad-ste, multipass, musicbrainz-email, mutable-containers, myTestlll, neural-network-blashs, niagra, noether, oberon0, octohat, one-liner, opengles, packer, packman, pandoc, pandoc-types, perdure, permutation, persistent-template, phasechange, pinch, pipes-binary, plugins, postgresql-orm, pqueue-mtl, pregame, pretty, pretty-show, prim-array, prim-spoon, primitive, primitive-simd, progressive, proj4-hs-bindings, protolude, psqueues, putlenses, quickspec, raft, rawr, rcu, reactivity, records-sop, ref, regex-deriv, regex-pderiv, regex-tdfa, regex-tdfa-rc, repa, repa-eval, repa-series, resin, rethinkdb-wereHamster, retry, ruin, safeint, sbvPlugin, scholdoc-types, scientific, sde-solver, search, securemem, servant-auth-token-acid, sexp, shakespeare, simd, simple-c-value, sjsp, smallcheck, smartcheck, spatial-math, speculation, stable-maps, stable-marriage, stable-memo, state-bag, stm-conduit, store, store-core, streaming, strict-base-types, structs, structured-haskell-mode, structures, subhask, swift-lda, symantic, symantic-lib, system-gpio, ta, tag-bits, tasty-ant-xml, template-haskell-util, tensor, text, text-format, text-generic-pretty, text-show, th-abstraction, th-lift, thrift, timeout-control, toysolver, tpar, transformers-compat, trifecta, twee, ty, type-level-sets, type-map, type-operators, type-prelude, typeparams, udbus, unagi-chan, unboxed-ref, unfoldable, uni-util, unique, universum, usb, utf8-light, uuagc, uuagc-bootstrap, uulib, uvector, vacuum, vector, vector-bytestring, vector-clock, vector-functorlazy, vinyl, vinyl-plus, warp, web-routes, wide-word, word-vector, wreq, wreq-sb, xhaskell-library, yarr, yxdb-utils, zstd
comments powered byDisqus