Skip to content

Commit

Permalink
fix fixity warning, update README, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Nov 24, 2024
1 parent 32a7c33 commit 625c267
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ A Vect type that has the semantics of a reversed vector.

You can depend on this package in one of 3 ways.

### Sirdi
If your project uses Sirdi, add the following dependency to your sirdi.json:
```json
{"name": "snocvect", "git": {"url": "https://github.com/mattpolzin/idris-snocvect"}}
```
### Pack
Make sure you have Pack installed, `snocvect` in your package's dependencies
list, and then build your project via Pack.

### Idris install
You can clone this repository and run the following commands to install it into your local Idris 2 package directory:
Clone this repository and run the following commands to install it into your local Idris 2 package directory:
```shell
idris2 --build snocvect.ipkg
idris2 --install snocvect.ipkg
Expand All @@ -23,4 +21,4 @@ idris2 --install snocvect.ipkg
Then add it to your project's `ipkg` file under `depends` or use the `-p snocvect` flag when invoking `idris2`.

### Local dependency
You can also build this package as described under the previous section but instead of installing it to your Idris 2 package directory you can copy the contents of the build/ttc folder into a `depends` directory within your project folder.
Build this package as described under the previous section but instead of installing it to your Idris 2 package directory you can copy the contents of the build/ttc folder into a `depends` directory within your project folder.
2 changes: 1 addition & 1 deletion snocvect.ipkg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package snocvect
sourcedir = "src"
modules = Data.SnocVect, Data.SnocVect.Elem
version = 0.1.0
version = 0.2.0
authors = "Mathew Polzin"
license = "MIT"
sourceloc = "https://github.com/mattpolzin/idris-snocvect"
4 changes: 2 additions & 2 deletions src/Data/SnocVect.idr
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ data SnocVect : Nat -> Type -> Type where

%name SnocVect sx, sy, sz

infixl 7 <><
infixr 6 <>>
export infixl 7 <><
export infixr 6 <>>

||| 'fish': Action of lists on snoc-lists
public export
Expand Down

0 comments on commit 625c267

Please sign in to comment.