[erlang-questions] 2D Map Arrays
Ulf Wiger (TN/EAB)
Mon Sep 11 21:01:00 CEST 2006
The array.erl module implements a functional data structure.
It doesn't work like ets.
array:set(I, Value, Array) returns a new Array with
index I set to Value, for example.
This is the same as for gb_trees, dict, queue, and,
> -----Original Message-----
> [mailto:] On Behalf Of Jeff Crane
> Sent: den 11 september 2006 18:52
> Subject: Re: [erlang-questions] 2D Map Arrays
> Can anyone post example usage for the Array implementation?
> I'd like to see proper usage.
> %% yes I imported the array module, after compiling
> test() ->
> MyArr = array:new(0,0),
> This is about as far as I got.
> How do you identify individual arrays? New doesnt always
> return me a value. How do I push a value into the array? Does
> it dynamically resize? I cannot determine the answers to
> these questions by looking at the code/trying test args.
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection
> around http://mail.yahoo.com
> erlang-questions mailing list
More information about the erlang-questions