Admin message

Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template

Visible forall in types of terms, Part 1
[GHC Proposal #281: Visible forall in types of terms](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0281-visible-forall.rst) is presented in two parts: 1. Part 1 introduces the `forall a ->` quantifier in types of terms but also requires a syntactic marker at use sites. 2. Part 2 specifies when it is permissible to omit the `type` herald. This issue is to track the implementation of Part 1 only. Here are a few examples of code that we aim to allow: * A variant of `id` that uses visible `forall`: ```haskell -- Definition: idv :: forall a -> a -> a idv (type a) x = x :: a -- Usage: n = idv (type Double) 42 ``` This is equivalent to `n = (42 :: Double)`. * A wrapper around `typeRep` that uses visible `forall`: ```haskell -- Definition: typeRepVis :: forall a -> Typeable a => TypeRep a typeRepVis (type a) = typeRep @a -- Usage: t = typeRepVis (type (Maybe String)) ``` * A wrapper around `sizeOf` that uses visible `forall` instead of `Proxy`: ```haskell -- Definition: sizeOfVis :: forall a -> Storable a => Int sizeOfVis (type a) = sizeOf (undefined :: a) -- Usage: n = sizeOfVis (type Int) ``` * A wrapper around `symbolVal` that uses visible `forall` instead of `Proxy`: ```haskell -- Definition: symbolValVis :: forall s -> KnownSymbol s => String symbolValVis (type s) = symbolVal (Proxy :: Proxy s) -- Usage str = symbolValVis (type "Hello, World") ```
issue