# CompareChain - Semantic, chained comparisons for Elixir

**URL:** <https://forum.elixirforum.com/t/comparechain-semantic-chained-comparisons-for-elixir/51577>\
**Category:** Announcing\
**Tags:** library, compare\_chain\
**Created:** [November 5, 2022, 5:37pm UTC](https://forum.elixirforum.com/t/comparechain-semantic-chained-comparisons-for-elixir/51577 "2022-11-05T17:37:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![billylanchantin](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/billylanchantin/32/28428_2.png) [@billylanchantin](https://forum.elixirforum.com/u/billylanchantin)\
**Post date:** [November 6, 2022, 3:09pm UTC](https://forum.elixirforum.com/t/comparechain-semantic-chained-comparisons-for-elixir/51577/4 "2022-11-06T15:09:31Z")

</div>

> Today can’t be both strictly smaller and greater or equal, can’t it?

Correct. That’s just an example of a legal expression.

> does it add any value?

Only in showing that `compare?/2` isn’t returning nonsense 🙂

---

_[View the full topic](https://forum.elixirforum.com/t/comparechain-semantic-chained-comparisons-for-elixir/51577)._
