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
28 changes: 12 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,26 @@ on:
pull_request:
branches: [master]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
purescript: "unstable"

- uses: actions/setup-node@v2
with:
node-version: "14.x"
node-version: "24"

- name: Install dependencies
run: |
npm install -g bower
npm install
bower install --production
run: npm install

- name: Build source
run: npm run-script build
run: npm run build

- name: Run tests
run: |
bower install
npm run-script test --if-present
run: npm test

- name: Check formatting
run: npm run format:check
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/.*
!/.gitignore
!/.github/
!/.tidyrc.json
!/.oxfmtrc.json
/bower_components/
/node_modules/
/output/
package-lock.json
/package-lock.json
/spago.lock
3 changes: 3 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "es5"
}
10 changes: 10 additions & 0 deletions .tidyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"importSort": "ide",
"importWrap": "source",
"indent": 2,
"operatorsFile": null,
"ribbon": 1,
"typeArrowPlacement": "first",
"unicode": "never",
"width": null
}
21 changes: 16 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [Unreleased](https://github.com/purescript/purescript-catenable-lists/compare/v7.0.1...HEAD)

Breaking changes:

Expand All @@ -12,9 +12,17 @@ Bugfixes:

Other improvements:

## [v7.0.1](https://github.com/purescript/purescript-catenable-lists/releases/tag/v7.0.1) - 2026-10-17

Other improvements:

- Migrate from Bower/Pulp to Spago and update CI (#52 by @thomashoneyman)
- Remove the obsolete benchmark suite and its generated results (#52 by @thomashoneyman)

## [v7.0.0](https://github.com/purescript/purescript-catenable-lists/releases/tag/v7.0.0) - 2022-04-27

Breaking changes:

- Update project and deps to PureScript v0.15.0 (#48 by @JordanMartinez)
- Drop deprecated `MonadZero` instance (#49 by @JordanMartinez)

Expand All @@ -27,16 +35,19 @@ Other improvements:
## [v6.0.1](https://github.com/purescript/purescript-catenable-lists/releases/tag/v6.0.1) - 2021-04-19

Other improvements:

- Fix warnings revealed by `v0.14.1` PureScript release (#47 by @JordanMartinez)

## [v6.0.0](https://github.com/purescript/purescript-catenable-lists/releases/tag/v6.0.0) - 2021-02-26

Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#41)

- Added support for PureScript 0.14 and dropped support for all previous versions (#41)

Other improvements:
- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#42)
- Added a CHANGELOG.md file and pull request template (#44, #45)

- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#42)
- Added a CHANGELOG.md file and pull request template (#44, #45)

## [v5.0.1](https://github.com/purescript/purescript-catenable-lists/releases/tag/v5.0.1) - 2019-01-25

Expand Down Expand Up @@ -91,6 +102,6 @@ This release is intended for the PureScript 0.9.1 compiler and newer.
## [0.1.0](https://github.com/purescript/purescript-catenable-lists/releases/tag/0.1.0) - 2015-08-09

**Features**

- `CatList`
- `CatQueue`

16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,3 @@ spago install catenable-lists
## Documentation

Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-catenable-lists).

## Benchmarks

![cons](benchmarks/cons.png)

![snoc](benchmarks/snoc.png)

![uncons](benchmarks/uncons.png)

![append](benchmarks/append.png)

![snoc-uncons](benchmarks/snoc-uncons.png)

![cons-uncons-n](benchmarks/cons-uncons-n.png)

![snoc-uncons-n](benchmarks/snoc-uncons-n.png)
1 change: 0 additions & 1 deletion benchmarks/append.json

This file was deleted.

Binary file removed benchmarks/append.png
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/cons-uncons-n.json

This file was deleted.

Binary file removed benchmarks/cons-uncons-n.png
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/cons.json

This file was deleted.

Binary file removed benchmarks/cons.png
Binary file not shown.
Binary file removed benchmarks/snoc-ef311f5.png
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/snoc-uncons-n.json

This file was deleted.

Binary file removed benchmarks/snoc-uncons-n.png
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/snoc-uncons.json

This file was deleted.

Binary file removed benchmarks/snoc-uncons.png
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/snoc.json

This file was deleted.

Binary file removed benchmarks/snoc.png
Binary file not shown.
23 changes: 0 additions & 23 deletions benchmarks/src/Benchmark.js

This file was deleted.

163 changes: 0 additions & 163 deletions benchmarks/src/Benchmark.purs

This file was deleted.

Binary file removed benchmarks/uncons-ef311f5.png
Binary file not shown.
1 change: 0 additions & 1 deletion benchmarks/uncons.json

This file was deleted.

Binary file removed benchmarks/uncons.png
Binary file not shown.
31 changes: 0 additions & 31 deletions bower.json

This file was deleted.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "pulp build -- --censor-lib --strict",
"test": "pulp test"
"build": "spago build",
"test": "spago test",
"format": "purs-tidy format-in-place src test && oxfmt --write .",
"format:check": "purs-tidy check src test && oxfmt --check ."
},
"devDependencies": {
"pulp": "16.0.0-0",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
"oxfmt": "^0.73.0",
"purescript": "^0.15.16",
"purs-tidy": "^0.11.1",
"spago": "^1.0.5"
}
}
Loading
Loading