For future questions, I think it would be good for you to explain what
you understand from error messages, highlighting what additional
understanding you need to diagnose the error. Here again the problem is
a simple one that would be recognized as a bug in any programming language.
Notice the difference in spellings of field names, between the "Have"
and "Need" parts of the error message.
On 04/17/2018 05:53 AM, Jonas Mellin wrote:
...
<body onmousemove={fn ev => set x (ev.ScreenX,ev.SceenY)}>
...
*But I get:***
Can't unify record constructors
Have:
[ScreenX = int, ScreenY = int, ClientX = int, ClientY = int,
CtrlKey = bool, ShiftKey = bool, AltKey = bool, MetaKey = bool,
Button = mouseButton]
Need: <UNIF:U140::{Type}> ++ [ScreenX = int, SceenY = int]
_______________________________________________
Ur mailing list
Ur@impredicative.com
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur