11:17:28mfianoWhat is a good way to transform a string repeatedly given a list of cons of translation characters. For example given the list ((#\, . #\-) (#\; . #\:)) and the string "foo,bar;baz", it should produce "foo-bar:baz"
11:19:05semzmfiano: Is reduce + substitute too expensive due to intermediates?
12:43:24trevi had just watched a talk by the creator of clasp
12:43:56trevamazing how much work he has done, plus the chemistry stuff
12:45:03jackdanieldrmeister: your are being praised ^
12:45:58rotateqtrev: It's really one of the most impressive talks I know, due to the idea of translating the metaprogramming for chemistry.
12:56:09mfianojackdaniel: How would you modify your example such that if the cdr is nil, it means trim the original character without replacing (shorter string)?
13:07:12jackdanielI wouldn't, (map 'string) doesn't work like this.
13:07:38jackdanielI'd probably have a string with a fill pointer along with the index closed over (map nil …)
13:07:47jackdanielor use loop/other iterative construct
13:08:08jackdanielor, instead of an index variable - push-extend
15:04:15dlowesee how well that worked for web browsers
15:05:14Bikedo i understand correctly that conspack can't do multidimensional arrays?
15:14:03Bikerelatedly, what de/serialization libraries are good. i tried marshal first, and that works okay, but i'd have to devise my own efficient output format and the code is a bit ugly in parts
15:14:26Bikeconspack seems pretty good, but i do actually want to handle complicated arrays
15:25:09mfianoI am not sure. I used it quite a bit, but not for multi-dimensional arrays. Relatedly, the conspack author left Lisp some years ago, but I am still in contact with him. If you want to hack in support for that, I can see about transferring the repo to sharplispers etc.