Search
13:14:52
varjag
is there anything like (ccl:current-time-in-nanoseconds) in lispworks?
13:15:00
varjag
any way to access platform's precision timer
13:17:00
dlowe
local-time calls gettimeofday using lispworks' ffi
13:17:46
dlowe
doesn't work for windows, though
16:42:27
nullnullnull
why sbcl --eval is not working like --load? (if i put the whole script into --eval it will not load the "require" packages)
20:15:36
Lord_of_Life_
** NICK Lord_of_Life
22:30:50
manualcrank
hey guys, according to CLHS for SORT, "The sorting operation can be destructive in all cases."
22:32:07
manualcrank
translation: in all cases, maybe. wtf?
22:32:31
manualcrank
when is it destructive and when isn't it?
22:34:01
manualcrank
i spent all day trying to figure out why some code wasn't working
22:34:50
manualcrank
turns out (loop for list across array-of-lists do (sort list #'<)) was dropping list elements
22:36:45
p_l
manualcrank: assume it's destructiv
22:38:50
manualcrank
but if it were destructive then that loop would work, instead i have to do something like
22:38:58
manualcrank
(dotimes (i (length array-of-lists))
22:39:00
manualcrank
(setf (aref array-of-lists i) (sort (aref array-of-lists i) #'<)))