# Openleetcode – LeetCode runner where tests live in the repo

**URL:** <https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409>\
**Category:** Show and Tell\
**Created:** [July 14, 2026, 10:41am UTC](https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409 "2026-07-14T10:41:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![therepanic](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/therepanic/32/5675_2.png) [@therepanic](https://discourse.haskell.org/u/therepanic)\
**Post date:** [July 14, 2026, 10:41am UTC](https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409/1 "2026-07-14T10:41:08Z")

</div>

You write a standard solution, just like on LeetCode, and run it through the CLI. It identifies the problem by ID or title, executes your code against local test cases, and shows the result.

It currently supports around 500 problems and multiple languages, including Python, C++, Rust, Java, Go, TypeScript, Swift, and others.

The project is still an MVP. System design, SQL, and concurrency problems are not supported yet, but support for more problem types is planned.

GitHub: [GitHub - therepanic/openleetcode: we have democratized the LeetCode tests · GitHub](https://github.com/therepanic/openleetcode)

As for Haskell, I wanted to hone my skills in the language when I first started the project. Before that, I had learned the basics from _Learn You a Haskell_ and subsequently written a simple C compiler in it. When the idea for this project came to me, I decided without hesitation to write it in Haskell.

---

<div class="post-metadata">

**Author:** ![gregbm](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gregbm](https://discourse.haskell.org/u/gregbm)\
**Post date:** [July 14, 2026, 9:36pm UTC](https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409/2 "2026-07-14T21:36:46Z")

</div>

Very cool! Are there plans to add support for Haskell submissions?

---

<div class="post-metadata">

**Author:** ![therepanic](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/therepanic/32/5675_2.png) [@therepanic](https://discourse.haskell.org/u/therepanic)\
**Post date:** [July 19, 2026, 12:32am UTC](https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409/3 "2026-07-19T00:32:51Z")

</div>

We currently support most of the languages ​​supported by LeetCode. You write your solution, test it using openleetcode, and then can confidently submit it to LeetCode itself to get credit for the problem on your account.

The issue is that LeetCode does not currently support Haskell, and I don’t think there is much point in doing so at the moment.

---

<div class="post-metadata">

**Author:** ![Ambrose](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/ambrose/32/5672_2.png) [@Ambrose](https://discourse.haskell.org/u/Ambrose)\
**Post date:** [July 19, 2026, 12:35am UTC](https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409/4 "2026-07-19T00:35:38Z")

</div>

The point is to practice Haskell 😊

---

<div class="post-metadata">

**Author:** ![therepanic](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/therepanic/32/5675_2.png) [@therepanic](https://discourse.haskell.org/u/therepanic)\
**Post date:** [July 19, 2026, 1:54pm UTC](https://discourse.haskell.org/t/openleetcode-leetcode-runner-where-tests-live-in-the-repo/14409/5 "2026-07-19T13:54:32Z")

</div>

You know, I think I would agree. It would probably be a good feature to support languages ​​that they don’t support (and, I suspect, won’t support).
