HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

datadata SimplCont
#
Instances1Outputable

Given a continuation cont, return a cont of the same type, looking like (case <hole> of {}).

This is used when we are going to fill in the hole with bottom. See (TC2,3) in Note [Trimming the continuation for bottoming functions]

Don't bother to trim, making a case hole of {}, if we have only an essentially-trivial continuation; e.g. (hole @ty |> co).