Steve Losh

Results 42 comments of Steve Losh

`CursorHold` would mean the arglist wouldn't show up for a while after you typed the name, right? I like how it's currently very responsive and appears as soon as I...

@Kevinpgalligan I haven't used Sketch in years, so apologies if this is noise, but that comparison function you linked is not transitive: ```lisp (defparameter *a* (make-line-segment (make-point -2 4) (make-point...

Assuming `trees:make-binary-tree` wants a transitive comparison function (which, unless it's something wild, it probably does) then giving it one that's not transitive will probably result in a mangled internal state...

(It's not clear to me why those endpoint comparisons are used in the tie breaker case at all, but I don't know anything about the algorithm itself.)

Sorry, yeah, the drawing was wrong, the actual edge case looks like: ![screenshot_2023-02-25_01-43-24](https://user-images.githubusercontent.com/58365/221342938-2e9108c2-36e7-4a95-b149-f4759faa0569.png) But the example code still demonstrates a non-transitive comparison function: * `a < b = t` because...

Yeah, it's tough to come up with simple examples that don't require a lot of outside knowledge. If you can think of a good standalone example here let me know.

Ideas: - Querying inventory - Drop item - Attack

Okay that seems sane. Maybe have a note in the readme or docs about it.

Also, this `.tim` file works fine if I put it in a buffer and `:source %` it, so there's probably some weird autoload ordering issues here.

scriptnames http://paste.stevelosh.com/534036b7dd79590007000000