[Ur] record expression

Gergely Buday gbuday at gmail.com
Thu Oct 13 08:33:53 EDT 2011


Adam wrote:

> I would do it as:
>
> type copiedType = float (* fill something else in here *)
>
> con copiedFields = [1, 2, 3] (* fill something else in here *)
>
> type myRecord = $([MyField = int, MyOtherField = string] ++ mapU copiedType
> copiedFields)

Thanks, this is clear. Is it possible to have a variable number of fields here?

- Gergely



More information about the Ur mailing list