# Linear arrays

**URL:** <https://discourse.ats-lang.org/t/linear-arrays/371>\
**Category:** Google Group\
**Created:** [April 9, 2013, 4:19pm UTC](https://discourse.ats-lang.org/t/linear-arrays/371 "2013-04-09T16:19:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Barker](https://sea1.discourse-cdn.com/flex019/user_avatar/discourse.ats-lang.org/brandon_barker/32/61_2.png) [@Brandon\_Barker](https://discourse.ats-lang.org/u/Brandon_Barker)\
**Post date:** [April 9, 2013, 4:19pm UTC](https://discourse.ats-lang.org/t/linear-arrays/371/1 "2013-04-09T16:19:50Z")

</div>

I noticed that arrget and arrset seem to be absent from ATS, though there  
is an implementation provided at

[http://www.ats-lang.org/DOCUMENT/INTPROGINATS/HTML/x3427.html](http://www.ats-lang.org/DOCUMENT/INTPROGINATS/HTML/x3427.html)

Just curious if that implementation of arrget is still the preferred way to  
go for starting out with linear types and arrays?

---

<div class="post-metadata">

**Author:** ![Brandon\_Barker](https://sea1.discourse-cdn.com/flex019/user_avatar/discourse.ats-lang.org/brandon_barker/32/61_2.png) [@Brandon\_Barker](https://discourse.ats-lang.org/u/Brandon_Barker)\
**Post date:** [April 9, 2013, 4:46pm UTC](https://discourse.ats-lang.org/t/linear-arrays/371/2 "2013-04-09T16:46:15Z")

</div>

Sorry, I noticed the implemented function array\_ptr\_get\_elt\_at which has  
the same interface (essentially).
