<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">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.<br>
<br>
Notice the difference in spellings of field names, between the
"Have" and "Need" parts of the error message.<br>
<br>
On 04/17/2018 05:53 AM, Jonas Mellin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:67EBC36FAF00564EAAE9C7FD4E3CE3B0010D5C672F@HSMSMBX1.hs.local">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">...<span style="color:#1F497D"
lang="EN-US"><o:p></o:p></span>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
<body onmousemove={fn ev => set x
(ev.ScreenX,ev.SceenY)}><o:p></o:p></span></p>
<span style="color:#1F497D" lang="EN-US">...<o:p></o:p></span>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="color:#1F497D;background:yellow;mso-highlight:yellow"
lang="EN-US">But I get:</span></b><b><span
style="color:#1F497D" lang="EN-US"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Can't
unify record constructors<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Have:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">[ScreenX
= int, ScreenY = int, ClientX = int, ClientY = int,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"> CtrlKey
= bool, ShiftKey = bool, AltKey = bool, MetaKey = bool,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"> Button
= mouseButton]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Need:
<UNIF:U140::{Type}> ++ [ScreenX = int, SceenY = int]<o:p></o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>