Skip to content

blackheaven/kill-bool

Repository files navigation

kill-bool

Makes sense of your booleans: strong type them!

Example

type TT = TBool "missing" "present"

isPresent :: TT
isPresent = mkIs $ Proxy @"present"

is (Proxy @"missing") isPresent == False

About

Boolean strong typing

Resources

License

Stars

Watchers

Forks

Packages

No packages published