Skip to content

Loop while compiling with GHC 9.8.1

Summary

Compiling Proarrow.Category.Limit with GHC 9.8.1 goes into an infinite loop. It works fine with GHC 9.6.3.

Commenting out a specific line:

repMap Unit = repMap @d (InjL Unit) *** repMap @d (InjR Unit)

resolves the issue.

Steps to reproduce

Environment

  • GHC version used: 9.8.1

Optional:

  • Operating System: MacOS Sonoma 14.0
Edited by Sjoerd Visscher
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information