Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coot/nothunks 0.2.1.0 #51

Merged
merged 3 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Revision history for nothunks

## 0.2.1.0 -- 2024-02-06

* Support `wherefrom` with `GHC-9.2` or newer. (Teo Camarasu, [#49](https://github.com/input-output-hk/nothunks/pull/49))

## 0.2.0 -- 2024-01-27

* Use `whereFrom` to get source information, which is avialable when the source
is compiled with `GHC-9.4` (or newer) and with `-finfo-table-map` (and even
is compiled with `GHC-9.6` (or newer) and with `-finfo-table-map` (and even
more accurate when `-fdistinct-constructor-table` is passed).
For that reason the `ThunkInfo` type has changed.
* `NoThunks` instance for `Data.Tuple.Solo`.
Expand Down
5 changes: 3 additions & 2 deletions nothunks.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: nothunks
version: 0.2.0
version: 0.2.1.0
synopsis: Examine values for unexpected thunks
description: Long lived application data typically should not contain
any thunks. This library can be used to examine values for
Expand Down Expand Up @@ -49,7 +49,8 @@ library
, ghc-heap

if impl(ghc >= 9.2)
build-depends: wherefrom-compat >= 0.1.1.0 && < 0.2.0.0
build-depends: wherefrom-compat ^>= 0.1.1

if flag(bytestring)
build-depends: bytestring >= 0.10 && < 0.13
if flag(text)
Expand Down
1 change: 0 additions & 1 deletion src/NoThunks/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE ScopedTypeVariables #-}
Expand Down
Loading