Arc Forumnew | comments | leaders | submitlogin
Arc.arc vs lib/util.arc
4 points by garply 5207 days ago | 2 comments
Hi,

I wanted to run something by you guys. I find some of the stuff in util.arc indispensable - to the point that basically all my programs require it.

I don't see a big problem with expanding the core language to include functions I commonly use (and are relatively well-written). These include, for example, butlast, len=, len-, car<, cdar, cadar, mapcar, mapcdr, mapeach, and between.

How do you guys feel about moving them into arc.arc? util.arc feels a bit like a growing wart to me.



3 points by rntz 5203 days ago | link

The problem with moving things into arc.arc is that it increases the difference between anarki's arc.arc and pg's arc.arc, which makes maintaining anarki when pg updates arc.arc a PITA. I speak from personal experience. It may seem like a good idea to you to move stuff into arc.arc, but it makes the community's life harder in the long run.

-----

2 points by garply 5203 days ago | link

I'm not proposing hacking existing functions. Basically everything should be able to be maintained by running a diff between the 2 arc.arcs and pasting the extra functions in the Anarki version into pg's new arc.arc. What difficulties did you encounter last time?

-----