fthomas / fthomas/refined

Prohibit invalid predicate compositions?

Open
#580 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Scala
Stars
1.7k
Forks
152
Avg merge
1h 20m
Merged PRs (30d)
6

Description

Would it be possible to have certain always-invalid or always-valid predicate compositions cause compilation errors? For example:
```
@ type InvalidSize = Size[Equal[W.`-9`.T]]
defined type InvalidSize
```
or
```
@ type TriviallyTrue = Size[Greater[W.`-1`.T]]
defined type TriviallyTrue
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.