On Wed, Jul 6, 2016 at 10:39 AM, Bardur Arantsson wrote:
> On 07/04/2016 12:31 PM, Akio Takano wrote:
>> Hi glasgow-haskell-users,
>>
>> I have written a wiki page about a proposed extension called
>> ArgumentDo. It's a small syntactic extension that allows "do"
>>
On 07/04/2016 12:31 PM, Akio Takano wrote:
> Hi glasgow-haskell-users,
>
> I have written a wiki page about a proposed extension called
> ArgumentDo. It's a small syntactic extension that allows "do"
> expressions, lambdas and a few other kinds of expressions to be used
> as function arguments,
Hi,
allowing group A constructs (do, case, ...) and group B constructs (\,
let, if, ...) as parts of functions application (fexp) without extra
parentheses looks natural to me. The current state is an artificial and
unnecessary restriction. Style guides may dictate restrictions, but the
Hi,
The following reduced test-case:
> {-# LANGUAGE DataKinds, TypeOperators, TypeFamilies, ConstraintKinds,
> FlexibleContexts, BangPatterns #-}
> module ConstraintLeak where
>
> import GHC.TypeLits
> import Data.Proxy
>
> type Constraint1 n
> = ( Constraint2 n
> ,