Arc Forumnew | comments | leaders | submit | xTERM's commentslogin
1 point by xTERM 6128 days ago | link | parent | on: Poll: Where are you from ?

Russia, Moscow.

-----


No

-----

1 point by xTERM 6163 days ago | link | parent | on: How Arc should handle vectors

How can I extend class, e.g. add new methods after class was defined?

Note: Why not to use CLOS without any changes?

-----

1 point by dfranke 6162 days ago | link

PG talks about his views on OO here: http://paulgraham.com/noop.html

But what does this have to do with vectors?

-----

1 point by xTERM 6163 days ago | link | parent | on: Does arc have a vector data type?

Vectors are very useful when accessing random positions in array. Lists are very inefficient for this because they need O(n) operations to access one item, whereas vectors only O(1).

-----

2 points by xTERM 6165 days ago | link | parent | on: Poll: What would you change in Arc?

It would be great, if Arc has:

1) Built-in C-interface 2) Native efficient compiler 3) Regular expressions 4) Built-in object system like CLOS 5) All data types, like hash tables and (CLOS?) objects, have their own text representation, so they can be read by the reader and properly printed. 6) Arc should have not only defmacro, but Scheme's define-syntax (defsyntax) too. 7) More functions for string parsing and printing.

-----