Skip to content

binding-tier-1: Haskell binding standup (replicate from Chapel pilot) #133

@hyperpolymath

Description

@hyperpolymath

Parent: #129.

Scope

Apply the detachable-harness template from
docs/adr/0001-binding-ci-template.adoc to bindings/haskell/.

Detachability contract for the Haskell binding

  • bindings/haskell/src/, test/, proven.cabal (and/or
    stack.yaml), Justfile, symbol-manifest.txt
  • bindings/c/include/proven.h — vendored on extraction; consumed via
    include-dirs: in the cabal file driven by PROVEN_INCLUDE_PATH
  • .github/workflows/haskell-ci.yml — workflow + sparse-checkout

Root Justfile gains haskell-{check,build,test,clean} one-line
forwarders. The Haskell binding uses foreign import ccall with
extra-libraries: proven / extra-lib-dirs: driven by
PROVEN_LIB_PATH, not by hardcoded layout.

Replication

  • chapelhaskell
  • *.chpl*.hs / *.hsc
  • Mason.tomlproven.cabal
  • chpl --versionghc --version / cabal --version
  • Chapel chpl --librarycabal build --enable-tests

WIRED subset starts at the proven#88 quintet. Land in a single PR
titled feat(haskell-binding): stand up detachable CI + tests — binding-tier-1.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions