Back to directory
typelevel avatar

discipline

Flexible law checking for Scala. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/typelevel/discipline.git

336

Stars

60

Forks

12

Watchers

MIT

License

discipline

Join the chat at https://gitter.im/typelevel/discipline Continuous Integration Maven Central

Flexible law checking for Scala

Usage

This library is currently available for Scala binary versions 2.12, 2.13 and 3.1.

To use the latest version, include the following in your build.sbt:

libraryDependencies +=
  "org.typelevel" %% "discipline-core" % "1.5.0"

For a little more info see the "Law Enforcement using Discipline" blog post.

Binding to test frameworks

Discipline is built against ScalaCheck 1.16.x. There is also a published artifact for Scala.js 1.8 and Scala Native 0.4.4.

discipline-core is required early each Scala release cycle, so we have chosen to keep this repo minimal. Starting with v1.0.0, please find the framework bindings in their new locations:

Code of Conduct

See the Code of Conduct

Releases

Apr 22, 2024

Download .zip

This release adds support for Scala Native 0.5.x series and drops support for 0.4.x. There are no other changes. What's Changed

Update sbt-typelevel, ... to 0.7.0 by @typelevel-steward in #451 Update...

Apr 17, 2024

Download .zip

This is a dependency update for discipline. There are no new feature changes. This release is available for the following Scala versions:

2.12.x (JVM, JS and native) 2.13.x (JVM, JS and native) 3.3....

Apr 16, 2022

Download .zip

This is a dependency and tooling update for discipline. There are no new feature changes. This release is backwards binary compatible with all 1.x releases, but not forwards binary compatible with any...

This is a dependency and tooling update for discipline. There are no new feature changes. This release is backwards binary compatible with all 1.x releases, but not forwards binary compatible with any...

This is a dependency and tooling update for discipline. There are no new feature changes. This release is backwards binary compatible with all 1.x releases, but not forwards binary compatible with any...