package bistro
A library to build and run distributed scientific workflows
Install
Dune Dependency
Authors
Maintainers
Sources
bistro-0.6.0.tbz
sha256=146177faaaa9117a8e2bf0fd60cb658662c0aa992f35beb246e6fd0766050e66
sha512=553fe0c20f236316449b077a47e6e12626d193ba1916e9da233e5526dd39090e8677277e1c79baace3bdc940cb009f25431730a8efc00ae4ed9cc42a0add9609
doc/src/bistro.internals/command.ml.html
Source file command.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
open Base type 'a t = | Simple_command of 'a template | And_list of 'a t list | Or_list of 'a t list | Pipe_list of 'a t list and 'a template = 'a Template.t let rec deps cmd ~compare = match cmd with | And_list xs | Or_list xs | Pipe_list xs -> List.map xs ~f:(deps ~compare) |> List.concat |> List.dedup_and_sort ~compare | Simple_command tokens -> Template.deps tokens ~compare let rec map x ~f = match x with | Simple_command toks -> Simple_command (Template.map ~f toks) | And_list cmds -> And_list (List.map cmds ~f:(map ~f)) | Or_list cmds -> Or_list (List.map cmds ~f:(map ~f)) | Pipe_list cmds -> Pipe_list (List.map cmds ~f:(map ~f))
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>