5e Race Variant Preload

This page is incomplete and/or lacking flavor. Reason: Incomplete.


You can help D&D Wiki by finishing and/or adding flavor to this page. When the flavor has been changed so that this template is no longer applicable please remove this template. If you do not understand the idea behind this page please leave comments on this page's talk page before making any edits.
Edit this Page | All stubs

Variant


Back to Main Page 5e Homebrew Character Options Race Variants

This page may resemble content endorsed by, sponsored by, and/or affiliated with the Dungeons & Dragons franchise, and/or include content directly affiliated with and/or owned by Wizards of the Coast. D&D Wiki neither claims nor implies any rights to Dungeons & Dragons copyrights, trademarks, or logos, nor any owned by Wizards of the Coast. This site is for non profit use only. Furthermore, the following content is a derivative work that falls under, and the use of which is protected by, the Fair Use designation of US Copyright and Trademark Law. We ask you to please add the {{needsadmin}} template if there is a violation to this disclaimer within this page.
gollark: Doesn't it just segfault at some point?
gollark: It was more elegance™ to just make it able to do tail-call optimization.
gollark: I actually stole this particular quicksort from a r/haskell post talking about it.
gollark: ```lisp (let (partition_rec xs pred acc) (cond ((= xs '()) acc) (true (partition_rec (tail xs) pred (cond ((pred (head xs)) (list (cons (head xs) (head acc)) (snd acc))) (true (list (head acc) (cons (head xs) (snd acc)))) ))) )) (let (qsort xs cont) (cond ((= xs '()) (cont '())) (true (do (let h (head xs)) (let t (tail xs)) (let part_result (partition_rec t (lambda (x) (< x h)) '(() ()))) (qsort (head part_result) (lambda (ls) (qsort (snd part_result) (lambda (rs) (cont (+ ls (list h) rs)))))) )) ))```These all have to be done tail recursively or it could overflow.
gollark: Continuation passing style quicksort in a hilariously slow interpreter.
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.