@hackage pure-borrow0.0.0.0
Rust-style borrowing in Linear Haskell with purity
Categories
License
BSD-3-Clause
Maintainer
ysk.m24t@gmail.com konn.jinro@gmail.com
Links
Versions
- 0.0.0.0 Tue, 5 May 2026
Installation
Tested Compilers
Dependencies (28)
- array
- base >=4.17 && <5
- containers
- deepseq
- hybrid-vectors
- linear-base >=0.7 Show all…
Dependents (0)
Package Flags
artifact
(off by default)
Build the artifact runner executable, which runs all the benchmarks and produces CSV files.
pure-borrow: Pure realization of Rust-style borrows in Linear Haskell
This is pure-borrow, a library that realizes Rust-style borrows in Linear
Haskell in a pure manner.
See the haddock or publication below for the more information.
Supported GHC Versions
We support GHC 9.10.2+, but we recommend GHC 9.12.4+, due to subtle compiler bug in older GHC.
Known Issues
Due to the bug of linear types in GHC <9.12.3, some program segfaults when evaluated in interpreter with older GHCs (see https://gitlab.haskell.org/ghc/ghc/-/issues/26565#note_645783). Compiled programs just work as expected with GHC 9.10.2+, so this issue will only affect you are trying to use GHCi or Eval Plugin of Haskell Language Server. If you want to use interpreters, use GHC 9.12.3+.
Publication(s)
- Y. Matsushita and H. Ishii, Pure Borrow: Linear Haskell Meets Rust-Style Borrowing, 2026. To appear in: PLDI 2026. Boulder, Colorado, USA, June 15-19. DOI: 10.1145/3808259. Extended Version: arxiv:2604.15290.
- Y. Matsushita and H. Ishii, Artifact for PLDI 2026 "Pure Borrow: Linear Haskell Meets Rust-Style Borrowing", 2026. Zenodo: https://zenodo.org/records/19622061.