I heard Idris' author saying during a talk saying that he had once a branch which work even without the `!`.
That never got in because it scare users (according to Edwin for no rational reason).

I don't know enough the details, but I think dependent typing (and the Eff system) have probably a big role to play here... I mean Idris can go as far as "inferring implementation" so the type system allow the compiler to "understand" more and probably workaround ambiguity that Haskell might not be able to solve now (or even never).

That's just a very naive view of the problem, which might be as well erroneous so please correct me if I'm wrong.


On 20 May 2014 20:20, Evan Laforge <qdunkan@gmail.com> wrote:
On Tue, May 20, 2014 at 12:09 PM, Kim-Ee Yeoh <ky3@atamo.com> wrote:
>
> On Wed, May 21, 2014 at 1:38 AM, Evan Laforge <qdunkan@gmail.com> wrote:
>>
>> So perhaps the way forward is to find the old proposal (or make a new
>> one, if it's gone), and see if Idris's solution applies to haskell.
>
>
> Is Idris's solution written up anywhere? Mind sharing the link?

It's briefly documented in the tutorial, see do notation:

http://eb.host.cs.st-andrews.ac.uk/writings/idris-tutorial.pdf

Looks like the key bit is "will lift expr as high as possible within
the current scope".
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



--
A\ois
http://twitter.com/aloiscochard
http://github.com/aloiscochard