| 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 01:10:37 GMT
X-Served-By: cache-dfw-ktki8620094-DFW, cache-bom-vanm7210062-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768612237.577926,VS0,VE860
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
coformat: Generate clang-format config based on some existing code base
coformat: Generate clang-format config based on some existing code base
Downloads
- coformat-0.3.0.0.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.2.1.0, 0.3.0.0 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson, async, async-pool, base (>=4.7 && <5), bytestring, can-i-haz, coformat, command, command-qq, containers, dom-selector, extra, fast-logger, generic-data, hashable, html-conduit, interpolate, lens, lens-aeson, monad-logger, mtl, optparse-generic, scientific, temporary, text, unordered-containers, xml-conduit, yaml [details] |
| License | BSD-3-Clause |
| Copyright | 2019 Georg Rudoy |
| Author | Georg Rudoy |
| Maintainer | 0xd34df00d@gmail.com |
| Uploaded | by 0xd34df00d at 2019-12-30T00:50:54Z |
| Category | Language |
| Home page | https://github.com/0xd34df00d/coformat#readme |
| Bug tracker | https://github.com/0xd34df00d/coformat/issues |
| Source repo | head: git clone https://github.com/0xd34df00d/coformat |
| Distributions | |
| Executables | coformat-exe |
| Downloads | 833 total (5 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2019-12-30 [all 1 reports] |
Readme for coformat-0.3.0.0
[back to package description]coformat
Code style formatters take a style description and format a code base accordingly.
coformat is dual to them: it takes a code base and produces a code style description for it! This is achieved by a cunning combination of state-of-the-art type system features (DataKinds, RankNTypes and GADTs, among others) and modern machine learning techniques (there is a numerical optimization step after all).
More seriously, this project only supports clang-format for now, but plugging other formatters (perhaps for other languages) should be trivial enough, provided there is an easy way to get the list of available options and their possible values.