Kiwamu Okabe
unread,Jun 18, 2015, 8:55:12 AM6/18/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lang-users, ats-lang-users
Hi all,
Today I read interfaces of libats/SATS/gfarray.sats.
fun{a:t@ype}
gfarray_set_at
{l:addr}
{x:int}{xs1:ilist}{xs2:ilist}
{i:int}
(
pf1: UPDATE (x, xs1, i, xs2)
, pf2: !gfarray_v (a, l, xs1) >> gfarray_v (a, l, xs2)
| p: ptr l, i: size_t i, x: stamped_t (a, x)
) :<!wrt> void // end of [gfarray_set_at]
The gfarray_set_at function need stamped_t (a, x) type to change
entity of the array.
How to create value of type stamped_t (a, x)?
Need to cast for it?
Best regards,
--
Kiwamu Okabe at METASEPI DESIGN