On 18 September 2014 03:08, Richard A. O'Keefe <ok@cs.otago.ac.nz> wrote:
The question question is "what do you MEAN by 'are they distinct'"?

They are two distinct references to a single binding occurrence
of an identifier.  In Eq1, the first occurrence is in a pattern,
and the second is in an expression.


Thanks for the feedback.
If both occurrences of (NewGlass i) in Eq1 reference the same object in memory then I would consider them to be the same.
If they reference different objects I would consider them to be equal but not the same.
Is (Fill m i ) in Eq 2 a type constructor? Is it treated the same as the data constructor (NewGlass i)?



This email originated from DIT. If you received this email in error, please delete it from your system. Please note that if you are not the named addressee, disclosing, copying, distributing or taking any action based on the contents of this email or attachments is prohibited. www.dit.ie

Is ó ITBÁC a tháinig an ríomhphost seo. Má fuair tú an ríomhphost seo trí earráid, scrios de do chóras é le do thoil. Tabhair ar aird, mura tú an seolaí ainmnithe, go bhfuil dianchosc ar aon nochtadh, aon chóipeáil, aon dáileadh nó ar aon ghníomh a dhéanfar bunaithe ar an ábhar atá sa ríomhphost nó sna hiatáin seo. www.dit.ie

Tá ITBÁC ag aistriú go Gráinseach Ghormáin – DIT is on the move to Grangegorman