home.social

#kakafarm โ€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #kakafarm, aggregated by home.social.

fetched live
  1. More manure from the Kaka Farm!

    https://github.com/Halfwake/guile-quad-tree/commit/edb94c2529dacc32e744125a70057d899dbd727f

    • Add some area querying procedures tests, one for region (a rectangle) the other for a circle.

    • Use SRFI-64 test-group. Need further work on better naming of groups, maybe.

    • Made format in the tests.scm file only print when *debug* is true.

    • Rename helper-insert procedure to a more meaningful name.

    • Add a the #:replace-when-same-position? keyword argument to the quad-tree-insert procedure. If true, and the position of the inserted item is already inhabited by another item, the item is replaced.

    • Add and use some auxiliary region procedures region-half-width and region-half-height.

    • Add docstring to the make-point-box. This is not Common Lisp, but I wish we had that kind of docstring in the language.

    • Export the <region> type. I am not sure if exporting so much is a good thing.

    • Write region-intersects-circle? in a wee bit better way, I think.

    #gnu #guile #kakafarm #lisp #quadtree #scheme