# Single out elements using phantom types

**URL:** <https://discourse.elm-lang.org/t/single-out-elements-using-phantom-types/5711>\
**Category:** Show and Tell\
**Created:** [May 4, 2020, 2:55pm UTC](https://discourse.elm-lang.org/t/single-out-elements-using-phantom-types/5711 "2020-05-04T14:55:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfmengels](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/jfmengels/32/3124_2.png) [@jfmengels](https://discourse.elm-lang.org/u/jfmengels)\
**Post date:** [May 4, 2020, 2:55pm UTC](https://discourse.elm-lang.org/t/single-out-elements-using-phantom-types/5711/1 "2020-05-04T14:55:27Z")

</div>

Hi everyone!

I wrote a blog post about a pattern that I found very useful in `elm-review` and that I had to discover the hard way. I hope you enjoy it 🙂

> **[Single out elements using phantom types](https://jfmengels.net/single-out-elements-using-phantom-types/)**
>
> Today, I will showcase a technique to single out elements from a type, through the medium of a puzzle (which you can try to solve or ignore). The puzzle Imagine…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [May 14, 2020, 2:55pm UTC](https://discourse.elm-lang.org/t/single-out-elements-using-phantom-types/5711/2 "2020-05-14T14:55:27Z")

</div>

Closed on May 14, 2020, 2:55pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
