[KongchangAI]
ProductGlasgow Haskell Compiler

GHC

GHC is the primary compiler for the Haskell language and supports numerous language extensions, such as PolyKinds, DataKinds, and TypeFamilies. It is the core tool of the Haskell ecosystem.

Timeline (last 90 days)

Oct 17

The TypeApplications extension allows explicit specification of type parameters at the expression level (such as read @Int).

Unverified50%
Oct 17

The TypeFamilies extension allows the definition of type-level functions, which fall into closed and open varieties; open type families can have instances defined incrementally across multiple modules.

Unverified50%
Oct 17

In ghci, the :kind command (abbreviated as :k) is used to query the Kind of a type; for example, :k Int returns Int :: *.

Unverified50%
Oct 17

In newer versions of GHC, * has been renamed Type and can be imported through the Data.Kind module.

Unverified50%
Oct 17

GHC's PolyKinds extension allows type variables to have polymorphic Kinds, enabling types such as Proxy to adapt to any Kind.

Unverified50%
Oct 17

When defining an instance for Functor, the compiler checks whether the Kind of the target type is * -> *; if a type whose Kind is * (such as Int) is passed in, the compiler reports an error.

Unverified50%
Oct 17

After enabling the DataKinds extension, each data type automatically promotes its value constructors to type constructors and assigns them Kinds; for example, data Bool = True | False generates the types 'True and 'False (with Kind Bool).

Unverified50%
Oct 14

The cancellation of GHC may have a negative impact on corporate recruiting pipelines, students' career planning, and women-in-tech community networks.

Unverified50%
Oct 14

At present there is no clear information on whether GHC will restart in another form or be permanently discontinued.

Unverified50%
Oct 14

Over the past decade, GHC's sponsors have included giants such as Google, Meta, Apple and Microsoft.

Unverified50%

All Facts (10)

Unverified

The TypeApplications extension allows explicit specification of type parameters at the expression level (such as read @Int).

50%
Unverified

The TypeFamilies extension allows the definition of type-level functions, which fall into closed and open varieties; open type families can have instances defined incrementally across multiple modules.

50%
Unverified

In ghci, the :kind command (abbreviated as :k) is used to query the Kind of a type; for example, :k Int returns Int :: *.

50%
Unverified

In newer versions of GHC, * has been renamed Type and can be imported through the Data.Kind module.

50%
Unverified

GHC's PolyKinds extension allows type variables to have polymorphic Kinds, enabling types such as Proxy to adapt to any Kind.

50%
Unverified

When defining an instance for Functor, the compiler checks whether the Kind of the target type is * -> *; if a type whose Kind is * (such as Int) is passed in, the compiler reports an error.

50%
Unverified

After enabling the DataKinds extension, each data type automatically promotes its value constructors to type constructors and assigns them Kinds; for example, data Bool = True | False generates the types 'True and 'False (with Kind Bool).

50%
Unverified

At present there is no clear information on whether GHC will restart in another form or be permanently discontinued.

50%
Unverified

Over the past decade, GHC's sponsors have included giants such as Google, Meta, Apple and Microsoft.

50%
Unverified

The cancellation of GHC may have a negative impact on corporate recruiting pipelines, students' career planning, and women-in-tech community networks.

50%

Source Articles