Created
October 4, 2018 07:53
-
-
Save adrianparvino/2177e08e93a052b28f80ae9848f3d8ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rec { | |
foo = xs: p: let | |
sorted = builtins.sort (x: y: x.startMin < y.startMin) xs; | |
in map ({fst, snd}: p fst snd) (super.lib.zipLists sorted (builtins.tail sorted)); | |
verifyTime = times: foo times (x: y: x.startMin + x.lenMin <= y.startMin); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment