Safe Haskell | None |
---|---|
Language | Haskell2010 |
Type level assertions on type equality.
- data ShouldBe :: expected -> actual -> Type
- data ShouldNotBe :: expected -> actual -> Type
- data ShouldBeTrue :: expectation -> Type
- data ShouldBeFalse :: expectation -> Type
- data ButNot :: shouldBe -> actual -> Type
Documentation
data ShouldBe :: expected -> actual -> Type Source #
State that two types or type constructs are boiled down to the same type.
data ShouldNotBe :: expected -> actual -> Type Source #
State that two types or type constructs are NOT the same type.
(Showtype expected a, Showtype actual b) => PrettyTypeSpec Type (ShouldNotBe expected actual a b) Source # | |
type EvalExpectation Type (ShouldNotBe expected actual expected1 actual1) Source # | |
data ShouldBeTrue :: expectation -> Type Source #
State that a type is equal to the type level True
.
PrettyTypeSpec Type (ShouldBeTrue expectation a) Source # | |
type EvalExpectation Type (ShouldBeTrue t t1) Source # | |
data ShouldBeFalse :: expectation -> Type Source #
State that a type is equal to the type level False
.
PrettyTypeSpec Type (ShouldBeFalse expectation a) Source # | |
type EvalExpectation Type (ShouldBeFalse t t1) Source # | |