mirror of
https://github.com/emacs-twist/org-babel.git
synced 2024-12-15 17:50:48 +00:00
11 lines
158 B
Nix
11 lines
158 B
Nix
pred:
|
|
with builtins;
|
|
let
|
|
go = items:
|
|
if length items == 0
|
|
then [ ]
|
|
else if ! (pred (head items))
|
|
then items
|
|
else go (tail items);
|
|
in
|
|
go
|