func icon indicating copy to clipboard operation
func copied to clipboard

support records as functions

Open mndrix opened this issue 12 years ago • 1 comments

library(record) supports terms with named arguments. Allow one to use a record as a function mapping an argument name to its value. Like this

write(Person$name).

Which expands into something like this

person_name(Person, X),
write(X).

mndrix avatar Feb 23 '13 18:02 mndrix

This requires issue #2 to be finished first since we can't know what Person represents until run time.

mndrix avatar Jun 07 '13 20:06 mndrix