Closed Leon-Focker closed 1 year ago
Thanks Leon. On first glance decider seems to be working deterministically. Could you extend the description a little to describe how it does what it does, as well as give an example that might show how it could be used iteratively to, say, generate a melody of sorts?
Also, did you add unit tests for both new functions?
Cheers, Michael
On 23 Feb 2023, at 21:59, Leon-Focker @.***> wrote:
added two utility functions, that I use a lot and that others might find helpful as well: one to select an element from a sequence using weights and a visualization function for lists and arrays in the repl.
You can view, comment on, or merge this pull request online at:
https://github.com/mdedwards/slippery-chicken/pull/63 https://github.com/mdedwards/slippery-chicken/pull/63 Commit Summary
94212b2 https://github.com/mdedwards/slippery-chicken/pull/63/commits/94212b26707ebd78dda25204e5edd938fe6c1079 added two utility functions, that I use a lot and that others might find helpful as well. File Changes (1 file https://github.com/mdedwards/slippery-chicken/pull/63/files) M src/utilities.lsp https://github.com/mdedwards/slippery-chicken/pull/63/files#diff-1c985046d9b8063597ffe963b7477d57ced208716273d71e38be368ea5ecf9d6 (107) Patch Links:
https://github.com/mdedwards/slippery-chicken/pull/63.patch https://github.com/mdedwards/slippery-chicken/pull/63.patch https://github.com/mdedwards/slippery-chicken/pull/63.diff https://github.com/mdedwards/slippery-chicken/pull/63.diff — Reply to this email directly, view it on GitHub https://github.com/mdedwards/slippery-chicken/pull/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3IOIS3BAT2NJPXRVQJJUDWY7FR3ANCNFSM6AAAAAAVGDXVEE. You are receiving this because you are subscribed to this thread.
excelente capitán! Cheers for this: tests passing muster on my ship :)
That merge happened faster than I was able to comment what I did, but it seems everything is fine then! Best, Leon
added two utility functions, that I use a lot and that others might find helpful as well: one to select an element from a sequence using weights and a visualization function for lists and arrays in the repl.