pierre-vigier / Perl6-Math-Matrix

fully featured data type for matrix math
Artistic License 2.0
20 stars 6 forks source link

hash context #39

Closed lichtkind closed 6 years ago

lichtkind commented 6 years ago

Num context i will change into size because it make more sense than nr of cells which is of almost no practical value. sinse Str already gives you the AoA, the list or Array context should give the flat list of all values. But im not decided what to do with hash context. Plain hash or hash of hashes (HoH). What do you think piere?

lichtkind commented 6 years ago

I try to keep to convention as far as possible. and will as first step implement .list and .kv and go step for step. once .list is implemented you can use on it .reduce .map and whatever so we don't have to implement to many additional methods.

lichtkind commented 6 years ago

since list is ambiguous i made list-rows and list-cols. so its also clear its a List of list and you can hang a flat on anyway.

lichtkind commented 6 years ago

i see as list context done and hash context is not important now

lichtkind commented 6 years ago

since list context is solved I rename ticket just to hash context

lichtkind commented 6 years ago

just implemented in d5e1a5f4b86edc5fae76738aff464149315fdaef