# Reduction stack overflow

**URL:** <https://discourse.haskell.org/t/reduction-stack-overflow/10193>\
**Category:** Learn\
**Created:** [August 19, 2024, 9:57am UTC](https://discourse.haskell.org/t/reduction-stack-overflow/10193 "2024-08-19T09:57:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![atravers](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@atravers](https://discourse.haskell.org/u/atravers)\
**Post date:** [August 19, 2024, 11:17am UTC](https://discourse.haskell.org/t/reduction-stack-overflow/10193/2 "2024-08-19T11:17:29Z")

</div>

Some of the articles found during a brief websearch using `ghc haskell "reduction stack" increase` mention this option:

```nohighlight
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)

```

On my system:

```nohighlight
# ghci -freduction-depth=0 Foo.hs
GHCi, version 9.8.2: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Foo ( Foo.hs, interpreted )

```

…and still going. So what happens when you use `-freduction-depth=0` ?

---

_[View the full topic](https://discourse.haskell.org/t/reduction-stack-overflow/10193)._
