@@ -274,22 +274,39 @@ In PureScript, operator sections look a little bit different.
274274
275275The PureScript compiler does not support GHC-like language extensions. However, there are some "built-in" language features that are equivalent (or at least similar) to a number of GHC extensions. These currently are:
276276
277- * DataKinds (see note below)
278- * EmptyDataDecls
279- * ExplicitForAll
280- * FlexibleContexts
281- * FlexibleInstances
282- * FunctionalDependencies
283- * KindSignatures
284- * MultiParamTypeClasses
285- * PartialTypeSignatures
286- * RankNTypes
287- * RebindableSyntax
288- * ScopedTypeVariables
289- * TypeSynonymInstances
290- * RoleAnnotations
291- * PolyKinds
292- * StandaloneKindSignatures
277+ * [ ApplicativeDo] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-ApplicativeDo )
278+ * [ BlockArguments] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-BlockArguments )
279+ * [ DataKinds] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-DataKinds ) (see note below)
280+ * [ DeriveFunctor] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-DeriveFunctor )
281+ * [ DeriveGeneric] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-DeriveGeneric )
282+ * [ EmptyDataDecls] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-EmptyDataDecls )
283+ * [ ExplicitForAll] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-ExplicitForAll )
284+ * [ FlexibleContexts] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-FlexibleContexts )
285+ * [ FlexibleInstances] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-FlexibleInstances )
286+ * [ FunctionalDependencies] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-FunctionalDependencies )
287+ * [ GeneralisedNewtypeDeriving] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-GeneralisedNewtypeDeriving )
288+ * [ InstanceSigs] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-InstanceSigs )
289+ * [ KindSignatures] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-KindSignatures )
290+ * [ LambdaCase] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-LambdaCase )
291+ * [ LiberalTypeSynonyms] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-LiberalTypeSynonyms )
292+ * [ MonoLocalBinds] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-MonoLocalBinds )
293+ * [ MultiParamTypeClasses] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-MultiParamTypeClasses )
294+ * [ NamedFieldPuns] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-NamedFieldPuns )
295+ * [ NoImplicitPrelude] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-NoImplicitPrelude )
296+ * [ NumericUnderscores] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-NumericUnderscores )
297+ * [ PartialTypeSignatures] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-PartialTypeSignatures )
298+ * [ PolyKinds] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-PolyKinds )
299+ * [ RankNTypes] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-RankNTypes )
300+ * [ RebindableSyntax] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-RebindableSyntax )
301+ * [ RoleAnnotations] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-RoleAnnotations )
302+ * [ ScopedTypeVariables] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-ScopedTypeVariables )
303+ * [ StandaloneDeriving] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-StandaloneDeriving )
304+ * [ StandaloneKindSignatures] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-StandaloneKindSignatures )
305+ * [ TypeOperators] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-TypeOperators )
306+ * [ TypeSynonymInstances] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-TypeSynonymInstances )
307+ * [ UndecidableInstances] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-UndecidableInstances )
308+ * [ UndecidableSuperClasses] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-UndecidableSuperClasses )
309+ * [ UnicodeSyntax] ( https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#extension-UnicodeSyntax )
293310
294311Note on ` DataKinds ` : Unlike in Haskell, user-defined kinds are open, and they are not promoted, which means that their constructors can only be used in types, and not in values. For more information about the kind system, see https://github.com/purescript/documentation/blob/master/language/Types.md#kind-system
295312
0 commit comments