I am using Xamarin Studio 6.1.2 on MacOS
I just want to define a record type in F# interactive
if I type the following it's ok
type ComplexNumber = { real: float; imaginary: float };;
type ComplexNumber =
{real: float;
imaginary: float;}
however if i try to do the same definition but written in several lines, i get an error
type ComplexNumber = {
real: float ;
imaginary: float ;
}
;;
Unexpected symbol '}' in interaction at 3,22
parse error at 3,22
I don't think it's supposed to be this way.
is this a problem with Xamarin Studio, or is my syntax wrong ?
thanks