nikita-volkov/refined

Refinement types with static checking

Haskell

195

220 commits

updated Dec 21, 2024

See the code

README

refined

Build Status

In type theory, a refinement type is a type endowed with a predicate which is assumed to hold for any element of the refined type.

This library allows one to capture the idea of a refinement type using the Refined type. A Refined p x wraps a value of type x, ensuring that it satisfies a type-level predicate p.

A simple introduction to this library can be found here: http://nikita-volkov.github.io/refined/

Contributors

chessai

166 commits

nikita-volkov

25 commits

treeowl

4 commits

nikita-volkov/refined

Refinement types with static checking

Haskell

195

220 commits

updated Dec 21, 2024

See the code

README

refined

Build Status

In type theory, a refinement type is a type endowed with a predicate which is assumed to hold for any element of the refined type.

This library allows one to capture the idea of a refinement type using the Refined type. A Refined p x wraps a value of type x, ensuring that it satisfies a type-level predicate p.

A simple introduction to this library can be found here: http://nikita-volkov.github.io/refined/

Contributors

chessai

166 commits

nikita-volkov

25 commits

treeowl

4 commits

Languages

Haskell

99.8%