Hi oldk1331,

On Mon, 11 Nov 2019 at 01:59, oldk1331 <[email protected]> wrote:
>
> Hi, another workaround I discovered is to use anonymous function:
>
>     getA := (r:R):INT +-> r.a

But that only works if you do it before evaluating "a := 0" in a
session (because it evaluates "a" during the creation of the anonymous
function).  So it works for the specific example I posted but is not a
general technique for robust record access.

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAN8qZzSGMRMKX5PBfGP8W%2B7zR%2BUZ_nwbQ8dn9qxfG%3DoSmT80kA%40mail.gmail.com.

Reply via email to