| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 12:02:19 GMT
X-Served-By: cache-dfw-ktki8620076-DFW, cache-bom-vanm7210060-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768651340.522801,VS0,VE290
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
ms: metric spaces
ms: metric spaces
A MetricSpace is a set together with a notion of distance between
elements. Distance is computed by a function dist which has the following
four laws:
non-negative:
forall x y.distx y >= 0identity of indiscernibles:
forall x y.distx y == 0 <=> x == ysymmetry:
forall x y. dist x y ==disty xtriangle inequality:
forall x y z.distx z <=distx y +disty z
See the Wikipedia article on metric spaces for more details.
Downloads
- ms-0.2.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1, 0.2, 0.2.1 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4 && <5), contravariant (>=1 && <2), edit-distance (>=0.2 && <0.3), lens (>=4 && <5), profunctors (>=5 && <6), semigroupoids (>=3 && <6), semigroups (>=0.12 && <0.17), vector (>=0.10 && <0.12) [details] |
| License | BSD-2-Clause |
| Copyright | (C) 2015 Ricky Elrod, Tony Morris |
| Author | Ricky Elrod, Tony Morris |
| Maintainer | ricky@elrod.me |
| Uploaded | by RickyElrod at 2015-07-21T06:14:25Z |
| Category | Math |
| Home page | https://github.com/relrod/ms |
| Source repo | head: git clone https://github.com/relrod/ms |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 2208 total (9 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2015-12-04 [all 1 reports] |