hgg-dataframe-0.1.0.0: hgg-dataframe.cabal
cabal-version: 3.0
name: hgg-dataframe
version: 0.1.0.0
extra-doc-files: CHANGELOG.md
synopsis: Hackage dataframe binding for hgg (PlotData instance for DataFrame)
description:
Bridges the Hackage @dataframe@ package to hgg, so a @DataFrame@ can be
plotted directly by column name.
.
* @instance PlotData DataFrame@ — makes @df '|>>' spec@ accept a
@DataFrame@ (e.g. one returned by @readCsv@) with no conversion step.
* @dfResolver@ / @plotDF@ — the underlying resolver and a one-call save
helper.
.
Nullable columns are supported: a @Maybe@ column can be referenced by
name and missing entries are dropped, mirroring ggplot2's @na.rm@.
.
@hgg-core@ and @hgg-frame@ stay independent of any dataframe library;
this package is the opt-in binding for users of Hackage @dataframe@.
license: BSD-3-Clause
license-file: LICENSE
homepage: https://github.com/frenzieddoll/hgg
author: Toshiaki Honda
maintainer: frenzieddoll@gmail.com
copyright: 2026 Aelysce Project (Toshiaki Honda)
category: Graphics
build-type: Simple
common warnings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields
-Wredundant-constraints
library
import: warnings
exposed-modules: Graphics.Hgg.DataFrame
hs-source-dirs: src
build-depends: base >= 4.17 && < 5
, text >= 2.0 && < 2.2
, vector >= 0.13 && < 0.14
, dataframe-core ^>= 1.1
, dataframe-operations >= 1.1.1 && < 1.2
, hgg-core ^>= 0.1
, hgg-frame ^>= 0.1
, hgg-svg ^>= 0.1
default-language: Haskell2010
test-suite hgg-dataframe-tests
import: warnings
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends: base
, text
, vector
, containers
, directory >= 1.3 && < 1.4
, filepath >= 1.4 && < 1.6
, dataframe-core ^>= 1.1
, hgg-core
, hgg-frame
, hgg-svg
, hgg-dataframe
, hspec >= 2.10 && < 2.12
default-language: Haskell2010