-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renaming the package to r-tree (#31)
Additionally cleaning up and updating the README
- Loading branch information
1 parent
9514a31
commit e374962
Showing
23 changed files
with
718 additions
and
749 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
main: | ||
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
# https://github.com/orgs/community/discussions/57827 | ||
if: github.event_name != 'pull_request' || | ||
github.event.pull_request.head.repo.full_name != | ||
github.event.pull_request.base.repo.full_name | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
ghc: | ||
- "9.0" | ||
- "9.2" | ||
- "9.4" | ||
- "9.6" | ||
- "9.8" | ||
- "9.10" | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- uses: haskell-actions/setup@v2 | ||
id: setup-haskell-cabal | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
|
||
- uses: actions/cache@v4 | ||
name: Cache cabal stuff | ||
with: | ||
path: | | ||
${{ steps.setup-haskell-cabal.outputs.cabal-store }} | ||
dist-newstyle | ||
key: ${{ runner.os }}-${{ matrix.ghc }} | ||
|
||
- name: Cabal version | ||
run: | | ||
cabal --version | ||
- name: Build & Test | ||
run: | | ||
cabal build --enable-tests | ||
cabal test --enable-tests --test-show-details=direct properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## 1.0.0.0 -- September 2024 | ||
|
||
- Initial rewrite. | ||
- Library renamed from `data-r-tree`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
data-r-tree | ||
# r-tree [![Hackage](http://img.shields.io/hackage/v/r-tree.svg)](https://hackage.haskell.org/package/r-tree) | ||
|
||
--- | ||
A Haskell library for [R-trees](https://en.wikipedia.org/wiki/R-tree) and [R\*-trees](https://en.wikipedia.org/wiki/R\*-tree). | ||
|
||
R/R\*-trees, currently only two-dimensional `Float` and `Double` varieties. | ||
> [!NOTE] | ||
> | ||
> R-trees are self-balancing and as such can only be spine-strict. | ||
Featuring: | ||
|
||
- `Data.R2Tree.*`: two-dimensional R-tree with the R\*-tree insertion algorithm. | ||
|
||
`Double`-based implementation is considered the default one; | ||
a `Float`-based variant is provided for cases where reduced precision is preferred, | ||
for example rendering. | ||
|
||
Higher-dimensional R-trees are not currently provided, | ||
but should be trivial to add if needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
packages: | ||
data-r-tree.cabal | ||
r-tree.cabal | ||
visualizer/r-tree-visualizer.cabal |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.