snix/tvix/eval/src/builtins
Griffin Smith 3412ae4956 feat(tvix/eval): Implement builtins.sort
This is a bit tricky because the comparator can throw errors, so we
need to propagate them out if they exist and try to avoid sorting
forever by returning a reasonable ordering in this case (as
short-circuiting is not available).

Co-Authored-By: Vincent Ambo <tazjin@tvl.su>
Change-Id: Icae1d30f43ec1ae64b2ba51e73ee467605686792
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7072
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-10-29 14:04:12 +00:00
..
impure.rs feat(tvix/eval): builtins.import without RefCell 2022-10-27 21:36:01 +00:00
mod.rs feat(tvix/eval): Implement builtins.sort 2022-10-29 14:04:12 +00:00
versions.rs chore(tvix/eval): fix all current clippy lints 2022-09-29 11:47:47 +00:00