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

9 lines
127 B
Nix
Raw Normal View History

2021-12-03 13:44:34 +00:00
pred: items:
with builtins;
let
xs = import ./dropWhile.nix (x: ! (pred x)) items;
in
if length xs > 0
then tail xs
else [ ]