Skip to content
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
12 changes: 6 additions & 6 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20250330
# version: 0.19.20250605
#
# REGENDATA ("0.19.20250330",["github","cabal.project"])
# REGENDATA ("0.19.20250605",["github","cabal.project"])
#
name: Haskell-CI
on:
Expand All @@ -33,9 +33,9 @@ jobs:
compilerVersion: 9.12.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.10.1
- compiler: ghc-9.10.2
compilerKind: ghc
compilerVersion: 9.10.1
compilerVersion: 9.10.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.8.4
Expand Down Expand Up @@ -76,8 +76,8 @@ jobs:
chmod a+x "$HOME/.ghcup/bin/ghcup"
- name: Install cabal-install
run: |
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.1-p1 || (cat "$HOME"/.ghcup/logs/*.* && false)
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.1-p1 -vnormal+nowrap" >> "$GITHUB_ENV"
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
- name: Install GHC (GHCup)
if: matrix.setup-method == 'ghcup'
run: |
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Revision history for hiedb

## 0.7.0.0

* DB schema change: added new bool field `refs.is_generated` to distinguish between references coming from source code
and those generated by the compiler
* Extended `hie-db ref-graph` cli command by adding possibility to filter by occurrence name / module / unit-id:
`hiedb ref-graph [NAME] [MODULE] [-u|--unit-id UNITID]`

## 0.6.0.2

* Bump base and ghc version bounds to support GHC 9.12
Expand Down
4 changes: 2 additions & 2 deletions hiedb.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hiedb
version: 0.6.0.2
version: 0.7.0.0
synopsis: Generates a references DB from .hie files
description: Tool and library to index and query a collection of `.hie` files
bug-reports: https://github.com/wz1000/HieDb/issues
Expand All @@ -21,7 +21,7 @@ tested-with: GHC ==9.0.2
|| ==9.4.8
|| ==9.6.7
|| ==9.8.4
|| ==9.10.1
|| ==9.10.2
|| ==9.12.2

source-repository head
Expand Down
2 changes: 1 addition & 1 deletion src/HieDb/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
module HieDb.Query where

import Algebra.Graph.AdjacencyMap (AdjacencyMap, adjacencyMap, edges, induce, vertexSet, vertices, overlay, transpose)
import Algebra.Graph.AdjacencyMap (AdjacencyMap, edges, induce, vertexSet, vertices, overlay, transpose)
import Algebra.Graph.AdjacencyMap.Algorithm (reachable)
import Algebra.Graph.Export.Dot hiding ((:=))
import qualified Algebra.Graph.Export.Dot as G
Expand Down