packages feed

run-st-0.1.3.3: run-st.cabal

cabal-version:   2.2
name:            run-st
version:         0.1.3.3
synopsis:        runST without boxing penalty
description:
  This package provides specializations of `runST` that avoid a needless
  data-constructor allocation for the returned value.
  If <https://gitlab.haskell.org/ghc/ghc/issues/15127 issue 15127> is
  resolved, this package will no longer be necessary.

homepage:        https://github.com/byteverse/run-st
bug-reports:     https://github.com/byteverse/run-st/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Andrew Martin
maintainer:      amartin@layer3com.com
copyright:       2019 Andrew Martin
category:        Data
extra-doc-files: CHANGELOG.md
tested-with:     GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
  default-language: Haskell2010
  ghc-options:      -Wall -Wunused-packages

library
  import:          build-settings
  exposed-modules: Control.Monad.ST.Run
  build-depends:
    , base                >=4.12 && <5
    , primitive           >=0.7  && <0.10
    , primitive-unlifted  >=2.1

  hs-source-dirs:  src
  ghc-options:     -O2

source-repository head
  type:     git
  location: git://github.com/byteverse/run-st.git