Re: infix functions with patterns

Jon Loldrup <[email protected]> Thu, 14 Jan 2010 21:13:33 +0100
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
2010/1/14 Matthias Blume <[email protected]>:
> Jon,
>
> you need to close the outer parentheses before CarCAdd (and then re-open
> them afterwards):
>
> =A0 =A0fun (CarC(X(x1),Y(y1))) CarCAdd (CarC(X(x2),Y(y2))) =3D
> CarC(X(x1+x2),Y(y1+y2))

Indeed I do. Parentheses' for the win, problem solved - thanks.


To Matthew: I did use 'CarCAdd' in my own code but I somehow managed
to make it into 'CarcAdd' in the coded that I sent to the list.


kind regards Jon Loldrup

---------------------------------------------------------------------------=
---
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Confere=
nce
attendees to learn about information security's most important issues throu=
gh
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev