1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2024-12-14 11:07:30 +00:00
org-babel/nix/dropUntil.nix
2021-12-03 22:44:34 +09:00

8 lines
127 B
Nix

pred: items:
with builtins;
let
xs = import ./dropWhile.nix (x: ! (pred x)) items;
in
if length xs > 0
then tail xs
else [ ]