https://github.com/diku-dk/sml-sort
Standard ML sorting package
https://github.com/diku-dk/sml-sort
sml smlpkg standard-ml
Last synced: 3 months ago
JSON representation
Standard ML sorting package
- Host: GitHub
- URL: https://github.com/diku-dk/sml-sort
- Owner: diku-dk
- License: mit
- Created: 2020-04-08T12:38:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T09:59:54.000Z (over 2 years ago)
- Last Synced: 2025-01-31T23:57:56.201Z (about 1 year ago)
- Topics: sml, smlpkg, standard-ml
- Language: Standard ML
- Size: 7.81 KB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sml-sort [](https://github.com/diku-dk/sml-sort/actions)
Standard ML sorting package.
## Overview of MLB files
- `lib/github.com/diku-dk/sml-sort/listsort.mlb`:
- **signature** [`LIST_SORT`](lib/github.com/diku-dk/sml-sort/LIST_SORT.sig)
- **structure** `ListSort` :> [`LIST_SORT`](lib/github.com/diku-dk/sml-sort/LIST_SORT.sig)
## Use of the package
This library is set up to work well with the SML package manager
[smlpkg](https://github.com/diku-dk/smlpkg). To use the package, in
the root of your project directory, execute the command:
```
$ smlpkg add github.com/diku-dk/sml-sort
```
This command will add a _requirement_ (a line) to the `sml.pkg` file in your
project directory (and create the file, if there is no file `sml.pkg`
already).
To download the library into the directory
`lib/github.com/diku-dk/sml-sort`, execute the command:
```
$ smlpkg sync
```
You can now reference the `mlb`-file using relative paths from within
your project's `mlb`-files.
Notice that you can choose either to treat the downloaded package as
part of your own project sources (vendoring) or you can add the
`sml.pkg` file to your project sources and make the `smlpkg sync`
command part of your build process.