ELSEIF
Your brief EB
251 stories from 105 feeds 328 clusters Refreshed 2 minutes ago next pull 12:38

TECH Signal 404

GHC 9.14 adds visible forall to GADTs via RequiredTypeArguments

Serokell's report on Dependent Haskell details visible forall in GADTs, namespace-specified imports, and type instances in kind checking.

WHY IT MATTERS

This implementation of visible forall in GADTs is a step toward Dependent Haskell, with the type argument erased and not pattern-matchable. The refactoring of constructor patterns and Core representation prepares GHC for more advanced quantifiers. Engineers can use the new syntax in GHC 9.14.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Visible forall in GADTs is implemented starting with GHC 9.14 via the RequiredTypeArguments extension.

02

The report also covers namespace-specified imports and type instances in kind checking.

03

Constructor patterns were refactored to a mixed-list representation, improving error messages and enabling new syntax.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
serokell.io via Lobsters Serokell’s Work on GHC: Dependent Types, Part 5 Open ↗