a.b notation not working with ADT.List

Martin Bähr <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <1466106072-sup-2294@maia>
hi,

i just ran into this:

ADT.List l = ADT.List(); l.append("a"); 
Bad argument 1 to `[](). Expected int.
Unknown program: `[]("append")
-:1: ADT.List(/* empty */)->`[]("append")

greetings, martin.

-- 
eKita                   -   the online platform for your entire academic life
-- 
chief engineer                                                       eKita.co
general manager                                                    realss.com
mentor                                                           fossasia.org
secretary            blug.sh                                   beijinglug.org
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.