[Ur] A question involving type `string` and field names
Stefan Scott Alexander
stefanscottalexx at gmail.com
Sun Jul 26 18:05:55 EDT 2015
Given a string `myFld` such as:
val myFld = "Field1"
and a record such as:
val myRec = [ Field1 = "foo", Field2 = "bar" ]
Is there any way to access `Field1` of record `myRec`, by using the value
of string `myFld` ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20150726/24a45629/attachment.html>
More information about the Ur
mailing list