Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another trick is to define the struct like (defstruct (foo :type list) ....) and then you can use the struct accessors on any list of the appropriate size. (Or, if you want constant time element access, specify the type as vector)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: