-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2248cae
Showing
9 changed files
with
1,362 additions
and
0 deletions.
There are no files selected for viewing
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,28 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: purescript-contrib/setup-purescript@main | ||
with: | ||
purescript: "unstable" | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "22.x" | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm install -g spago@next | ||
- name: Run tests | ||
run: spago test |
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,6 @@ | ||
.psc-ide-port | ||
.direnv | ||
.envrc | ||
output | ||
.spago | ||
node_modules |
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,17 @@ | ||
# purescript-priority-queue | ||
|
||
[![Latest release](http://img.shields.io/github/release/f-f/purescript-priority-queue.svg)](https://github.com/f-f/purescript-priority-queue/releases) | ||
[![Build status](https://github.com/f-f/purescript-priority-queue/workflows/CI/badge.svg?branch=main)](https://github.com/f-f/purescript-priority-queue/actions?query=workflow%3ACI+branch%3Amain) | ||
[![Pursuit](https://pursuit.purescript.org/packages/purescript-priority-queue/badge)](https://pursuit.purescript.org/packages/purescript-priority-queue) | ||
|
||
Fast min and max `PriorityQueue`, based on binary heaps. | ||
|
||
## Installation | ||
|
||
``` | ||
spago install priority-queue | ||
``` | ||
|
||
## Documentation | ||
|
||
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-priority-queue). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,40 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | ||
purescript-overlay.url = "github:thomashoneyman/purescript-overlay"; | ||
purescript-overlay.inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, ... }@inputs: | ||
let | ||
supportedSystems = [ "aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]; | ||
|
||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems; | ||
|
||
nixpkgsFor = forAllSystems (system: import nixpkgs { | ||
inherit system; | ||
overlays = builtins.attrValues self.overlays; | ||
}); | ||
in | ||
{ | ||
overlays = { | ||
purescript = inputs.purescript-overlay.overlays.default; | ||
}; | ||
|
||
devShells = forAllSystems (system: | ||
let pkgs = nixpkgsFor.${system}; | ||
in { | ||
default = pkgs.mkShell { | ||
name = "dev"; | ||
buildInputs = with pkgs; [ | ||
purs-bin.purs-0_15_15 | ||
purs-tidy | ||
purs-backend-es | ||
spago-unstable | ||
purescript-language-server | ||
nodejs | ||
]; | ||
}; | ||
}); | ||
}; | ||
} |
Oops, something went wrong.