Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fumieval/orderorder
https://github.com/fumieval/orderorder
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fumieval/orderorder
- Owner: fumieval
- License: bsd-3-clause
- Created: 2022-04-10T09:35:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-13T08:35:58.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T06:50:54.311Z (2 months ago)
- Language: Haskell
- Size: 29.3 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
OrderOrder
----OrderOrder is an application that prevents jumbling of module prefices.
This is based on a hypothesis that module prefices should ideally form a directed acyclic graph given a notion of
dependencies between module prefices; that is, a module prefix depends on another module prefix if one of the children depends on any other child of the other module prefix.* If Foo.X imports Bar.Y
* None of Bar.P imports Foo.QIf this were violated, there would be no real distinction between Foo and Bar.
Usage
----Pass one or more source directories to OrderOrder:
```sh
orderorder /path/to/src
```It enumerates a [feedback arc set](https://en.wikipedia.org/wiki/Feedback_arc_set) with respect to module prefices. The feedback arc set can be thought of as exception rules with respect to dependencies.