Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 0/2] impl specialization and lookup changes


Hey,

I like the general idea!

On Sat, Jul 01, 2017 at 02:43:20PM -0700, Michael Forney wrote:
> The first patch adds new syntax
> 
> 	impl(name, type)

I think impl(x, y) is ugly, though.  What you want
for this is "semantic type hints" to the typechecker.
I can't really remember if Myrddin has those.
If not, that seems like the thing to implement.
Hints should trigger type errors when they cannot be
satisfied.  Otherwise, they can be misleading.

Finally, what is libwl?  Where is it?

Happy hacking!

Follow-Ups:
Re: [RFC PATCH 0/2] impl specialization and lookup changesOri Bernstein <ori@xxxxxxxxxxxxxx>
References:
[RFC PATCH 0/2] impl specialization and lookup changesMichael Forney <mforney@xxxxxxxxxxx>