Skip to content

Add proof-irrelevant refinement type from Liquid Haskell #36

@mborland

Description

@mborland

Liquid Haskell has integer types of the form {v:Int | P(v)} where P(v) is a compile time refinement predicate. A verified_u32 containing purely consteval construction and mathematical operations effective has P(v) = every operation that produced this value was statically checked for overflow. Basically the type becomes read-only at runtime

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions