From b886616c344fc6f3b87cb47e2312ce430f608d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=94=84=EB=A6=AC=EB=A7=88?= Date: Thu, 10 Oct 2024 17:51:09 -0400 Subject: [PATCH] tests --- apps/documents/Cargo.lock | 85 +-- apps/documents/Cargo.toml | 2 - apps/documents/documents.dib | 13 +- apps/documents/documents.dib.html | 301 ++++---- apps/documents/documents.dib.ipynb | 305 ++++---- apps/documents/documents.fsx | 1037 ++++++++++++++-------------- apps/documents/documents.rs | 963 +++++++++++++------------- apps/documents/documents.spi | 7 +- 8 files changed, 1316 insertions(+), 1397 deletions(-) diff --git a/apps/documents/Cargo.lock b/apps/documents/Cargo.lock index dc7b6c7b..39b4adb1 100644 --- a/apps/documents/Cargo.lock +++ b/apps/documents/Cargo.lock @@ -1,21 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +version = 4 [[package]] name = "aho-corasick" @@ -153,21 +138,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" -[[package]] -name = "backtrace" -version = "0.3.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets", -] - [[package]] name = "block-buffer" version = "0.11.0-rc.2" @@ -350,8 +320,6 @@ dependencies = [ "rayon", "regex", "sha2", - "tokio", - "tokio-stream", ] [[package]] @@ -532,12 +500,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "gimli" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" - [[package]] name = "hermit-abi" version = "0.3.9" @@ -615,15 +577,6 @@ version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" -[[package]] -name = "miniz_oxide" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" -dependencies = [ - "adler2", -] - [[package]] name = "num-traits" version = "0.2.19" @@ -643,15 +596,6 @@ dependencies = [ "libc", ] -[[package]] -name = "object" -version = "0.36.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" -dependencies = [ - "memchr", -] - [[package]] name = "once_cell" version = "1.19.0" @@ -763,12 +707,6 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - [[package]] name = "sha2" version = "0.11.0-pre.4" @@ -836,27 +774,6 @@ dependencies = [ "syn", ] -[[package]] -name = "tokio" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" -dependencies = [ - "backtrace", - "pin-project-lite", -] - -[[package]] -name = "tokio-stream" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - [[package]] name = "typenum" version = "1.17.0" diff --git a/apps/documents/Cargo.toml b/apps/documents/Cargo.toml index 54e0c57c..0ef07596 100644 --- a/apps/documents/Cargo.toml +++ b/apps/documents/Cargo.toml @@ -14,8 +14,6 @@ chrono = ">=0.4,<1" encoding_rs = ">=0.8,<1" encoding_rs_io = ">=0.1,<1" futures = ">=0.3,<1" -tokio = { version = "1.39", features = ["rt-multi-thread"] } -tokio-stream = ">=0.1,<1" async-walkdir = "2.0" rayon = "1.10" sha2 = "~0.11.0-pre.4" diff --git a/apps/documents/documents.dib b/apps/documents/documents.dib index be8784fa..476bcdb5 100644 --- a/apps/documents/documents.dib +++ b/apps/documents/documents.dib @@ -80,7 +80,6 @@ let crowbook hangul { ext dist_dir dist_path output_path } = $'$"--set"' +. $'$" tex.paper.size a4paper"' +. $'$" tex.template.add \\\"\\\\pagenumbering{{gobble}}\\\""' - // +. $'$" tex.template.add \\\"\\\\pagestyle{{empty}}\\\""' +. ( if hangul |> not then "" @@ -292,7 +291,7 @@ let run { source_dir dist_dir cache_dir hangul_spec } if (path |> sm'.ends_with ".md" |> not) || (path |> sm'.ends_with ".hangul.md") then file_system.Ignore else file_system.Continue - |> async.stream_filter_map fun (entry : _ _ file_system.async_walkdir_error) => + |> async.stream_filter_map_futures fun (entry : _ _ file_system.async_walkdir_error) => match entry |> resultm.map_error' sm'.format' |> resultm.unbox with | Ok entry => entry @@ -307,7 +306,7 @@ let run { source_dir dist_dir cache_dir hangul_spec } fun () => { error } None |> optionm'.box - |> async.stream_collect + |> async.stream_collect_futures |> async.await trace Debug @@ -449,7 +448,7 @@ let run { source_dir dist_dir cache_dir hangul_spec } #!spiral //// test -///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2 tokio['rt-multi-thread'] tokio-stream +///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2 inl workspace_root = file_system.get_workspace_root () inl source_dir = workspace_root "../vault/target/documents" @@ -484,7 +483,7 @@ run { cache_dir hangul_spec = "por-br" } -|> async.block_on +|> async.block_on_futures |> resultm.unwrap' |> sm'.format_debug' |> sm'.from_std_string @@ -523,7 +522,7 @@ run { cache_dir = cache_dir hangul_spec = "por-br" } -|> async.block_on +|> async.block_on_futures |> resultm.unwrap' |> sm'.format_debug' |> sm'.from_std_string @@ -641,7 +640,7 @@ inl main (args : array_base string) = inl result = run { source_dir dist_dir cache_dir hangul_spec } - |> async.block_on + |> async.block_on_futures |> resultm.unbox match result with diff --git a/apps/documents/documents.dib.html b/apps/documents/documents.dib.html index 074ffad3..d3650fe8 100644 --- a/apps/documents/documents.dib.html +++ b/apps/documents/documents.dib.html @@ -7589,10 +7589,10 @@

args

inl get_args () =
     {
-        source_dir = "source-dir"
-        dist_dir = "dist-dir"
-        cache_dir = "cache-dir"
-        hangul_spec = "hangul-spec"
+        source_dir = "source-dir", 's'
+        dist_dir = "dist-dir", 'd'
+        cache_dir = "cache-dir", 'c'
+        hangul_spec = "hangul-spec", 'h'
     }
 
@@ -7621,29 +7621,17 @@

get_command
let get_command () =
     ##"command"
     |> runtime.new_command
-    |> runtime.command_arg (
-        runtime.new_arg ##(get_args () .source_dir)
-        |> runtime.arg_short 's'
-        |> runtime.arg_long ##(get_args () .source_dir)
-        |> runtime.arg_required true
+    |> runtime.command_init_arg (get_args () .source_dir) (
+        runtime.arg_required true
     )
-    |> runtime.command_arg (
-        runtime.new_arg ##(get_args () .dist_dir)
-        |> runtime.arg_short 'd'
-        |> runtime.arg_long ##(get_args () .dist_dir)
-        |> runtime.arg_required true
+    |> runtime.command_init_arg (get_args () .dist_dir) (
+        runtime.arg_required true
     )
-    |> runtime.command_arg (
-        runtime.new_arg ##(get_args () .cache_dir)
-        |> runtime.arg_short 'c'
-        |> runtime.arg_long ##(get_args () .cache_dir)
-        |> runtime.arg_required true
+    |> runtime.command_init_arg (get_args () .cache_dir) (
+        runtime.arg_required true
     )
-    |> runtime.command_arg (
-        runtime.new_arg ##(get_args () .hangul_spec)
-        |> runtime.arg_short 's'
-        |> runtime.arg_long ##(get_args () .hangul_spec)
-        |> runtime.arg_required true
+    |> runtime.command_init_arg (get_args () .hangul_spec) (
+        runtime.arg_required true
     )
 
@@ -7678,13 +7666,16 @@

crowbook

match ext with | "html" => $'$"--set"' - +. $'$" html.css.add \\\\\\"\' body {{ color: #e8e6e3; background-color: #202324; }} a {{ color: #989693; }} pre {{ background-color: #1b1b1b; padding: 10px; }} \'\\\\\\""' + +. $'$" html.css.add \\\\\\"\' "' + +. $'$" body {{ color: #e8e6e3; background-color: #202324; }} "' + +. $'$" a {{ color: #989693; }} "' + +. $'$" pre {{ background-color: #1b1b1b; padding: 10px; }} "' + +. $'$" \'\\\\\\""' +. default ext | "pdf" => $'$"--set"' +. $'$" tex.paper.size a4paper"' +. $'$" tex.template.add \\\"\\\\pagenumbering{{gobble}}\\\""' - // +. $'$" tex.template.add \\\"\\\\pagestyle{{empty}}\\\""' +. ( if hangul |> not then "" @@ -7692,13 +7683,16 @@

crowbook

$'$" tex.template.add \\\"\\\\usepackage{{polyglossia}}\\\""' +. $'$" tex.template.add \\\"\\\\setmainlanguage{{korean}}\\\""' +. $'$" tex.template.add \\\"\\\\setmainfont{{NanumGothicCoding}}\\\""' - +. $'$" tex.font.size 12"' + +. $'$" tex.font.size 13"' ) +. default ext | "epub" => $'$"--set"' +. $'$" epub.version 3"' - +. $'$" html.css.add \\\\\\"\' body {{ color: #e8e6e3; background-color: #202324; }} a {{ color: #989693; }} \'\\\\\\""' + +. $'$" html.css.add \\\\\\"\' "' + +. $'$" body {{ color: #e8e6e3; background-color: #202324; }} "' + +. $'$" a {{ color: #989693; }} "' + +. $'$" \'\\\\\\""' +. default ext | _ => "" runtime.execution_options fun x => { x with @@ -7709,12 +7703,13 @@

crowbook

} |> runtime.execute_with_options - if result |> sm'.contains "ERROR" then + if result |> sm'.contains "ERROR" |> not + then (exit_code, result) |> Ok + else trace Warning fun () => "documents.crowbook / result contains ERROR" fun () => { exit_code output_path result } (exit_code, result) |> Error - else (exit_code, result) |> Ok @@ -7744,7 +7739,7 @@

hangul

dist_path |> file_system.read_all_text |> sm'.split "\n" - |> fun x => a x : _ i32 _ + |> fun x => a x : _ int _ |> am.map sm'.trim inl text = lines @@ -7752,7 +7747,6 @@

hangul

|> seq.of_array' |> sm'.concat "\n" |> fun x => $'$"{!x}\n\n"' - inl exit_code, result = runtime.execution_options fun x => { x with command = @@ -7769,15 +7763,14 @@

hangul

|> Some |> optionm'.box } |> runtime.execute_with_options - - inl result : string = + inl result = inl result = result |> sm'.split "\n" - |> fun x => a x : _ i32 _ + |> fun x => a x : _ int _ inl result_len = result |> am'.length - (("", (0i32, 0i32)), lines) + (("", (0, 0)), lines) ||> am.fold fun (acc, (i, n)) x => if x = "" then $'$"{!acc}\n"', (i + 1, n + 1) @@ -7793,15 +7786,12 @@

hangul

else $'$"{!acc}{!line}\n"' acc, (i + 1, n) |> fst - result |> file_system.write_all_text output_path - trace Info fun () => "documents.hangul" - fun () => { exit_code result_len = result |> sm'.length : i32; output_path } - + fun () => { exit_code result_len = result |> sm'.length : int; output_path } (exit_code, result) |> Ok - |> fun x => x : result (i32 * string) (i32 * string) + |> fun x => x : result (int * string) (int * string) @@ -7835,7 +7825,6 @@

fix_paths

inl cache_path_no_ext = cache_path |> sm'.slice 0 ((cache_path |> sm'.last_index_of ".") - 1) - inl is_md = ext |> sm'.ends_with ".md" inl output_path : string = if is_md |> not @@ -7873,8 +7862,10 @@

files_fn

inl files_fn { dist_dir cache_dir } fn dist_path ext =
     inl { output_path output_cache_path } = fix_paths { cache_dir dist_path ext }
     inl equal =
-        if file_system.file_exists output_path
-            && file_system.file_exists output_cache_path then
+        if (output_path |> file_system.file_exists |> not)
+            || (output_cache_path |> file_system.file_exists |> not)
+        then false
+        else
             inl output_hash =
                 output_path
                 |> crypto.get_file_hash
@@ -7888,10 +7879,9 @@ 

files_fn

|> resultm.unbox' |> resultm.get output_hash = output_cache_hash - else false - - if not equal - then + if equal + then None + else match fn { ext dist_dir dist_path output_path } with | Ok (exit_code, result) when exit_code <>. 0 => trace Info @@ -7905,7 +7895,6 @@

files_fn

then output_path |> file_system.file_copy output_cache_path else failwith $'$"documents.files_fn / {!output_path} should exist"' output_path |> Ok |> resultm.box |> Some - else None
@@ -7966,7 +7955,7 @@

run

if (path |> sm'.ends_with ".md" |> not) || (path |> sm'.ends_with ".hangul.md") then file_system.Ignore else file_system.Continue - |> async.stream_filter_map fun (entry : _ _ file_system.async_walkdir_error) => + |> async.stream_filter_map_futures fun (entry : _ _ file_system.async_walkdir_error) => match entry |> resultm.map_error' sm'.format' |> resultm.unbox with | Ok entry => entry @@ -7981,7 +7970,7 @@

run

fun () => { error } None |> optionm'.box - |> async.stream_collect + |> async.stream_collect_futures |> async.await trace Debug @@ -8115,7 +8104,6 @@

run

|> new_pair file |> Ok |> resultm.box - |> fun x => x : _ _ sm'.std_string |> async.par_collect |> Ok |> resultm.box @@ -8134,7 +8122,7 @@

run

//// test
-///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2 tokio['rt-multi-thread'] tokio-stream
+///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2
 
 inl workspace_root = file_system.get_workspace_root ()
 inl source_dir = workspace_root </> "../vault/target/documents"
@@ -8169,7 +8157,7 @@ 

run

cache_dir hangul_spec = "por-br" } -|> async.block_on +|> async.block_on_futures |> resultm.unwrap' |> sm'.format_debug' |> sm'.from_std_string @@ -8208,7 +8196,7 @@

run

cache_dir = cache_dir hangul_spec = "por-br" } -|> async.block_on +|> async.block_on_futures |> resultm.unwrap' |> sm'.format_debug' |> sm'.from_std_string @@ -8293,114 +8281,129 @@

run

00:00:00 v #9 > ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b 00:00:00 v #10 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 40 } 00:00:00 i #11 documents.run / par_map / origin_hash |> sm'.contains local_git_hash |> not / Some hash2 when hash1 = hash2 / { file = c:/home/git/vault/target/documents/dist/test.md; real_path = c:/home/git/vault/target/documents/test.md; relative_path = ./test.md; origin_hash_exit_code = 0; origin_hash = ; local_git_hash_exit_code = 0; local_git_hash = ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b; hash1 = f87ee09ec1dadc95e06e23bef39aa3185381d285bb9ca41a8a112061a6f504ec; hash2 = US3_1; dist_path = c:/home/git/vault/target/documents/dist/test.md; cache_path = c:/home/git/vault/target/documents/cache/test.md } -00:00:00 d #12 runtime.execute_with_options / { file_name = c:/home/git/polyglot/../vault/deps/hangulize/cmd/hangulize/hangulize.exe; arguments = ["por-br"]; options = { command = c:\home\git\polyglot\../vault/deps/hangulize/cmd/hangulize/hangulize.exe por-br; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = Some( +00:00:00 d #12 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md; new_path = c:/home/git/vault/target/documents/cache/test.md; result = 34 } +00:00:00 d #13 runtime.execute_with_options / { file_name = c:/home/git/polyglot/../vault/deps/hangulize/cmd/hangulize/hangulize.exe; arguments = ["por-br"]; options = { command = c:\home\git\polyglot\../vault/deps/hangulize/cmd/hangulize/hangulize.exe por-br; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = Some( fable_library_rust::module_3bd9ae6a::FuncType::Func1<alloc::sync::Arc<std::sync::mutex::Mutex<std::process::ChildStdin>>, ()>, ); trace = true; working_directory = None } } -00:00:01 v #13 > # 아 -00:00:01 v #14 > ## 브 -00:00:01 v #15 > --- -00:00:01 v #16 > 아브크 -00:00:01 v #17 > 아브크 -00:00:01 v #18 > 아브크 -00:00:01 v #19 > 아브크 -00:00:01 v #20 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 28 } -00:00:01 i #21 documents.hangul / { exit_code = 0; result_len = 34; output_path = c:/home/git/vault/target/documents/dist/test.hangul.md } -00:00:01 d #22 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "pdf", "--single", "c:/home/git/vault/target/documents/dist/test.md", "--output", "c:/home/git/vault/target/documents/dist/test.md.pdf", "--set", "tex.paper.size", "a4paper", "tex.template.add", "\\pagenumbering{gobble}", "rendering.num_depth", "6", "rendering.highlight.theme", "Solarized (dark)"]; options = { command = crowbook --verbose --to pdf --single "c:/home/git/vault/target/documents/dist/test.md" --output "c:/home/git/vault/target/documents/dist/test.md.pdf" --set tex.paper.size a4paper tex.template.add "\pagenumbering{gobble}" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:00 v #14 > # 아 +00:00:00 v #15 > ## 브 +00:00:00 v #16 > --- +00:00:00 v #17 > 아브크 +00:00:00 v #18 > 아브크 +00:00:00 v #19 > 아브크 +00:00:00 v #20 > 아브크 +00:00:00 v #21 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 28 } +00:00:00 i #22 documents.hangul / { exit_code = 0; result_len = 34; output_path = c:/home/git/vault/target/documents/dist/test.hangul.md } +00:00:00 d #23 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md; new_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md; result = 62 } +00:00:00 d #24 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "pdf", "--single", "c:/home/git/vault/target/documents/dist/test.md", "--output", "c:/home/git/vault/target/documents/dist/test.md.pdf", "--set", "tex.paper.size", "a4paper", "tex.template.add", "\\pagenumbering{gobble}", "rendering.num_depth", "6", "rendering.highlight.theme", "Solarized (dark)"]; options = { command = crowbook --verbose --to pdf --single "c:/home/git/vault/target/documents/dist/test.md" --output "c:/home/git/vault/target/documents/dist/test.md.pdf" --set tex.paper.size a4paper tex.template.add "\pagenumbering{gobble}" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:01 d #23 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "epub", "--single", "c:/home/git/vault/target/documents/dist/test.md", "--output", "c:/home/git/vault/target/documents/dist/test.md.epub", "--set", "epub.version", "3", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '"]; options = { command = crowbook --verbose --to epub --single "c:/home/git/vault/target/documents/dist/test.md" --output "c:/home/git/vault/target/documents/dist/test.md.epub" --set epub.version 3 html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:00 d #25 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "epub", "--single", "c:/home/git/vault/target/documents/dist/test.md", "--output", "c:/home/git/vault/target/documents/dist/test.md.epub", "--set", "epub.version", "3", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '"]; options = { command = crowbook --verbose --to epub --single "c:/home/git/vault/target/documents/dist/test.md" --output "c:/home/git/vault/target/documents/dist/test.md.epub" --set epub.version 3 html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:01 d #24 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "epub", "--single", "c:/home/git/vault/target/documents/dist/test.hangul.md", "--output", "c:/home/git/vault/target/documents/dist/test.hangul.md.epub", "--set", "epub.version", "3", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '"]; options = { command = crowbook --verbose --to epub --single "c:/home/git/vault/target/documents/dist/test.hangul.md" --output "c:/home/git/vault/target/documents/dist/test.hangul.md.epub" --set epub.version 3 html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:00 d #26 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "epub", "--single", "c:/home/git/vault/target/documents/dist/test.hangul.md", "--output", "c:/home/git/vault/target/documents/dist/test.hangul.md.epub", "--set", "epub.version", "3", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '"]; options = { command = crowbook --verbose --to epub --single "c:/home/git/vault/target/documents/dist/test.hangul.md" --output "c:/home/git/vault/target/documents/dist/test.hangul.md.epub" --set epub.version 3 html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:01 d #25 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "html", "--single", "c:/home/git/vault/target/documents/dist/test.md", "--output", "c:/home/git/vault/target/documents/dist/test.md.html", "--set", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '"]; options = { command = crowbook --verbose --to html --single "c:/home/git/vault/target/documents/dist/test.md" --output "c:/home/git/vault/target/documents/dist/test.md.html" --set html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:00 d #27 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "html", "--single", "c:/home/git/vault/target/documents/dist/test.md", "--output", "c:/home/git/vault/target/documents/dist/test.md.html", "--set", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '"]; options = { command = crowbook --verbose --to html --single "c:/home/git/vault/target/documents/dist/test.md" --output "c:/home/git/vault/target/documents/dist/test.md.html" --set html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:01 d #26 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "html", "--single", "c:/home/git/vault/target/documents/dist/test.hangul.md", "--output", "c:/home/git/vault/target/documents/dist/test.hangul.md.html", "--set", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '"]; options = { command = crowbook --verbose --to html --single "c:/home/git/vault/target/documents/dist/test.hangul.md" --output "c:/home/git/vault/target/documents/dist/test.hangul.md.html" --set html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:00 d #28 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "html", "--single", "c:/home/git/vault/target/documents/dist/test.hangul.md", "--output", "c:/home/git/vault/target/documents/dist/test.hangul.md.html", "--set", "html.css.add", "' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '"]; options = { command = crowbook --verbose --to html --single "c:/home/git/vault/target/documents/dist/test.hangul.md" --output "c:/home/git/vault/target/documents/dist/test.hangul.md.html" --set html.css.add \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\" rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:01 v #27 ! CROWBOOK 0.17.0 -00:00:01 v #28 ! 12:49:51 [DEBUG] (1) crowbook::book: Ignoring YAML block: -00:00:01 v #29 ! -00:00:01 v #30 ! 12:49:51 [DEBUG] (1) crowbook::book: Attempting to generate epub... -00:00:01 d #31 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "pdf", "--single", "c:/home/git/vault/target/documents/dist/test.hangul.md", "--output", "c:/home/git/vault/target/documents/dist/test.hangul.md.pdf", "--set", "tex.paper.size", "a4paper", "tex.template.add", "\\pagenumbering{gobble}", "tex.template.add", "\\usepackage{polyglossia}", "tex.template.add", "\\setmainlanguage{korean}", "tex.template.add", "\\setmainfont{NanumGothicCoding}", "tex.font.size", "12", "rendering.num_depth", "6", "rendering.highlight.theme", "Solarized (dark)"]; options = { command = crowbook --verbose --to pdf --single "c:/home/git/vault/target/documents/dist/test.hangul.md" --output "c:/home/git/vault/target/documents/dist/test.hangul.md.pdf" --set tex.paper.size a4paper tex.template.add "\pagenumbering{gobble}" tex.template.add "\usepackage{polyglossia}" tex.template.add "\setmainlanguage{korean}" tex.template.add "\setmainfont{NanumGothicCoding}" tex.font.size 12 rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:00 v #29 ! CROWBOOK 0.17.0 +00:00:00 v #30 ! CROWBOOK 0.17.0 +00:00:00 d #31 runtime.execute_with_options / { file_name = crowbook; arguments = ["--verbose", "--to", "pdf", "--single", "c:/home/git/vault/target/documents/dist/test.hangul.md", "--output", "c:/home/git/vault/target/documents/dist/test.hangul.md.pdf", "--set", "tex.paper.size", "a4paper", "tex.template.add", "\\pagenumbering{gobble}", "tex.template.add", "\\usepackage{polyglossia}", "tex.template.add", "\\setmainlanguage{korean}", "tex.template.add", "\\setmainfont{NanumGothicCoding}", "tex.font.size", "13", "rendering.num_depth", "6", "rendering.highlight.theme", "Solarized (dark)"]; options = { command = crowbook --verbose --to pdf --single "c:/home/git/vault/target/documents/dist/test.hangul.md" --output "c:/home/git/vault/target/documents/dist/test.hangul.md.pdf" --set tex.paper.size a4paper tex.template.add "\pagenumbering{gobble}" tex.template.add "\usepackage{polyglossia}" tex.template.add "\setmainlanguage{korean}" tex.template.add "\setmainfont{NanumGothicCoding}" tex.font.size 13 rendering.num_depth 6 rendering.highlight.theme \"Solarized (dark)\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:01 v #32 ! CROWBOOK 0.17.0 -00:00:01 v #33 ! 12:49:51 [DEBUG] (1) crowbook::book: Ignoring YAML block: -00:00:01 v #34 ! -00:00:01 v #35 ! 12:49:51 [DEBUG] (1) crowbook::book: Attempting to generate epub... -00:00:01 v #36 ! CROWBOOK 0.17.0 -00:00:01 v #37 ! CROWBOOK 0.17.0 -00:00:01 v #38 ! 12:49:51 [DEBUG] (1) crowbook::book: Ignoring YAML block: -00:00:01 v #39 ! -00:00:01 v #40 ! 12:49:51 [DEBUG] (1) crowbook::book: Attempting to generate html... -00:00:01 v #41 ! 12:49:51 [DEBUG] (1) crowbook::book: Ignoring YAML block: -00:00:01 v #42 ! -00:00:01 v #43 ! 12:49:51 [DEBUG] (1) crowbook::book: Attempting to generate html... -00:00:01 v #44 ! 12:49:51 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"#link-1\">a</a></li>" -00:00:01 v #45 ! 12:49:51 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"#link-1\">아</a></li>" -00:00:01 v #46 ! 12:49:51 [INFO] crowbook::book: Succesfully generated HTML (standalone page): test.md.html -00:00:01 v #47 ! 12:49:51 [INFO] crowbook::book: Succesfully generated HTML (standalone page): test.hangul.md.html -00:00:01 v #48 ! CROWBOOK 0.17.0 -00:00:01 v #49 ! 12:49:51 [DEBUG] (1) crowbook::book: Ignoring YAML block: -00:00:01 v #50 ! -00:00:01 v #51 ! 12:49:51 [DEBUG] (1) crowbook::book: Attempting to generate pdf... -00:00:01 v #52 ! 12:49:51 [DEBUG] (1) crowbook::latex: Attempting to run LaTeX on generated file -00:00:01 v #53 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 437 } -00:00:01 v #54 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 444 } -00:00:01 v #55 ! CROWBOOK 0.17.0 -00:00:01 v #56 ! 12:49:51 [DEBUG] (1) crowbook::book: Ignoring YAML block: -00:00:01 v #57 ! -00:00:01 v #58 ! 12:49:51 [DEBUG] (1) crowbook::book: Attempting to generate pdf... -00:00:01 v #59 ! 12:49:51 [DEBUG] (1) crowbook::latex: Attempting to run LaTeX on generated file -00:00:01 v #60 ! 12:49:51 [DEBUG] (1) epub_builder::epub: Add resource: "stylesheet.css" -00:00:01 v #61 ! 12:49:51 [DEBUG] (1) epub_builder::epub: render_opf... -00:00:01 v #62 ! 12:49:51 [DEBUG] (1) epub_builder::epub: id="title_page.xhtml", mime="application/xhtml+xml" -00:00:01 v #63 ! 12:49:51 [DEBUG] (1) epub_builder::epub: content = Content { file: "title_page.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(TitlePage), title: "Title" } -00:00:01 v #64 ! 12:49:51 [DEBUG] (1) epub_builder::epub: id="chapter_000.xhtml", mime="application/xhtml+xml" -00:00:01 v #65 ! 12:49:51 [DEBUG] (1) epub_builder::epub: content = Content { file: "chapter_000.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(Text), title: "a" } -00:00:01 v #66 ! 12:49:51 [DEBUG] (1) epub_builder::epub: id="stylesheet.css", mime="text/css" -00:00:01 v #67 ! 12:49:51 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"title_page.xhtml\">Title</a></li>" -00:00:01 v #68 ! 12:49:51 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"chapter_000.xhtml\">a</a></li>" -00:00:01 v #69 ! 12:49:51 [DEBUG] (1) epub_builder::epub: Add resource: "stylesheet.css" -00:00:01 v #70 ! 12:49:51 [DEBUG] (1) epub_builder::epub: render_opf... -00:00:01 v #71 ! 12:49:51 [DEBUG] (1) epub_builder::epub: id="title_page.xhtml", mime="application/xhtml+xml" -00:00:01 v #72 ! 12:49:51 [DEBUG] (1) epub_builder::epub: content = Content { file: "title_page.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(TitlePage), title: "Title" } -00:00:01 v #73 ! 12:49:51 [DEBUG] (1) epub_builder::epub: id="chapter_000.xhtml", mime="application/xhtml+xml" -00:00:01 v #74 ! 12:49:51 [DEBUG] (1) epub_builder::epub: content = Content { file: "chapter_000.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(Text), title: "아" } -00:00:01 v #75 ! 12:49:51 [DEBUG] (1) epub_builder::epub: id="stylesheet.css", mime="text/css" -00:00:01 v #76 ! 12:49:51 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"title_page.xhtml\">Title</a></li>" -00:00:01 v #77 ! 12:49:51 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"chapter_000.xhtml\">아</a></li>" -00:00:01 v #78 ! 12:49:51 [INFO] crowbook::book: Succesfully generated EPUB: test.md.epub -00:00:01 v #79 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1482 } -00:00:01 v #80 ! 12:49:51 [INFO] crowbook::book: Succesfully generated EPUB: test.hangul.md.epub -00:00:01 v #81 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1489 } -00:00:27 v #82 ! 12:50:18 [INFO] crowbook::book: Succesfully generated PDF: test.md.pdf -00:00:27 v #83 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 404 } -00:00:30 v #84 ! 12:50:21 [INFO] crowbook::book: Succesfully generated PDF: test.hangul.md.pdf -00:00:30 v #85 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 411 } +00:00:00 v #32 ! 20:41:32 [DEBUG] (1) crowbook::book: Ignoring YAML block: +00:00:00 v #33 ! +00:00:00 v #34 ! 20:41:32 [DEBUG] (1) crowbook::book: Attempting to generate epub... +00:00:00 v #35 ! 20:41:32 [DEBUG] (1) crowbook::book: Ignoring YAML block: +00:00:00 v #36 ! +00:00:00 v #37 ! 20:41:32 [DEBUG] (1) crowbook::book: Attempting to generate pdf... +00:00:00 v #38 ! CROWBOOK 0.17.0 +00:00:00 v #39 ! 20:41:32 [DEBUG] (1) crowbook::latex: Attempting to run LaTeX on generated file +00:00:00 v #40 ! 20:41:32 [DEBUG] (1) crowbook::book: Ignoring YAML block: +00:00:00 v #41 ! +00:00:00 v #42 ! 20:41:32 [DEBUG] (1) crowbook::book: Attempting to generate epub... +00:00:00 v #43 ! CROWBOOK 0.17.0 +00:00:00 v #44 ! 20:41:32 [DEBUG] (1) crowbook::book: Ignoring YAML block: +00:00:00 v #45 ! +00:00:00 v #46 ! 20:41:32 [DEBUG] (1) crowbook::book: Attempting to generate html... +00:00:00 v #47 ! 20:41:32 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"#link-1\">아</a></li>" +00:00:00 v #48 ! 20:41:32 [INFO] crowbook::book: Succesfully generated HTML (standalone page): test.hangul.md.html +00:00:00 v #49 ! CROWBOOK 0.17.0 +00:00:00 v #50 ! CROWBOOK 0.17.0 +00:00:00 v #51 ! 20:41:32 [DEBUG] (1) crowbook::book: Ignoring YAML block: +00:00:00 v #52 ! +00:00:00 v #53 ! 20:41:32 [DEBUG] (1) crowbook::book: Ignoring YAML block: +00:00:00 v #54 ! 20:41:32 [DEBUG] (1) crowbook::book: Attempting to generate pdf... +00:00:00 v #54 ! +00:00:00 v #56 ! 20:41:32 [DEBUG] (1) crowbook::book: Attempting to generate html... +00:00:00 v #57 ! 20:41:32 [DEBUG] (1) crowbook::latex: Attempting to run LaTeX on generated file +00:00:00 v #58 ! 20:41:32 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"#link-1\">a</a></li>" +00:00:00 v #59 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 444 } +00:00:00 d #60 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; new_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.html; result = 11621 } +00:00:00 v #61 ! 20:41:32 [INFO] crowbook::book: Succesfully generated HTML (standalone page): test.md.html +00:00:00 v #62 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 437 } +00:00:00 v #63 ! 20:41:32 [DEBUG] (1) epub_builder::epub: Add resource: "stylesheet.css" +00:00:00 v #64 ! 20:41:32 [DEBUG] (1) epub_builder::epub: Add resource: "stylesheet.css" +00:00:00 v #65 ! 20:41:32 [DEBUG] (1) epub_builder::epub: render_opf... +00:00:00 v #66 ! 20:41:32 [DEBUG] (1) epub_builder::epub: render_opf... +00:00:00 v #67 ! 20:41:32 [DEBUG] (1) epub_builder::epub: id="title_page.xhtml", mime="application/xhtml+xml" +00:00:00 d #67 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md.html; new_path = \\?\C:\home\git\vault\target\documents\cache\test.md.html; result = 11595 } +00:00:00 v #69 ! 20:41:32 [DEBUG] (1) epub_builder::epub: content = Content { file: "title_page.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(TitlePage), title: "Title" } +00:00:00 v #70 ! 20:41:32 [DEBUG] (1) epub_builder::epub: id="chapter_000.xhtml", mime="application/xhtml+xml" +00:00:00 v #71 ! 20:41:32 [DEBUG] (1) epub_builder::epub: content = Content { file: "chapter_000.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(Text), title: "a" } +00:00:00 v #72 ! 20:41:32 [DEBUG] (1) epub_builder::epub: id="stylesheet.css", mime="text/css" +00:00:00 v #73 ! 20:41:32 [DEBUG] (1) epub_builder::epub: id="title_page.xhtml", mime="application/xhtml+xml" +00:00:00 v #74 ! 20:41:32 [DEBUG] (1) epub_builder::epub: content = Content { file: "title_page.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(TitlePage), title: "Title" } +00:00:00 v #75 ! 20:41:32 [DEBUG] (1) epub_builder::epub: id="chapter_000.xhtml", mime="application/xhtml+xml" +00:00:00 v #76 ! 20:41:32 [DEBUG] (1) epub_builder::epub: content = Content { file: "chapter_000.xhtml", mime: "application/xhtml+xml", itemref: true, cover: false, reftype: Some(Text), title: "아" } +00:00:00 v #77 ! 20:41:32 [DEBUG] (1) epub_builder::epub: id="stylesheet.css", mime="text/css" +00:00:00 v #78 ! 20:41:32 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"title_page.xhtml\">Title</a></li>" +00:00:00 v #79 ! 20:41:32 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"chapter_000.xhtml\">아</a></li>" +00:00:00 v #80 ! 20:41:32 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"title_page.xhtml\">Title</a></li>" +00:00:00 v #81 ! 20:41:32 [DEBUG] (1) epub_builder::toc: rendered elem: "<li><a href=\"chapter_000.xhtml\">a</a></li>" +00:00:00 v #82 ! 20:41:33 [INFO] crowbook::book: Succesfully generated EPUB: test.hangul.md.epub +00:00:00 v #83 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1489 } +00:00:00 d #84 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; new_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.epub; result = 5550 } +00:00:00 v #85 ! 20:41:33 [INFO] crowbook::book: Succesfully generated EPUB: test.md.epub +00:00:00 v #86 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1482 } +00:00:00 d #87 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md.epub; new_path = \\?\C:\home\git\vault\target\documents\cache\test.md.epub; result = 5503 } +00:00:12 v #88 ! 20:41:44 [INFO] crowbook::book: Succesfully generated PDF: test.md.pdf +00:00:12 v #89 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 404 } +00:00:12 d #90 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md.pdf; new_path = \\?\C:\home\git\vault\target\documents\cache\test.md.pdf; result = 4014 } +00:00:12 v #91 ! 20:41:44 [INFO] crowbook::book: Succesfully generated PDF: test.hangul.md.pdf +00:00:12 v #92 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 411 } +00:00:12 d #93 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; new_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.pdf; result = 5872 } __assert_eq / actual: "[Ok(("c:/home/git/vault/target/documents/dist/test.md", [Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md")), Some(Ok("c:/home/git/vault/target/documents/dist/test.md.html")), Some(Ok("c:/home/git/vault/target/documents/dist/test.md.pdf")), Some(Ok("c:/home/git/vault/target/documents/dist/test.md.epub")), Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md.html")), Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md.pdf")), Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md.epub"))]))]" / expected: "[Ok(("c:/home/git/vault/target/documents/dist/test.md", [Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md")), Some(Ok("c:/home/git/vault/target/documents/dist/test.md.html")), Some(Ok("c:/home/git/vault/target/documents/dist/test.md.pdf")), Some(Ok("c:/home/git/vault/target/documents/dist/test.md.epub")), Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md.html")), Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md.pdf")), Some(Ok("c:/home/git/vault/target/documents/dist/test.hangul.md.epub"))]))]" -00:00:31 v #86 file_system.create_dir / { dir = c:\home\git\polyglot\../vault/target/documents\dist } -00:00:31 d #87 documents.run / { source_dir = \\?\C:\home\git\vault\target\documents; dist_dir = \\?\C:\home\git\vault\target\documents\dist; cache_dir = \\?\C:\home\git\vault\target\documents\cache; hangul_spec = por-br } -00:00:31 d #88 documents.run / { files_len = 1 } -00:00:31 d #89 runtime.execute_with_options / { file_name = git; arguments = ["ls-tree", "--format='%(objectname)'", "origin/gh-pages", "c:/home/git/vault/target/documents/test.md"]; options = { command = git ls-tree --format='%(objectname)' origin/gh-pages "c:/home/git/vault/target/documents/test.md"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:12 v #94 file_system.create_dir / { dir = c:\home\git\polyglot\../vault/target/documents\dist } +00:00:12 d #95 documents.run / { source_dir = \\?\C:\home\git\vault\target\documents; dist_dir = \\?\C:\home\git\vault\target\documents\dist; cache_dir = \\?\C:\home\git\vault\target\documents\cache; hangul_spec = por-br } +00:00:12 d #96 documents.run / { files_len = 1 } +00:00:12 d #97 runtime.execute_with_options / { file_name = git; arguments = ["ls-tree", "--format='%(objectname)'", "origin/gh-pages", "c:/home/git/vault/target/documents/test.md"]; options = { command = git ls-tree --format='%(objectname)' origin/gh-pages "c:/home/git/vault/target/documents/test.md"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents", ) } } -00:00:35 v #90 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 } -00:00:35 d #91 runtime.execute_with_options / { file_name = git; arguments = ["hash-object", "c:/home/git/vault/target/documents/dist/test.md"]; options = { command = git hash-object "c:/home/git/vault/target/documents/dist/test.md"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( +00:00:12 v #98 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 } +00:00:12 d #99 runtime.execute_with_options / { file_name = git; arguments = ["hash-object", "c:/home/git/vault/target/documents/dist/test.md"]; options = { command = git hash-object "c:/home/git/vault/target/documents/dist/test.md"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some( "\\?\C:\home\git\vault\target\documents\dist", ) } } -00:00:36 v #92 > ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b -00:00:36 v #93 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 40 } -00:00:36 i #94 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.epub } -00:00:36 i #95 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.pdf } -00:00:36 i #96 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.html } -00:00:36 i #97 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.epub; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.md.epub } -00:00:36 i #98 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.pdf; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.md.pdf } -00:00:36 i #99 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.html; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.md.html } -00:00:36 i #100 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md } +00:00:12 v #100 > ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b +00:00:12 v #101 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 40 } +00:00:12 i #102 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.epub } +00:00:12 d #103 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.epub; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; result = 5550 } +00:00:12 i #104 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.pdf } +00:00:12 d #105 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.pdf; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; result = 5872 } +00:00:12 i #106 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.html } +00:00:12 d #107 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md.html; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; result = 11621 } +00:00:12 i #108 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.epub; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.md.epub } +00:00:12 d #109 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.md.epub; new_path = c:/home/git/vault/target/documents/dist/test.md.epub; result = 5503 } +00:00:12 i #110 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.pdf; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.md.pdf } +00:00:12 d #111 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.md.pdf; new_path = c:/home/git/vault/target/documents/dist/test.md.pdf; result = 4014 } +00:00:12 i #112 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.html; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.md.html } +00:00:12 d #113 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.md.html; new_path = c:/home/git/vault/target/documents/dist/test.md.html; result = 11595 } +00:00:12 i #114 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md; output_cache_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md } +00:00:12 d #115 file_system.file_copy / { old_path = \\?\C:\home\git\vault\target\documents\cache\test.hangul.md; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md; result = 62 } __assert_eq / actual: "[Ok(("c:/home/git/vault/target/documents/dist/test.md", []))]" / expected: "[Ok(("c:/home/git/vault/target/documents/dist/test.md", []))]" __assert_eq / actual: "# 아 @@ -8499,35 +8502,35 @@

main

inl source_dir = arg_matches - |> runtime.matches_get_one (get_args () .source_dir) + |> runtime.matches_get_one (get_args () .source_dir |> fst) |> optionm'.unbox |> optionm.value |> sm'.from_std_string inl dist_dir = arg_matches - |> runtime.matches_get_one (get_args () .dist_dir) + |> runtime.matches_get_one (get_args () .dist_dir |> fst) |> optionm'.unbox |> optionm.value |> sm'.from_std_string inl cache_dir = arg_matches - |> runtime.matches_get_one (get_args () .cache_dir) + |> runtime.matches_get_one (get_args () .cache_dir |> fst) |> optionm'.unbox |> optionm.value |> sm'.from_std_string inl hangul_spec = arg_matches - |> runtime.matches_get_one (get_args () .hangul_spec) + |> runtime.matches_get_one (get_args () .hangul_spec |> fst) |> optionm'.unbox |> optionm.value |> sm'.from_std_string inl result = run { source_dir dist_dir cache_dir hangul_spec } - |> async.block_on + |> async.block_on_futures |> resultm.unbox match result with diff --git a/apps/documents/documents.dib.ipynb b/apps/documents/documents.dib.ipynb index 9a72169e..c6bd3f50 100644 --- a/apps/documents/documents.dib.ipynb +++ b/apps/documents/documents.dib.ipynb @@ -66,10 +66,10 @@ "source": [ "inl get_args () =\n", " {\n", - " source_dir = \"source-dir\"\n", - " dist_dir = \"dist-dir\"\n", - " cache_dir = \"cache-dir\"\n", - " hangul_spec = \"hangul-spec\"\n", + " source_dir = \"source-dir\", 's'\n", + " dist_dir = \"dist-dir\", 'd'\n", + " cache_dir = \"cache-dir\", 'c'\n", + " hangul_spec = \"hangul-spec\", 'h'\n", " }" ] }, @@ -96,29 +96,17 @@ "let get_command () =\n", " ##\"command\"\n", " |> runtime.new_command\n", - " |> runtime.command_arg (\n", - " runtime.new_arg ##(get_args () .source_dir)\n", - " |> runtime.arg_short 's'\n", - " |> runtime.arg_long ##(get_args () .source_dir)\n", - " |> runtime.arg_required true\n", + " |> runtime.command_init_arg (get_args () .source_dir) (\n", + " runtime.arg_required true\n", " )\n", - " |> runtime.command_arg (\n", - " runtime.new_arg ##(get_args () .dist_dir)\n", - " |> runtime.arg_short 'd'\n", - " |> runtime.arg_long ##(get_args () .dist_dir)\n", - " |> runtime.arg_required true\n", + " |> runtime.command_init_arg (get_args () .dist_dir) (\n", + " runtime.arg_required true\n", " )\n", - " |> runtime.command_arg (\n", - " runtime.new_arg ##(get_args () .cache_dir)\n", - " |> runtime.arg_short 'c'\n", - " |> runtime.arg_long ##(get_args () .cache_dir)\n", - " |> runtime.arg_required true\n", + " |> runtime.command_init_arg (get_args () .cache_dir) (\n", + " runtime.arg_required true\n", " )\n", - " |> runtime.command_arg (\n", - " runtime.new_arg ##(get_args () .hangul_spec)\n", - " |> runtime.arg_short 's'\n", - " |> runtime.arg_long ##(get_args () .hangul_spec)\n", - " |> runtime.arg_required true\n", + " |> runtime.command_init_arg (get_args () .hangul_spec) (\n", + " runtime.arg_required true\n", " )" ] }, @@ -151,13 +139,16 @@ " match ext with\n", " | \"html\" =>\n", " $'$\"--set\"'\n", - " +. $'$\" html.css.add \\\\\\\\\\\\\"\\' body {{ color: #e8e6e3; background-color: #202324; }} a {{ color: #989693; }} pre {{ background-color: #1b1b1b; padding: 10px; }} \\'\\\\\\\\\\\\\"\"'\n", + " +. $'$\" html.css.add \\\\\\\\\\\\\"\\' \"'\n", + " +. $'$\" body {{ color: #e8e6e3; background-color: #202324; }} \"'\n", + " +. $'$\" a {{ color: #989693; }} \"'\n", + " +. $'$\" pre {{ background-color: #1b1b1b; padding: 10px; }} \"'\n", + " +. $'$\" \\'\\\\\\\\\\\\\"\"'\n", " +. default ext\n", " | \"pdf\" =>\n", " $'$\"--set\"'\n", " +. $'$\" tex.paper.size a4paper\"'\n", " +. $'$\" tex.template.add \\\\\\\"\\\\\\\\pagenumbering{{gobble}}\\\\\\\"\"'\n", - " // +. $'$\" tex.template.add \\\\\\\"\\\\\\\\pagestyle{{empty}}\\\\\\\"\"'\n", " +. (\n", " if hangul |> not\n", " then \"\"\n", @@ -165,13 +156,16 @@ " $'$\" tex.template.add \\\\\\\"\\\\\\\\usepackage{{polyglossia}}\\\\\\\"\"'\n", " +. $'$\" tex.template.add \\\\\\\"\\\\\\\\setmainlanguage{{korean}}\\\\\\\"\"'\n", " +. $'$\" tex.template.add \\\\\\\"\\\\\\\\setmainfont{{NanumGothicCoding}}\\\\\\\"\"'\n", - " +. $'$\" tex.font.size 12\"'\n", + " +. $'$\" tex.font.size 13\"'\n", " )\n", " +. default ext\n", " | \"epub\" =>\n", " $'$\"--set\"'\n", " +. $'$\" epub.version 3\"'\n", - " +. $'$\" html.css.add \\\\\\\\\\\\\"\\' body {{ color: #e8e6e3; background-color: #202324; }} a {{ color: #989693; }} \\'\\\\\\\\\\\\\"\"'\n", + " +. $'$\" html.css.add \\\\\\\\\\\\\"\\' \"'\n", + " +. $'$\" body {{ color: #e8e6e3; background-color: #202324; }} \"'\n", + " +. $'$\" a {{ color: #989693; }} \"'\n", + " +. $'$\" \\'\\\\\\\\\\\\\"\"'\n", " +. default ext\n", " | _ => \"\"\n", " runtime.execution_options fun x => { x with\n", @@ -182,12 +176,13 @@ " }\n", " |> runtime.execute_with_options\n", "\n", - " if result |> sm'.contains \"ERROR\" then\n", + " if result |> sm'.contains \"ERROR\" |> not\n", + " then (exit_code, result) |> Ok\n", + " else\n", " trace Warning\n", " fun () => \"documents.crowbook / result contains ERROR\"\n", " fun () => { exit_code output_path result }\n", - " (exit_code, result) |> Error\n", - " else (exit_code, result) |> Ok" + " (exit_code, result) |> Error" ] }, { @@ -215,7 +210,7 @@ " dist_path\n", " |> file_system.read_all_text\n", " |> sm'.split \"\\n\"\n", - " |> fun x => a x : _ i32 _\n", + " |> fun x => a x : _ int _\n", " |> am.map sm'.trim\n", " inl text =\n", " lines\n", @@ -223,7 +218,6 @@ " |> seq.of_array'\n", " |> sm'.concat \"\\n\"\n", " |> fun x => $'$\"{!x}\\n\\n\"'\n", - "\n", " inl exit_code, result =\n", " runtime.execution_options fun x => { x with\n", " command =\n", @@ -240,15 +234,14 @@ " |> Some |> optionm'.box\n", " }\n", " |> runtime.execute_with_options\n", - "\n", - " inl result : string =\n", + " inl result =\n", " inl result =\n", " result\n", " |> sm'.split \"\\n\"\n", - " |> fun x => a x : _ i32 _\n", + " |> fun x => a x : _ int _\n", " inl result_len = result |> am'.length\n", "\n", - " ((\"\", (0i32, 0i32)), lines)\n", + " ((\"\", (0, 0)), lines)\n", " ||> am.fold fun (acc, (i, n)) x =>\n", " if x = \"\"\n", " then $'$\"{!acc}\\n\"', (i + 1, n + 1)\n", @@ -264,15 +257,12 @@ " else $'$\"{!acc}{!line}\\n\"'\n", " acc, (i + 1, n)\n", " |> fst\n", - "\n", " result |> file_system.write_all_text output_path\n", - "\n", " trace Info\n", " fun () => \"documents.hangul\"\n", - " fun () => { exit_code result_len = result |> sm'.length : i32; output_path }\n", - "\n", + " fun () => { exit_code result_len = result |> sm'.length : int; output_path }\n", " (exit_code, result) |> Ok\n", - " |> fun x => x : result (i32 * string) (i32 * string)" + " |> fun x => x : result (int * string) (int * string)" ] }, { @@ -304,7 +294,6 @@ " inl cache_path_no_ext =\n", " cache_path\n", " |> sm'.slice 0 ((cache_path |> sm'.last_index_of \".\") - 1)\n", - "\n", " inl is_md = ext |> sm'.ends_with \".md\"\n", " inl output_path : string =\n", " if is_md |> not\n", @@ -340,8 +329,10 @@ "inl files_fn { dist_dir cache_dir } fn dist_path ext =\n", " inl { output_path output_cache_path } = fix_paths { cache_dir dist_path ext }\n", " inl equal =\n", - " if file_system.file_exists output_path\n", - " && file_system.file_exists output_cache_path then\n", + " if (output_path |> file_system.file_exists |> not)\n", + " || (output_cache_path |> file_system.file_exists |> not)\n", + " then false\n", + " else\n", " inl output_hash =\n", " output_path\n", " |> crypto.get_file_hash\n", @@ -355,10 +346,9 @@ " |> resultm.unbox'\n", " |> resultm.get\n", " output_hash = output_cache_hash\n", - " else false\n", - "\n", - " if not equal\n", - " then\n", + " if equal\n", + " then None\n", + " else\n", " match fn { ext dist_dir dist_path output_path } with\n", " | Ok (exit_code, result) when exit_code <>. 0 =>\n", " trace Info\n", @@ -371,8 +361,7 @@ " if output_path |> file_system.file_exists\n", " then output_path |> file_system.file_copy output_cache_path\n", " else failwith $'$\"documents.files_fn / {!output_path} should exist\"'\n", - " output_path |> Ok |> resultm.box |> Some\n", - " else None" + " output_path |> Ok |> resultm.box |> Some" ] }, { @@ -431,7 +420,7 @@ " if (path |> sm'.ends_with \".md\" |> not) || (path |> sm'.ends_with \".hangul.md\")\n", " then file_system.Ignore\n", " else file_system.Continue\n", - " |> async.stream_filter_map fun (entry : _ _ file_system.async_walkdir_error) =>\n", + " |> async.stream_filter_map_futures fun (entry : _ _ file_system.async_walkdir_error) =>\n", " match entry |> resultm.map_error' sm'.format' |> resultm.unbox with\n", " | Ok entry =>\n", " entry\n", @@ -446,7 +435,7 @@ " fun () => { error }\n", " None\n", " |> optionm'.box\n", - " |> async.stream_collect\n", + " |> async.stream_collect_futures\n", " |> async.await\n", "\n", " trace Debug\n", @@ -580,7 +569,6 @@ " |> new_pair file\n", " |> Ok\n", " |> resultm.box\n", - " |> fun x => x : _ _ sm'.std_string\n", " |> async.par_collect\n", " |> Ok\n", " |> resultm.box\n", @@ -617,114 +605,129 @@ "00:00:00 \u001B[90mv\u001B[39m #9 > ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b\n", "00:00:00 \u001B[90mv\u001B[39m #10 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 40 }\n", "00:00:00 \u001B[92mi\u001B[39m #11 documents.run / par_map / origin_hash |> sm'.contains local_git_hash |> not / Some hash2 when hash1 = hash2 / { file = c:/home/git/vault/target/documents/dist/test.md; real_path = c:/home/git/vault/target/documents/test.md; relative_path = ./test.md; origin_hash_exit_code = 0; origin_hash = ; local_git_hash_exit_code = 0; local_git_hash = ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b; hash1 = f87ee09ec1dadc95e06e23bef39aa3185381d285bb9ca41a8a112061a6f504ec; hash2 = US3_1; dist_path = c:/home/git/vault/target/documents/dist/test.md; cache_path = c:/home/git/vault/target/documents/cache/test.md }\n", - "00:00:00 \u001B[94md\u001B[39m #12 runtime.execute_with_options / { file_name = c:/home/git/polyglot/../vault/deps/hangulize/cmd/hangulize/hangulize.exe; arguments = [\"por-br\"]; options = { command = c:\\home\\git\\polyglot\\../vault/deps/hangulize/cmd/hangulize/hangulize.exe por-br; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = Some(\n", + "00:00:00 \u001B[94md\u001B[39m #12 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md; new_path = c:/home/git/vault/target/documents/cache/test.md; result = 34 }\n", + "00:00:00 \u001B[94md\u001B[39m #13 runtime.execute_with_options / { file_name = c:/home/git/polyglot/../vault/deps/hangulize/cmd/hangulize/hangulize.exe; arguments = [\"por-br\"]; options = { command = c:\\home\\git\\polyglot\\../vault/deps/hangulize/cmd/hangulize/hangulize.exe por-br; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = Some(\n", " fable_library_rust::module_3bd9ae6a::FuncType::Func1>, ()>,\n", "); trace = true; working_directory = None } }\n", - "00:00:01 \u001B[90mv\u001B[39m #13 > # 아\n", - "00:00:01 \u001B[90mv\u001B[39m #14 > ## 브\n", - "00:00:01 \u001B[90mv\u001B[39m #15 > ---\n", - "00:00:01 \u001B[90mv\u001B[39m #16 > 아브크\n", - "00:00:01 \u001B[90mv\u001B[39m #17 > 아브크\n", - "00:00:01 \u001B[90mv\u001B[39m #18 > 아브크\n", - "00:00:01 \u001B[90mv\u001B[39m #19 > 아브크\n", - "00:00:01 \u001B[90mv\u001B[39m #20 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 28 }\n", - "00:00:01 \u001B[92mi\u001B[39m #21 documents.hangul / { exit_code = 0; result_len = 34; output_path = c:/home/git/vault/target/documents/dist/test.hangul.md }\n", - "00:00:01 \u001B[94md\u001B[39m #22 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"pdf\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.md.pdf\", \"--set\", \"tex.paper.size\", \"a4paper\", \"tex.template.add\", \"\\\\pagenumbering{gobble}\", \"rendering.num_depth\", \"6\", \"rendering.highlight.theme\", \"Solarized (dark)\"]; options = { command = crowbook --verbose --to pdf --single \"c:/home/git/vault/target/documents/dist/test.md\" --output \"c:/home/git/vault/target/documents/dist/test.md.pdf\" --set tex.paper.size a4paper tex.template.add \"\\pagenumbering{gobble}\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:00 \u001B[90mv\u001B[39m #14 > # 아\n", + "00:00:00 \u001B[90mv\u001B[39m #15 > ## 브\n", + "00:00:00 \u001B[90mv\u001B[39m #16 > ---\n", + "00:00:00 \u001B[90mv\u001B[39m #17 > 아브크\n", + "00:00:00 \u001B[90mv\u001B[39m #18 > 아브크\n", + "00:00:00 \u001B[90mv\u001B[39m #19 > 아브크\n", + "00:00:00 \u001B[90mv\u001B[39m #20 > 아브크\n", + "00:00:00 \u001B[90mv\u001B[39m #21 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 28 }\n", + "00:00:00 \u001B[92mi\u001B[39m #22 documents.hangul / { exit_code = 0; result_len = 34; output_path = c:/home/git/vault/target/documents/dist/test.hangul.md }\n", + "00:00:00 \u001B[94md\u001B[39m #23 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md; result = 62 }\n", + "00:00:00 \u001B[94md\u001B[39m #24 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"pdf\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.md.pdf\", \"--set\", \"tex.paper.size\", \"a4paper\", \"tex.template.add\", \"\\\\pagenumbering{gobble}\", \"rendering.num_depth\", \"6\", \"rendering.highlight.theme\", \"Solarized (dark)\"]; options = { command = crowbook --verbose --to pdf --single \"c:/home/git/vault/target/documents/dist/test.md\" --output \"c:/home/git/vault/target/documents/dist/test.md.pdf\" --set tex.paper.size a4paper tex.template.add \"\\pagenumbering{gobble}\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:01 \u001B[94md\u001B[39m #23 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"epub\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.md.epub\", \"--set\", \"epub.version\", \"3\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\"]; options = { command = crowbook --verbose --to epub --single \"c:/home/git/vault/target/documents/dist/test.md\" --output \"c:/home/git/vault/target/documents/dist/test.md.epub\" --set epub.version 3 html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:00 \u001B[94md\u001B[39m #25 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"epub\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.md.epub\", \"--set\", \"epub.version\", \"3\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\"]; options = { command = crowbook --verbose --to epub --single \"c:/home/git/vault/target/documents/dist/test.md\" --output \"c:/home/git/vault/target/documents/dist/test.md.epub\" --set epub.version 3 html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:01 \u001B[94md\u001B[39m #24 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"epub\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.hangul.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.hangul.md.epub\", \"--set\", \"epub.version\", \"3\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\"]; options = { command = crowbook --verbose --to epub --single \"c:/home/git/vault/target/documents/dist/test.hangul.md\" --output \"c:/home/git/vault/target/documents/dist/test.hangul.md.epub\" --set epub.version 3 html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:00 \u001B[94md\u001B[39m #26 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"epub\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.hangul.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.hangul.md.epub\", \"--set\", \"epub.version\", \"3\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\"]; options = { command = crowbook --verbose --to epub --single \"c:/home/git/vault/target/documents/dist/test.hangul.md\" --output \"c:/home/git/vault/target/documents/dist/test.hangul.md.epub\" --set epub.version 3 html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:01 \u001B[94md\u001B[39m #25 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"html\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.md.html\", \"--set\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\"]; options = { command = crowbook --verbose --to html --single \"c:/home/git/vault/target/documents/dist/test.md\" --output \"c:/home/git/vault/target/documents/dist/test.md.html\" --set html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:00 \u001B[94md\u001B[39m #27 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"html\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.md.html\", \"--set\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\"]; options = { command = crowbook --verbose --to html --single \"c:/home/git/vault/target/documents/dist/test.md\" --output \"c:/home/git/vault/target/documents/dist/test.md.html\" --set html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:01 \u001B[94md\u001B[39m #26 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"html\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.hangul.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.hangul.md.html\", \"--set\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\"]; options = { command = crowbook --verbose --to html --single \"c:/home/git/vault/target/documents/dist/test.hangul.md\" --output \"c:/home/git/vault/target/documents/dist/test.hangul.md.html\" --set html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:00 \u001B[94md\u001B[39m #28 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"html\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.hangul.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.hangul.md.html\", \"--set\", \"html.css.add\", \"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\"]; options = { command = crowbook --verbose --to html --single \"c:/home/git/vault/target/documents/dist/test.hangul.md\" --output \"c:/home/git/vault/target/documents/dist/test.hangul.md.html\" --set html.css.add \\\"' body { color: #e8e6e3; background-color: #202324; } a { color: #989693; } pre { background-color: #1b1b1b; padding: 10px; } '\\\" rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:01 \u001B[90mv\u001B[39m #27 ! CROWBOOK 0.17.0\n", - "00:00:01 \u001B[90mv\u001B[39m #28 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", - "00:00:01 \u001B[90mv\u001B[39m #29 !\n", - "00:00:01 \u001B[90mv\u001B[39m #30 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate epub...\n", - "00:00:01 \u001B[94md\u001B[39m #31 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"pdf\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.hangul.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.hangul.md.pdf\", \"--set\", \"tex.paper.size\", \"a4paper\", \"tex.template.add\", \"\\\\pagenumbering{gobble}\", \"tex.template.add\", \"\\\\usepackage{polyglossia}\", \"tex.template.add\", \"\\\\setmainlanguage{korean}\", \"tex.template.add\", \"\\\\setmainfont{NanumGothicCoding}\", \"tex.font.size\", \"12\", \"rendering.num_depth\", \"6\", \"rendering.highlight.theme\", \"Solarized (dark)\"]; options = { command = crowbook --verbose --to pdf --single \"c:/home/git/vault/target/documents/dist/test.hangul.md\" --output \"c:/home/git/vault/target/documents/dist/test.hangul.md.pdf\" --set tex.paper.size a4paper tex.template.add \"\\pagenumbering{gobble}\" tex.template.add \"\\usepackage{polyglossia}\" tex.template.add \"\\setmainlanguage{korean}\" tex.template.add \"\\setmainfont{NanumGothicCoding}\" tex.font.size 12 rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:00 \u001B[90mv\u001B[39m #29 ! CROWBOOK 0.17.0\n", + "00:00:00 \u001B[90mv\u001B[39m #30 ! CROWBOOK 0.17.0\n", + "00:00:00 \u001B[94md\u001B[39m #31 runtime.execute_with_options / { file_name = crowbook; arguments = [\"--verbose\", \"--to\", \"pdf\", \"--single\", \"c:/home/git/vault/target/documents/dist/test.hangul.md\", \"--output\", \"c:/home/git/vault/target/documents/dist/test.hangul.md.pdf\", \"--set\", \"tex.paper.size\", \"a4paper\", \"tex.template.add\", \"\\\\pagenumbering{gobble}\", \"tex.template.add\", \"\\\\usepackage{polyglossia}\", \"tex.template.add\", \"\\\\setmainlanguage{korean}\", \"tex.template.add\", \"\\\\setmainfont{NanumGothicCoding}\", \"tex.font.size\", \"13\", \"rendering.num_depth\", \"6\", \"rendering.highlight.theme\", \"Solarized (dark)\"]; options = { command = crowbook --verbose --to pdf --single \"c:/home/git/vault/target/documents/dist/test.hangul.md\" --output \"c:/home/git/vault/target/documents/dist/test.hangul.md.pdf\" --set tex.paper.size a4paper tex.template.add \"\\pagenumbering{gobble}\" tex.template.add \"\\usepackage{polyglossia}\" tex.template.add \"\\setmainlanguage{korean}\" tex.template.add \"\\setmainfont{NanumGothicCoding}\" tex.font.size 13 rendering.num_depth 6 rendering.highlight.theme \\\"Solarized (dark)\\\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:01 \u001B[90mv\u001B[39m #32 ! CROWBOOK 0.17.0\n", - "00:00:01 \u001B[90mv\u001B[39m #33 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", - "00:00:01 \u001B[90mv\u001B[39m #34 !\n", - "00:00:01 \u001B[90mv\u001B[39m #35 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate epub...\n", - "00:00:01 \u001B[90mv\u001B[39m #36 ! CROWBOOK 0.17.0\n", - "00:00:01 \u001B[90mv\u001B[39m #37 ! CROWBOOK 0.17.0\n", - "00:00:01 \u001B[90mv\u001B[39m #38 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", - "00:00:01 \u001B[90mv\u001B[39m #39 !\n", - "00:00:01 \u001B[90mv\u001B[39m #40 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate html...\n", - "00:00:01 \u001B[90mv\u001B[39m #41 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", - "00:00:01 \u001B[90mv\u001B[39m #42 !\n", - "00:00:01 \u001B[90mv\u001B[39m #43 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate html...\n", - "00:00:01 \u001B[90mv\u001B[39m #44 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • a
  • \"\n", - "00:00:01 \u001B[90mv\u001B[39m #45 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • \"\n", - "00:00:01 \u001B[90mv\u001B[39m #46 ! 12:49:51 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated HTML (standalone page): test.md.html\n", - "00:00:01 \u001B[90mv\u001B[39m #47 ! 12:49:51 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated HTML (standalone page): test.hangul.md.html\n", - "00:00:01 \u001B[90mv\u001B[39m #48 ! CROWBOOK 0.17.0\n", - "00:00:01 \u001B[90mv\u001B[39m #49 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", - "00:00:01 \u001B[90mv\u001B[39m #50 !\n", - "00:00:01 \u001B[90mv\u001B[39m #51 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate pdf...\n", - "00:00:01 \u001B[90mv\u001B[39m #52 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::latex: Attempting to run LaTeX on generated file\n", - "00:00:01 \u001B[90mv\u001B[39m #53 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 437 }\n", - "00:00:01 \u001B[90mv\u001B[39m #54 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 444 }\n", - "00:00:01 \u001B[90mv\u001B[39m #55 ! CROWBOOK 0.17.0\n", - "00:00:01 \u001B[90mv\u001B[39m #56 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", - "00:00:01 \u001B[90mv\u001B[39m #57 !\n", - "00:00:01 \u001B[90mv\u001B[39m #58 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate pdf...\n", - "00:00:01 \u001B[90mv\u001B[39m #59 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::latex: Attempting to run LaTeX on generated file\n", - "00:00:01 \u001B[90mv\u001B[39m #60 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: Add resource: \"stylesheet.css\"\n", - "00:00:01 \u001B[90mv\u001B[39m #61 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: render_opf...\n", - "00:00:01 \u001B[90mv\u001B[39m #62 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"title_page.xhtml\", mime=\"application/xhtml+xml\"\n", - "00:00:01 \u001B[90mv\u001B[39m #63 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"title_page.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(TitlePage), title: \"Title\" }\n", - "00:00:01 \u001B[90mv\u001B[39m #64 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"chapter_000.xhtml\", mime=\"application/xhtml+xml\"\n", - "00:00:01 \u001B[90mv\u001B[39m #65 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"chapter_000.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(Text), title: \"a\" }\n", - "00:00:01 \u001B[90mv\u001B[39m #66 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"stylesheet.css\", mime=\"text/css\"\n", - "00:00:01 \u001B[90mv\u001B[39m #67 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • Title
  • \"\n", - "00:00:01 \u001B[90mv\u001B[39m #68 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • a
  • \"\n", - "00:00:01 \u001B[90mv\u001B[39m #69 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: Add resource: \"stylesheet.css\"\n", - "00:00:01 \u001B[90mv\u001B[39m #70 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: render_opf...\n", - "00:00:01 \u001B[90mv\u001B[39m #71 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"title_page.xhtml\", mime=\"application/xhtml+xml\"\n", - "00:00:01 \u001B[90mv\u001B[39m #72 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"title_page.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(TitlePage), title: \"Title\" }\n", - "00:00:01 \u001B[90mv\u001B[39m #73 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"chapter_000.xhtml\", mime=\"application/xhtml+xml\"\n", - "00:00:01 \u001B[90mv\u001B[39m #74 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"chapter_000.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(Text), title: \"아\" }\n", - "00:00:01 \u001B[90mv\u001B[39m #75 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"stylesheet.css\", mime=\"text/css\"\n", - "00:00:01 \u001B[90mv\u001B[39m #76 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • Title
  • \"\n", - "00:00:01 \u001B[90mv\u001B[39m #77 ! 12:49:51 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • \"\n", - "00:00:01 \u001B[90mv\u001B[39m #78 ! 12:49:51 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated EPUB: test.md.epub\n", - "00:00:01 \u001B[90mv\u001B[39m #79 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1482 }\n", - "00:00:01 \u001B[90mv\u001B[39m #80 ! 12:49:51 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated EPUB: test.hangul.md.epub\n", - "00:00:01 \u001B[90mv\u001B[39m #81 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1489 }\n", - "00:00:27 \u001B[90mv\u001B[39m #82 ! 12:50:18 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated PDF: test.md.pdf\n", - "00:00:27 \u001B[90mv\u001B[39m #83 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 404 }\n", - "00:00:30 \u001B[90mv\u001B[39m #84 ! 12:50:21 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated PDF: test.hangul.md.pdf\n", - "00:00:30 \u001B[90mv\u001B[39m #85 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 411 }\n", + "00:00:00 \u001B[90mv\u001B[39m #32 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", + "00:00:00 \u001B[90mv\u001B[39m #33 !\n", + "00:00:00 \u001B[90mv\u001B[39m #34 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate epub...\n", + "00:00:00 \u001B[90mv\u001B[39m #35 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", + "00:00:00 \u001B[90mv\u001B[39m #36 !\n", + "00:00:00 \u001B[90mv\u001B[39m #37 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate pdf...\n", + "00:00:00 \u001B[90mv\u001B[39m #38 ! CROWBOOK 0.17.0\n", + "00:00:00 \u001B[90mv\u001B[39m #39 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::latex: Attempting to run LaTeX on generated file\n", + "00:00:00 \u001B[90mv\u001B[39m #40 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", + "00:00:00 \u001B[90mv\u001B[39m #41 !\n", + "00:00:00 \u001B[90mv\u001B[39m #42 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate epub...\n", + "00:00:00 \u001B[90mv\u001B[39m #43 ! CROWBOOK 0.17.0\n", + "00:00:00 \u001B[90mv\u001B[39m #44 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", + "00:00:00 \u001B[90mv\u001B[39m #45 !\n", + "00:00:00 \u001B[90mv\u001B[39m #46 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate html...\n", + "00:00:00 \u001B[90mv\u001B[39m #47 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • \"\n", + "00:00:00 \u001B[90mv\u001B[39m #48 ! 20:41:32 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated HTML (standalone page): test.hangul.md.html\n", + "00:00:00 \u001B[90mv\u001B[39m #49 ! CROWBOOK 0.17.0\n", + "00:00:00 \u001B[90mv\u001B[39m #50 ! CROWBOOK 0.17.0\n", + "00:00:00 \u001B[90mv\u001B[39m #51 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", + "00:00:00 \u001B[90mv\u001B[39m #52 !\n", + "00:00:00 \u001B[90mv\u001B[39m #53 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Ignoring YAML block:\n", + "00:00:00 \u001B[90mv\u001B[39m #54 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate pdf...\n", + "00:00:00 \u001B[90mv\u001B[39m #54 !\n", + "00:00:00 \u001B[90mv\u001B[39m #56 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::book: Attempting to generate html...\n", + "00:00:00 \u001B[90mv\u001B[39m #57 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) crowbook::latex: Attempting to run LaTeX on generated file\n", + "00:00:00 \u001B[90mv\u001B[39m #58 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • a
  • \"\n", + "00:00:00 \u001B[90mv\u001B[39m #59 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 444 }\n", + "00:00:00 \u001B[94md\u001B[39m #60 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.html; result = 11621 }\n", + "00:00:00 \u001B[90mv\u001B[39m #61 ! 20:41:32 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated HTML (standalone page): test.md.html\n", + "00:00:00 \u001B[90mv\u001B[39m #62 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 437 }\n", + "00:00:00 \u001B[90mv\u001B[39m #63 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: Add resource: \"stylesheet.css\"\n", + "00:00:00 \u001B[90mv\u001B[39m #64 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: Add resource: \"stylesheet.css\"\n", + "00:00:00 \u001B[90mv\u001B[39m #65 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: render_opf...\n", + "00:00:00 \u001B[90mv\u001B[39m #66 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: render_opf...\n", + "00:00:00 \u001B[90mv\u001B[39m #67 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"title_page.xhtml\", mime=\"application/xhtml+xml\"\n", + "00:00:00 \u001B[94md\u001B[39m #67 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md.html; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.html; result = 11595 }\n", + "00:00:00 \u001B[90mv\u001B[39m #69 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"title_page.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(TitlePage), title: \"Title\" }\n", + "00:00:00 \u001B[90mv\u001B[39m #70 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"chapter_000.xhtml\", mime=\"application/xhtml+xml\"\n", + "00:00:00 \u001B[90mv\u001B[39m #71 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"chapter_000.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(Text), title: \"a\" }\n", + "00:00:00 \u001B[90mv\u001B[39m #72 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"stylesheet.css\", mime=\"text/css\"\n", + "00:00:00 \u001B[90mv\u001B[39m #73 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"title_page.xhtml\", mime=\"application/xhtml+xml\"\n", + "00:00:00 \u001B[90mv\u001B[39m #74 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"title_page.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(TitlePage), title: \"Title\" }\n", + "00:00:00 \u001B[90mv\u001B[39m #75 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"chapter_000.xhtml\", mime=\"application/xhtml+xml\"\n", + "00:00:00 \u001B[90mv\u001B[39m #76 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: content = Content { file: \"chapter_000.xhtml\", mime: \"application/xhtml+xml\", itemref: true, cover: false, reftype: Some(Text), title: \"아\" }\n", + "00:00:00 \u001B[90mv\u001B[39m #77 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::epub: id=\"stylesheet.css\", mime=\"text/css\"\n", + "00:00:00 \u001B[90mv\u001B[39m #78 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • Title
  • \"\n", + "00:00:00 \u001B[90mv\u001B[39m #79 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • \"\n", + "00:00:00 \u001B[90mv\u001B[39m #80 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • Title
  • \"\n", + "00:00:00 \u001B[90mv\u001B[39m #81 ! 20:41:32 \u001B[0m\u001B[36m[DEBUG] \u001B[0m(1) epub_builder::toc: rendered elem: \"
  • a
  • \"\n", + "00:00:00 \u001B[90mv\u001B[39m #82 ! 20:41:33 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated EPUB: test.hangul.md.epub\n", + "00:00:00 \u001B[90mv\u001B[39m #83 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1489 }\n", + "00:00:00 \u001B[94md\u001B[39m #84 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.epub; result = 5550 }\n", + "00:00:00 \u001B[90mv\u001B[39m #85 ! 20:41:33 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated EPUB: test.md.epub\n", + "00:00:00 \u001B[90mv\u001B[39m #86 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1482 }\n", + "00:00:00 \u001B[94md\u001B[39m #87 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md.epub; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.epub; result = 5503 }\n", + "00:00:12 \u001B[90mv\u001B[39m #88 ! 20:41:44 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated PDF: test.md.pdf\n", + "00:00:12 \u001B[90mv\u001B[39m #89 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 404 }\n", + "00:00:12 \u001B[94md\u001B[39m #90 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.md.pdf; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.pdf; result = 4014 }\n", + "00:00:12 \u001B[90mv\u001B[39m #91 ! 20:41:44 \u001B[0m\u001B[34m[INFO] \u001B[0mcrowbook::book: Succesfully generated PDF: test.hangul.md.pdf\n", + "00:00:12 \u001B[90mv\u001B[39m #92 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 411 }\n", + "00:00:12 \u001B[94md\u001B[39m #93 file_system.file_copy / { old_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; new_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.pdf; result = 5872 }\n", "__assert_eq / actual: \"[Ok((\"c:/home/git/vault/target/documents/dist/test.md\", [Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.md.html\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.md.pdf\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.md.epub\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md.html\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md.pdf\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md.epub\"))]))]\" / expected: \"[Ok((\"c:/home/git/vault/target/documents/dist/test.md\", [Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.md.html\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.md.pdf\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.md.epub\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md.html\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md.pdf\")), Some(Ok(\"c:/home/git/vault/target/documents/dist/test.hangul.md.epub\"))]))]\"\n", - "00:00:31 \u001B[90mv\u001B[39m #86 file_system.create_dir / { dir = c:\\home\\git\\polyglot\\../vault/target/documents\\dist }\n", - "00:00:31 \u001B[94md\u001B[39m #87 documents.run / { source_dir = \\\\?\\C:\\home\\git\\vault\\target\\documents; dist_dir = \\\\?\\C:\\home\\git\\vault\\target\\documents\\dist; cache_dir = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache; hangul_spec = por-br }\n", - "00:00:31 \u001B[94md\u001B[39m #88 documents.run / { files_len = 1 }\n", - "00:00:31 \u001B[94md\u001B[39m #89 runtime.execute_with_options / { file_name = git; arguments = [\"ls-tree\", \"--format='%(objectname)'\", \"origin/gh-pages\", \"c:/home/git/vault/target/documents/test.md\"]; options = { command = git ls-tree --format='%(objectname)' origin/gh-pages \"c:/home/git/vault/target/documents/test.md\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:12 \u001B[90mv\u001B[39m #94 file_system.create_dir / { dir = c:\\home\\git\\polyglot\\../vault/target/documents\\dist }\n", + "00:00:12 \u001B[94md\u001B[39m #95 documents.run / { source_dir = \\\\?\\C:\\home\\git\\vault\\target\\documents; dist_dir = \\\\?\\C:\\home\\git\\vault\\target\\documents\\dist; cache_dir = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache; hangul_spec = por-br }\n", + "00:00:12 \u001B[94md\u001B[39m #96 documents.run / { files_len = 1 }\n", + "00:00:12 \u001B[94md\u001B[39m #97 runtime.execute_with_options / { file_name = git; arguments = [\"ls-tree\", \"--format='%(objectname)'\", \"origin/gh-pages\", \"c:/home/git/vault/target/documents/test.md\"]; options = { command = git ls-tree --format='%(objectname)' origin/gh-pages \"c:/home/git/vault/target/documents/test.md\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\",\n", ") } }\n", - "00:00:35 \u001B[90mv\u001B[39m #90 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }\n", - "00:00:35 \u001B[94md\u001B[39m #91 runtime.execute_with_options / { file_name = git; arguments = [\"hash-object\", \"c:/home/git/vault/target/documents/dist/test.md\"]; options = { command = git hash-object \"c:/home/git/vault/target/documents/dist/test.md\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", + "00:00:12 \u001B[90mv\u001B[39m #98 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }\n", + "00:00:12 \u001B[94md\u001B[39m #99 runtime.execute_with_options / { file_name = git; arguments = [\"hash-object\", \"c:/home/git/vault/target/documents/dist/test.md\"]; options = { command = git hash-object \"c:/home/git/vault/target/documents/dist/test.md\"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = Some(\n", " \"\\\\?\\C:\\home\\git\\vault\\target\\documents\\dist\",\n", ") } }\n", - "00:00:36 \u001B[90mv\u001B[39m #92 > ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b\n", - "00:00:36 \u001B[90mv\u001B[39m #93 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 40 }\n", - "00:00:36 \u001B[92mi\u001B[39m #94 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.epub }\n", - "00:00:36 \u001B[92mi\u001B[39m #95 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.pdf }\n", - "00:00:36 \u001B[92mi\u001B[39m #96 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.html }\n", - "00:00:36 \u001B[92mi\u001B[39m #97 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.epub; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.epub }\n", - "00:00:36 \u001B[92mi\u001B[39m #98 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.pdf; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.pdf }\n", - "00:00:36 \u001B[92mi\u001B[39m #99 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.html; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.html }\n", - "00:00:36 \u001B[92mi\u001B[39m #100 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md }\n", + "00:00:12 \u001B[90mv\u001B[39m #100 > ba0ba7eb68b2a508ff0525bcbb91bd5ebc95e71b\n", + "00:00:12 \u001B[90mv\u001B[39m #101 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 40 }\n", + "00:00:12 \u001B[92mi\u001B[39m #102 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.epub }\n", + "00:00:12 \u001B[94md\u001B[39m #103 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.epub; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md.epub; result = 5550 }\n", + "00:00:12 \u001B[92mi\u001B[39m #104 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.pdf }\n", + "00:00:12 \u001B[94md\u001B[39m #105 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.pdf; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md.pdf; result = 5872 }\n", + "00:00:12 \u001B[92mi\u001B[39m #106 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.html }\n", + "00:00:12 \u001B[94md\u001B[39m #107 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md.html; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md.html; result = 11621 }\n", + "00:00:12 \u001B[92mi\u001B[39m #108 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.epub; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.epub }\n", + "00:00:12 \u001B[94md\u001B[39m #109 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.epub; new_path = c:/home/git/vault/target/documents/dist/test.md.epub; result = 5503 }\n", + "00:00:12 \u001B[92mi\u001B[39m #110 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.pdf; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.pdf }\n", + "00:00:12 \u001B[94md\u001B[39m #111 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.pdf; new_path = c:/home/git/vault/target/documents/dist/test.md.pdf; result = 4014 }\n", + "00:00:12 \u001B[92mi\u001B[39m #112 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.md.html; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.html }\n", + "00:00:12 \u001B[94md\u001B[39m #113 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.md.html; new_path = c:/home/git/vault/target/documents/dist/test.md.html; result = 11595 }\n", + "00:00:12 \u001B[92mi\u001B[39m #114 documents.run / par_map / files' = [] / listm.iter / { output_path = c:/home/git/vault/target/documents/dist/test.hangul.md; output_cache_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md }\n", + "00:00:12 \u001B[94md\u001B[39m #115 file_system.file_copy / { old_path = \\\\?\\C:\\home\\git\\vault\\target\\documents\\cache\\test.hangul.md; new_path = c:/home/git/vault/target/documents/dist/test.hangul.md; result = 62 }\n", "__assert_eq / actual: \"[Ok((\"c:/home/git/vault/target/documents/dist/test.md\", []))]\" / expected: \"[Ok((\"c:/home/git/vault/target/documents/dist/test.md\", []))]\"\n", "__assert_eq / actual: \"# 아\n", "\n", @@ -765,7 +768,7 @@ ], "source": [ "//// test\n", - "///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2 tokio['rt-multi-thread'] tokio-stream\n", + "///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2\n", "\n", "inl workspace_root = file_system.get_workspace_root ()\n", "inl source_dir = workspace_root \"../vault/target/documents\"\n", @@ -800,7 +803,7 @@ " cache_dir\n", " hangul_spec = \"por-br\"\n", "}\n", - "|> async.block_on\n", + "|> async.block_on_futures\n", "|> resultm.unwrap'\n", "|> sm'.format_debug'\n", "|> sm'.from_std_string\n", @@ -839,7 +842,7 @@ " cache_dir = cache_dir\n", " hangul_spec = \"por-br\"\n", "}\n", - "|> async.block_on\n", + "|> async.block_on_futures\n", "|> resultm.unwrap'\n", "|> sm'.format_debug'\n", "|> sm'.from_std_string\n", @@ -959,35 +962,35 @@ "\n", " inl source_dir =\n", " arg_matches\n", - " |> runtime.matches_get_one (get_args () .source_dir)\n", + " |> runtime.matches_get_one (get_args () .source_dir |> fst)\n", " |> optionm'.unbox\n", " |> optionm.value\n", " |> sm'.from_std_string\n", "\n", " inl dist_dir =\n", " arg_matches\n", - " |> runtime.matches_get_one (get_args () .dist_dir)\n", + " |> runtime.matches_get_one (get_args () .dist_dir |> fst)\n", " |> optionm'.unbox\n", " |> optionm.value\n", " |> sm'.from_std_string\n", "\n", " inl cache_dir =\n", " arg_matches\n", - " |> runtime.matches_get_one (get_args () .cache_dir)\n", + " |> runtime.matches_get_one (get_args () .cache_dir |> fst)\n", " |> optionm'.unbox\n", " |> optionm.value\n", " |> sm'.from_std_string\n", "\n", " inl hangul_spec =\n", " arg_matches\n", - " |> runtime.matches_get_one (get_args () .hangul_spec)\n", + " |> runtime.matches_get_one (get_args () .hangul_spec |> fst)\n", " |> optionm'.unbox\n", " |> optionm.value\n", " |> sm'.from_std_string\n", "\n", " inl result =\n", " run { source_dir dist_dir cache_dir hangul_spec }\n", - " |> async.block_on\n", + " |> async.block_on_futures\n", " |> resultm.unbox\n", " \n", " match result with\n", diff --git a/apps/documents/documents.fsx b/apps/documents/documents.fsx index 05246b86..ba0a729f 100644 --- a/apps/documents/documents.fsx +++ b/apps/documents/documents.fsx @@ -3125,8 +3125,79 @@ and closure18 () (v0 : std_path_PathBuf) : US9 = US9_0(v0) and method44 () : (std_path_PathBuf -> US9) = closure18() -and method45 (v0 : string) : string = +and method46 (v0 : string) : string = v0 +and method45 (v0 : string, v1 : string, v2 : string) : string = + let v3 : unit = () + +#if FABLE_COMPILER || WASM || CONTRACT + +#if FABLE_COMPILER_RUST && !WASM && !CONTRACT + let v4 : string = $"regex::Regex::new(&$0)" + let v5 : Result = Fable.Core.RustInterop.emitRustExpr v0 v4 + let v6 : unit = () + +#if FABLE_COMPILER || WASM || CONTRACT + +#if FABLE_COMPILER_RUST && !WASM && !CONTRACT + let v7 : string = "$0.unwrap()" + let v8 : regex_Regex = Fable.Core.RustInterop.emitRustExpr v5 v7 + let _v6 = v8 + #endif +#if FABLE_COMPILER_RUST && WASM + let v9 : string = "$0.unwrap()" + let v10 : regex_Regex = Fable.Core.RustInterop.emitRustExpr v5 v9 + let _v6 = v10 + #endif +#if FABLE_COMPILER_RUST && CONTRACT + let v11 : string = "$0.unwrap()" + let v12 : regex_Regex = Fable.Core.RustInterop.emitRustExpr v5 v11 + let _v6 = v12 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v13 : regex_Regex = match v5 with Ok x -> x | Error e -> failwith $"resultm.unwrap' / e: {e}" + let _v6 = v13 + #endif +#if FABLE_COMPILER_PYTHON + let v14 : regex_Regex = match v5 with Ok x -> x | Error e -> failwith $"resultm.unwrap' / e: {e}" + let _v6 = v14 + #endif +#else + let v15 : regex_Regex = match v5 with Ok x -> x | Error e -> failwith $"resultm.unwrap' / e: {e}" + let _v6 = v15 + #endif + let v16 : regex_Regex = _v6 + let v19 : string = method46(v2) + let v20 : string = $"$0.replace_all(&*$1, &*$2)" + let v21 : std_borrow_Cow = Fable.Core.RustInterop.emitRustExpr struct (v16, v19, v1) v20 + let v22 : string = "String::from($0)" + let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v21 v22 + let v24 : string = "fable_library_rust::String_::fromString($0)" + let v25 : string = Fable.Core.RustInterop.emitRustExpr v23 v24 + let _v3 = v25 + #endif +#if FABLE_COMPILER_RUST && WASM + let v26 : string = null |> unbox + let _v3 = v26 + #endif +#if FABLE_COMPILER_RUST && CONTRACT + let v29 : string = null |> unbox + let _v3 = v29 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v32 : string = null |> unbox + let _v3 = v32 + #endif +#if FABLE_COMPILER_PYTHON + let v35 : string = null |> unbox + let _v3 = v35 + #endif +#else + let v38 : string = System.Text.RegularExpressions.Regex.Replace (v2, v0, v1) + let _v3 = v38 + #endif + let v39 : string = _v3 + v39 and method40 (v0 : string) : string = let v1 : bool = v0 = "" if v1 then @@ -26866,89 +26937,21 @@ and method40 (v0 : string) : string = else let v13196 : string = "^\\\\\\\\\\?\\\\" let v13197 : string = "" - let v13198 : unit = () - -#if FABLE_COMPILER || WASM || CONTRACT - -#if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v13199 : string = $"regex::Regex::new(&$0)" - let v13200 : Result = Fable.Core.RustInterop.emitRustExpr v13196 v13199 - let v13201 : unit = () - -#if FABLE_COMPILER || WASM || CONTRACT - -#if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v13202 : string = "$0.unwrap()" - let v13203 : regex_Regex = Fable.Core.RustInterop.emitRustExpr v13200 v13202 - let _v13201 = v13203 - #endif -#if FABLE_COMPILER_RUST && WASM - let v13204 : string = "$0.unwrap()" - let v13205 : regex_Regex = Fable.Core.RustInterop.emitRustExpr v13200 v13204 - let _v13201 = v13205 - #endif -#if FABLE_COMPILER_RUST && CONTRACT - let v13206 : string = "$0.unwrap()" - let v13207 : regex_Regex = Fable.Core.RustInterop.emitRustExpr v13200 v13206 - let _v13201 = v13207 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v13208 : regex_Regex = match v13200 with Ok x -> x | Error e -> failwith $"resultm.unwrap' / e: {e}" - let _v13201 = v13208 - #endif -#if FABLE_COMPILER_PYTHON - let v13209 : regex_Regex = match v13200 with Ok x -> x | Error e -> failwith $"resultm.unwrap' / e: {e}" - let _v13201 = v13209 - #endif -#else - let v13210 : regex_Regex = match v13200 with Ok x -> x | Error e -> failwith $"resultm.unwrap' / e: {e}" - let _v13201 = v13210 - #endif - let v13211 : regex_Regex = _v13201 - let v13214 : string = method45(v13193) - let v13215 : string = $"$0.replace_all(&*$1, &*$2)" - let v13216 : std_borrow_Cow = Fable.Core.RustInterop.emitRustExpr struct (v13211, v13214, v13197) v13215 - let v13217 : string = "String::from($0)" - let v13218 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13216 v13217 - let v13219 : string = "fable_library_rust::String_::fromString($0)" - let v13220 : string = Fable.Core.RustInterop.emitRustExpr v13218 v13219 - let _v13198 = v13220 - #endif -#if FABLE_COMPILER_RUST && WASM - let v13221 : string = null |> unbox - let _v13198 = v13221 - #endif -#if FABLE_COMPILER_RUST && CONTRACT - let v13224 : string = null |> unbox - let _v13198 = v13224 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v13227 : string = null |> unbox - let _v13198 = v13227 - #endif -#if FABLE_COMPILER_PYTHON - let v13230 : string = null |> unbox - let _v13198 = v13230 - #endif -#else - let v13233 : string = System.Text.RegularExpressions.Regex.Replace (v13193, v13196, v13197) - let _v13198 = v13233 - #endif - let v13234 : string = _v13198 - let v13239 : string = $"{v13234.[0] |> string |> _.ToLower()}{v13234.[1..]}" - let v13240 : string = "\\" - let v13241 : string = "/" - let v13242 : string = v13239.Replace (v13240, v13241) - v13242 -and method46 (v0 : int32, v1 : Mut5) : bool = + let v13198 : string = method45(v13196, v13197, v13193) + let v13199 : string = $"{v13198.[0] |> string |> _.ToLower()}{v13198.[1..]}" + let v13200 : string = "\\" + let v13201 : string = "/" + let v13202 : string = v13199.Replace (v13200, v13201) + v13202 +and method47 (v0 : int32, v1 : Mut5) : bool = let v2 : int32 = v1.l0 let v3 : bool = v2 < v0 v3 -and method47 (v0 : int32, v1 : Mut6) : bool = +and method48 (v0 : int32, v1 : Mut6) : bool = let v2 : int32 = v1.l0 let v3 : bool = v2 < v0 v3 -and method48 () : char = +and method49 () : char = let v0 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -27095,7 +27098,7 @@ and method39 (v0 : string) : string = let v75 : (string []) = [||] let v76 : int32 = v72.Length let v77 : Mut5 = {l0 = 0; l1 = 0; l2 = v75} : Mut5 - while method46(v76, v77) do + while method47(v76, v77) do let v79 : int32 = v77.l0 let v80 : int32 = -v79 let v81 : int32 = v80 + v76 @@ -27124,7 +27127,7 @@ and method39 (v0 : string) : string = let v96 : int32 = v94 + v95 let v97 : (string []) = Array.zeroCreate (v96) let v98 : Mut6 = {l0 = 0} : Mut6 - while method47(v96, v98) do + while method48(v96, v98) do let v100 : int32 = v98.l0 let v101 : bool = v100 < v94 let v105 : string = @@ -27147,7 +27150,7 @@ and method39 (v0 : string) : string = let v110 : int32 = v108 + v109 let v111 : (string []) = Array.zeroCreate (v110) let v112 : Mut6 = {l0 = 0} : Mut6 - while method47(v110, v112) do + while method48(v110, v112) do let v114 : int32 = v112.l0 let v115 : bool = v114 < v108 let v119 : string = @@ -27173,7 +27176,7 @@ and method39 (v0 : string) : string = () let struct (v131 : int32, v132 : (string [])) = v77.l1, v77.l2 let v133 : string seq = seq { for i = 0 to v132.Length - 1 do yield v132.[i] } - let v136 : char = method48() + let v136 : char = method49() let v137 : (char -> string) = _.ToString() let v138 : string = v137 v136 let v141 : (string -> (string seq -> string)) = String.concat @@ -27306,7 +27309,7 @@ and method39 (v0 : string) : string = #endif let v220 : string = _v1 v220 -and method49 () : string = +and method50 () : string = @@ -27473,7 +27476,7 @@ and method49 () : string = #endif let v107 : string = _v7 v107 -and method51 (v0 : string, v1 : string, v2 : string, v3 : string) : string = +and method52 (v0 : string, v1 : string, v2 : string, v3 : string) : string = let v4 : string = method14() let v5 : Mut3 = {l0 = v4} : Mut3 let v6 : string = "{ " @@ -27554,8 +27557,8 @@ and method51 (v0 : string, v1 : string, v2 : string, v3 : string) : string = let v147 : unit = (fun () -> v146 (); v145) () let v150 : string = v5.l0 v150 -and method50 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : string, v11 : string) : string = - let v12 : string = method51(v8, v9, v10, v11) +and method51 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : string, v11 : string) : string = + let v12 : string = method52(v8, v9, v10, v11) let v13 : int64 = v0.l0 let v14 : string = "documents.run" let v15 : string = $"{v6} {v7} #{v13} %s{v14} / {v12}" @@ -27569,10 +27572,10 @@ and closure19 (v0 : string, v1 : string, v2 : string, v3 : string) () : unit = let v8 : unit = (fun () -> v7 (); v6) () let struct (v22 : Mut0, v23 : Mut1, v24 : Mut2, v25 : Mut3, v26 : Mut4, v27 : int64 option) = TraceState.trace_state.Value let v40 : string = method8(v22, v23, v24, v25, v26, v27) - let v41 : string = method49() - let v42 : string = method50(v22, v23, v24, v25, v26, v27, v40, v41, v1, v2, v3, v0) + let v41 : string = method50() + let v42 : string = method51(v22, v23, v24, v25, v26, v27, v40, v41, v1, v2, v3, v0) method19(v42) -and method52 (v0 : async_walkdir_DirEntry) : async_walkdir_DirEntry = +and method53 (v0 : async_walkdir_DirEntry) : async_walkdir_DirEntry = v0 and closure21 () (v0 : std_io_Error) : std_string_String = let v1 : unit = () @@ -27608,29 +27611,29 @@ and closure21 () (v0 : std_io_Error) : std_string_String = #endif let v17 : std_string_String = _v1 v17 -and method53 () : (std_io_Error -> std_string_String) = +and method54 () : (std_io_Error -> std_string_String) = closure21() and closure22 () (v0 : std_fs_FileType) : US10 = US10_0(v0) and closure23 () (v0 : std_string_String) : US10 = US10_1(v0) -and method54 (v0 : std_fs_FileType) : std_fs_FileType = +and method55 (v0 : std_fs_FileType) : std_fs_FileType = v0 -and method55 (v0 : US11) : US11 = +and method56 (v0 : US11) : US11 = v0 -and method56 (v0 : async_walkdir_Filtering) : async_walkdir_Filtering = +and method57 (v0 : async_walkdir_Filtering) : async_walkdir_Filtering = v0 and closure20 () (v0 : async_walkdir_DirEntry) : std_pin_Pin>, Send>>>>> = let v1 : string = "true; let __future_init = Box::pin(async { //" let v2 : bool = Fable.Core.RustInterop.emitRustExpr () v1 let v3 : string = "true; let __future_init = Box::pin(async move { //" let v4 : bool = Fable.Core.RustInterop.emitRustExpr () v3 - let v5 : async_walkdir_DirEntry = method52(v0) + let v5 : async_walkdir_DirEntry = method53(v0) let v6 : string = "Box::pin(async_walkdir::DirEntry::file_type(&v5))" let v7 : std_pin_Pin>>, Send>>>>>> = Fable.Core.RustInterop.emitRustExpr () v6 let v8 : string = "v7.await" let v9 : Result = Fable.Core.RustInterop.emitRustExpr () v8 - let v10 : (std_io_Error -> std_string_String) = method53() + let v10 : (std_io_Error -> std_string_String) = method54() let v11 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -27669,7 +27672,7 @@ and closure20 () (v0 : async_walkdir_DirEntry) : std_pin_Pin (* Ok *) - let v28 : std_fs_FileType = method54(v27) + let v28 : std_fs_FileType = method55(v27) let v29 : string = "std::fs::FileType::is_dir(&v28)" let v30 : bool = Fable.Core.RustInterop.emitRustExpr () v29 if v30 then @@ -27840,7 +27843,7 @@ and closure20 () (v0 : async_walkdir_DirEntry) : std_pin_Pin std_string_String) = +and method59 () : (async_walkdir_Error -> std_string_String) = closure25() and closure26 () (v0 : async_walkdir_DirEntry) : US12 = US12_0(v0) and closure27 () (v0 : std_string_String) : US12 = US12_1(v0) -and method59 () : string = +and method60 () : string = @@ -28148,7 +28151,7 @@ and method59 () : string = #endif let v107 : string = _v7 v107 -and method61 (v0 : std_string_String) : string = +and method62 (v0 : std_string_String) : string = let v1 : string = method14() let v2 : Mut3 = {l0 = v1} : Mut3 let v3 : string = "{ " @@ -28215,8 +28218,8 @@ and method61 (v0 : std_string_String) : string = let v71 : unit = (fun () -> v70 (); v69) () let v74 : string = v2.l0 v74 -and method60 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : std_string_String) : string = - let v9 : string = method61(v8) +and method61 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : std_string_String) : string = + let v9 : string = method62(v8) let v10 : int64 = v0.l0 let v11 : string = "documents.run / stream_filter_map" let v12 : string = $"{v6} {v7} #{v10} %s{v11} / {v9}" @@ -28230,11 +28233,11 @@ and closure28 (v0 : std_string_String) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method59() - let v39 : string = method60(v19, v20, v21, v22, v23, v24, v37, v38, v0) + let v38 : string = method60() + let v39 : string = method61(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v39) and closure24 () (v0 : Result) : string option = - let v1 : (async_walkdir_Error -> std_string_String) = method58() + let v1 : (async_walkdir_Error -> std_string_String) = method59() let v2 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -28354,9 +28357,9 @@ and closure24 () (v0 : Result) : st | US1_0(v112) -> (* Some *) let v113 : string option = Some v112 v113 -and method57 () : (Result -> string option) = +and method58 () : (Result -> string option) = closure24() -and method63 (v0 : unativeint) : string = +and method64 (v0 : unativeint) : string = let v1 : string = method14() let v2 : Mut3 = {l0 = v1} : Mut3 let v3 : string = "{ " @@ -28423,8 +28426,8 @@ and method63 (v0 : unativeint) : string = let v71 : unit = (fun () -> v70 (); v69) () let v74 : string = v2.l0 v74 -and method62 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : unativeint) : string = - let v9 : string = method63(v8) +and method63 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : unativeint) : string = + let v9 : string = method64(v8) let v10 : int64 = v0.l0 let v11 : string = "documents.run" let v12 : string = $"{v6} {v7} #{v10} %s{v11} / {v9}" @@ -28438,26 +28441,26 @@ and closure29 (v0 : Vec) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method49() + let v38 : string = method50() let v39 : string = "$0.len()" let v40 : unativeint = Fable.Core.RustInterop.emitRustExpr v0 v39 - let v41 : string = method62(v19, v20, v21, v22, v23, v24, v37, v38, v40) + let v41 : string = method63(v19, v20, v21, v22, v23, v24, v37, v38, v40) method19(v41) -and method64 () : string = +and method65 () : string = let v0 : string = "" v0 -and method65 (v0 : string) : string = +and method66 (v0 : string) : string = let v1 : string = method39(v0) method40(v1) -and method67 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : string = +and method68 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : string = v0 and closure33 (v0 : char) (v1 : UH0) : UH0 = UH0_1(v0, v1) and closure32 () (v0 : char) : (UH0 -> UH0) = closure33(v0) -and method69 () : (char -> (UH0 -> UH0)) = +and method70 () : (char -> (UH0 -> UH0)) = closure32() -and method70 (v0 : UH0, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : struct (System.Text.StringBuilder * int32 * int32) = +and method71 (v0 : UH0, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : struct (System.Text.StringBuilder * int32 * int32) = match v0 with | UH0_1(v4, v5) -> (* Cons *) let v6 : bool = '\n' = v4 @@ -28479,7 +28482,7 @@ and method70 (v0 : UH0, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) let v17 : (string -> System.Text.StringBuilder) = v1.Append let v18 : System.Text.StringBuilder = v17 v14 v1 - method70(v5, v19, v9, v10) + method71(v5, v19, v9, v10) | UH0_0 -> (* Nil *) struct (v1, v2, v3) and closure31 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US14 = @@ -28503,7 +28506,7 @@ and closure31 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 let v20 : int32 = v17.Length let v21 : (char []) = Array.zeroCreate (v20) let v22 : Mut6 = {l0 = 0} : Mut6 - while method47(v20, v22) do + while method48(v20, v22) do let v24 : int32 = v22.l0 let v25 : char = v17.[int v24] v21.[int v24] <- v25 @@ -28512,12 +28515,12 @@ and closure31 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 () let v27 : char list = v21 |> Array.toList let v28 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v29 : (char -> (UH0 -> UH0)) = method69() + let v29 : (char -> (UH0 -> UH0)) = method70() let v30 : (char list -> (UH0 -> UH0)) = v28 v29 let v31 : (UH0 -> UH0) = v30 v27 let v32 : UH0 = UH0_0 let v33 : UH0 = v31 v32 - let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method70(v33, v1, v2, v3) + let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method71(v33, v1, v2, v3) US14_0(v7, v15, v38, v39, v40) else let v42 : (string -> int32) = String.length @@ -28570,7 +28573,7 @@ and closure34 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 let v20 : int32 = v17.Length let v21 : (char []) = Array.zeroCreate (v20) let v22 : Mut6 = {l0 = 0} : Mut6 - while method47(v20, v22) do + while method48(v20, v22) do let v24 : int32 = v22.l0 let v25 : char = v17.[int v24] v21.[int v24] <- v25 @@ -28579,12 +28582,12 @@ and closure34 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 () let v27 : char list = v21 |> Array.toList let v28 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v29 : (char -> (UH0 -> UH0)) = method69() + let v29 : (char -> (UH0 -> UH0)) = method70() let v30 : (char list -> (UH0 -> UH0)) = v28 v29 let v31 : (UH0 -> UH0) = v30 v27 let v32 : UH0 = UH0_0 let v33 : UH0 = v31 v32 - let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method70(v33, v1, v2, v3) + let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method71(v33, v1, v2, v3) US14_0(v7, v15, v38, v39, v40) else let v42 : (string -> int32) = String.length @@ -28616,19 +28619,19 @@ and closure34 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 {v63} " US14_1(v64) -and method71 (v0 : string, v1 : System.Text.StringBuilder, v2 : UH1) : US14 = +and method72 (v0 : string, v1 : System.Text.StringBuilder, v2 : UH1) : US14 = match v2 with | UH1_1(v5, v6) -> (* Cons *) let v7 : US14 = v5 struct (v0, v1, 1, 1) match v7 with | US14_1(v13) -> (* Error *) - method71(v0, v1, v6) + method72(v0, v1, v6) | US14_0(v8, v9, v10, v11, v12) -> (* Ok *) v7 | UH1_0 -> (* Nil *) let v3 : string = "choice / no parsers succeeded" US14_1(v3) -and method72 (v0 : char, v1 : int64) : bool = +and method73 (v0 : char, v1 : int64) : bool = let v2 : bool = v1 >= 2L if v2 then false @@ -28656,8 +28659,8 @@ and method72 (v0 : char, v1 : int64) : bool = true else let v17 : int64 = v1 + 1L - method72(v0, v17) -and method73 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = + method73(v0, v17) +and method74 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = let v5 : bool = "" = v1 let v70 : US14 = if v5 then @@ -28678,7 +28681,7 @@ and method73 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v25 : int32 = v24 v21 let v26 : string = v1.[int v23..int v25] let v27 : int64 = 0L - let v28 : bool = method72(v19, v27) + let v28 : bool = method73(v19, v27) let v29 : bool = v28 = false if v29 then let v30 : (char -> string) = _.ToString() @@ -28686,7 +28689,7 @@ and method73 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v34 : int32 = v31.Length let v35 : (char []) = Array.zeroCreate (v34) let v36 : Mut6 = {l0 = 0} : Mut6 - while method47(v34, v36) do + while method48(v34, v36) do let v38 : int32 = v36.l0 let v39 : char = v31.[int v38] v35.[int v38] <- v39 @@ -28695,12 +28698,12 @@ and method73 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int () let v41 : char list = v35 |> Array.toList let v42 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v43 : (char -> (UH0 -> UH0)) = method69() + let v43 : (char -> (UH0 -> UH0)) = method70() let v44 : (char list -> (UH0 -> UH0)) = v42 v43 let v45 : (UH0 -> UH0) = v44 v41 let v46 : UH0 = UH0_0 let v47 : UH0 = v45 v46 - let struct (v52 : System.Text.StringBuilder, v53 : int32, v54 : int32) = method70(v47, v2, v3, v4) + let struct (v52 : System.Text.StringBuilder, v53 : int32, v54 : int32) = method71(v47, v2, v3, v4) US14_0(v19, v26, v52, v53, v54) else let v56 : char list = [] @@ -28729,20 +28732,20 @@ and method73 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v88 : (char -> string) = _.ToString() let v89 : string = v88 v83 let v92 : string = v0 + v89 - method73(v92, v84, v85, v86, v87) -and method74 (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32, v4 : UH1) : US14 = + method74(v92, v84, v85, v86, v87) +and method75 (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32, v4 : UH1) : US14 = match v4 with | UH1_1(v7, v8) -> (* Cons *) let v9 : US14 = v7 struct (v0, v1, v2, v3) match v9 with | US14_1(v15) -> (* Error *) - method74(v0, v1, v2, v3, v8) + method75(v0, v1, v2, v3, v8) | US14_0(v10, v11, v12, v13, v14) -> (* Ok *) v9 | UH1_0 -> (* Nil *) let v5 : string = "choice / no parsers succeeded" US14_1(v5) -and method75 (v0 : char, v1 : int64) : bool = +and method76 (v0 : char, v1 : int64) : bool = let v2 : bool = v1 >= 3L if v2 then false @@ -28775,8 +28778,8 @@ and method75 (v0 : char, v1 : int64) : bool = true else let v21 : int64 = v1 + 1L - method75(v0, v21) -and method76 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = + method76(v0, v21) +and method77 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = let v5 : bool = "" = v1 let v76 : US14 = if v5 then @@ -28798,7 +28801,7 @@ and method76 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v28 : int32 = v27 v24 let v29 : string = v1.[int v26..int v28] let v30 : int64 = 0L - let v31 : bool = method75(v22, v30) + let v31 : bool = method76(v22, v30) let v32 : bool = v31 = false if v32 then let v33 : (char -> string) = _.ToString() @@ -28806,7 +28809,7 @@ and method76 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v37 : int32 = v34.Length let v38 : (char []) = Array.zeroCreate (v37) let v39 : Mut6 = {l0 = 0} : Mut6 - while method47(v37, v39) do + while method48(v37, v39) do let v41 : int32 = v39.l0 let v42 : char = v34.[int v41] v38.[int v41] <- v42 @@ -28815,12 +28818,12 @@ and method76 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int () let v44 : char list = v38 |> Array.toList let v45 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v46 : (char -> (UH0 -> UH0)) = method69() + let v46 : (char -> (UH0 -> UH0)) = method70() let v47 : (char list -> (UH0 -> UH0)) = v45 v46 let v48 : (UH0 -> UH0) = v47 v44 let v49 : UH0 = UH0_0 let v50 : UH0 = v48 v49 - let struct (v55 : System.Text.StringBuilder, v56 : int32, v57 : int32) = method70(v50, v2, v3, v4) + let struct (v55 : System.Text.StringBuilder, v56 : int32, v57 : int32) = method71(v50, v2, v3, v4) US14_0(v22, v29, v55, v56, v57) else let v59 : char list = [] @@ -28850,8 +28853,8 @@ and method76 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v94 : (char -> string) = _.ToString() let v95 : string = v94 v89 let v98 : string = v0 + v95 - method76(v98, v90, v91, v92, v93) -and method77 (v0 : string, v1 : int32) : int32 = + method77(v98, v90, v91, v92, v93) +and method78 (v0 : string, v1 : int32) : int32 = let v2 : int32 = v0.Length let v3 : bool = v1 >= v2 if v3 then @@ -28861,10 +28864,10 @@ and method77 (v0 : string, v1 : int32) : int32 = let v5 : bool = v4 = ' ' if v5 then let v6 : int32 = v1 + 1 - method77(v0, v6) + method78(v0, v6) else v1 -and method78 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = +and method79 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = let v5 : bool = "" = v1 let v42 : US14 = if v5 then @@ -28884,7 +28887,7 @@ and method78 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v20 : int32 = v17.Length let v21 : (char []) = Array.zeroCreate (v20) let v22 : Mut6 = {l0 = 0} : Mut6 - while method47(v20, v22) do + while method48(v20, v22) do let v24 : int32 = v22.l0 let v25 : char = v17.[int v24] v21.[int v24] <- v25 @@ -28893,12 +28896,12 @@ and method78 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int () let v27 : char list = v21 |> Array.toList let v28 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v29 : (char -> (UH0 -> UH0)) = method69() + let v29 : (char -> (UH0 -> UH0)) = method70() let v30 : (char list -> (UH0 -> UH0)) = v28 v29 let v31 : (UH0 -> UH0) = v30 v27 let v32 : UH0 = UH0_0 let v33 : UH0 = v31 v32 - let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method70(v33, v2, v3, v4) + let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method71(v33, v2, v3, v4) US14_0(v8, v15, v38, v39, v40) match v42 with | US14_1(v54) -> (* Error *) @@ -28907,8 +28910,8 @@ and method78 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v48 : (char -> string) = _.ToString() let v49 : string = v48 v43 let v52 : string = v0 + v49 - method78(v52, v44, v45, v46, v47) -and method68 (v0 : string) : US13 = + method79(v52, v44, v45, v46, v47) +and method69 (v0 : string) : US13 = let mutable _v0 = None #if !FABLE_COMPILER && !WASM && !CONTRACT let v1 : (string -> string option) = Option.ofObj @@ -28928,7 +28931,7 @@ and method68 (v0 : string) : US13 = let v14 : UH1 = UH1_0 let v15 : UH1 = UH1_1(v13, v14) let v16 : UH1 = UH1_1(v12, v15) - let v17 : US14 = method71(v7, v11, v16) + let v17 : US14 = method72(v7, v11, v16) let v153 : US15 = match v17 with | US14_1(v150) -> (* Error *) @@ -28954,7 +28957,7 @@ and method68 (v0 : string) : US13 = let v43 : int32 = v42 v39 let v44 : string = v19.[int v41..int v43] let v45 : int64 = 0L - let v46 : bool = method72(v37, v45) + let v46 : bool = method73(v37, v45) let v47 : bool = v46 = false if v47 then let v48 : (char -> string) = _.ToString() @@ -28962,7 +28965,7 @@ and method68 (v0 : string) : US13 = let v52 : int32 = v49.Length let v53 : (char []) = Array.zeroCreate (v52) let v54 : Mut6 = {l0 = 0} : Mut6 - while method47(v52, v54) do + while method48(v52, v54) do let v56 : int32 = v54.l0 let v57 : char = v49.[int v56] v53.[int v56] <- v57 @@ -28971,12 +28974,12 @@ and method68 (v0 : string) : US13 = () let v59 : char list = v53 |> Array.toList let v60 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v61 : (char -> (UH0 -> UH0)) = method69() + let v61 : (char -> (UH0 -> UH0)) = method70() let v62 : (char list -> (UH0 -> UH0)) = v60 v61 let v63 : (UH0 -> UH0) = v62 v59 let v64 : UH0 = UH0_0 let v65 : UH0 = v63 v64 - let struct (v70 : System.Text.StringBuilder, v71 : int32, v72 : int32) = method70(v65, v20, v21, v22) + let struct (v70 : System.Text.StringBuilder, v71 : int32, v72 : int32) = method71(v65, v20, v21, v22) US14_0(v37, v44, v70, v71, v72) else let v74 : char list = [] @@ -29005,7 +29008,7 @@ and method68 (v0 : string) : US13 = | US14_0(v103, v104, v105, v106, v107) -> (* Ok *) let v108 : (char -> string) = _.ToString() let v109 : string = v108 v103 - method73(v109, v104, v105, v106, v107) + method74(v109, v104, v105, v106, v107) let v124 : US15 = match v114 with | US15_1(v121) -> (* Error *) @@ -29020,7 +29023,7 @@ and method68 (v0 : string) : US13 = let v130 : UH1 = UH1_0 let v131 : UH1 = UH1_1(v13, v130) let v132 : UH1 = UH1_1(v12, v131) - let v133 : US14 = method74(v126, v127, v128, v129, v132) + let v133 : US14 = method75(v126, v127, v128, v129, v132) match v133 with | US14_1(v140) -> (* Error *) let v141 : string = $"between / expected closing delimiter / e: %A{v140} / input: %A{struct (v7, v11, 1, 1)} / rest1: %A{struct (v19, v20, v21, v22)} / rest2: %A{struct (v126, v127, v128, v129)}" @@ -29051,7 +29054,7 @@ and method68 (v0 : string) : US13 = let v183 : int32 = v182 v179 let v184 : string = v7.[int v181..int v183] let v185 : int64 = 0L - let v186 : bool = method75(v177, v185) + let v186 : bool = method76(v177, v185) let v187 : bool = v186 = false if v187 then let v188 : (char -> string) = _.ToString() @@ -29059,7 +29062,7 @@ and method68 (v0 : string) : US13 = let v192 : int32 = v189.Length let v193 : (char []) = Array.zeroCreate (v192) let v194 : Mut6 = {l0 = 0} : Mut6 - while method47(v192, v194) do + while method48(v192, v194) do let v196 : int32 = v194.l0 let v197 : char = v189.[int v196] v193.[int v196] <- v197 @@ -29068,14 +29071,14 @@ and method68 (v0 : string) : US13 = () let v199 : char list = v193 |> Array.toList let v200 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v201 : (char -> (UH0 -> UH0)) = method69() + let v201 : (char -> (UH0 -> UH0)) = method70() let v202 : (char list -> (UH0 -> UH0)) = v200 v201 let v203 : (UH0 -> UH0) = v202 v199 let v204 : UH0 = UH0_0 let v205 : UH0 = v203 v204 let v210 : int32 = 1 let v211 : int32 = 1 - let struct (v212 : System.Text.StringBuilder, v213 : int32, v214 : int32) = method70(v205, v11, v210, v211) + let struct (v212 : System.Text.StringBuilder, v213 : int32, v214 : int32) = method71(v205, v11, v210, v211) US14_0(v177, v184, v212, v213, v214) else let v216 : char list = [] @@ -29105,7 +29108,7 @@ and method68 (v0 : string) : US13 = | US14_0(v248, v249, v250, v251, v252) -> (* Ok *) let v253 : (char -> string) = _.ToString() let v254 : string = v253 v248 - method76(v254, v249, v250, v251, v252) + method77(v254, v249, v250, v251, v252) match v259 with | US15_1(v265) -> (* Error *) let v266 : int32 = v7.Length @@ -29127,7 +29130,7 @@ and method68 (v0 : string) : US13 = US15_1(v296) | US15_0(v281, v282, v283, v284, v285) -> (* Ok *) let v286 : int32 = 0 - let v287 : int32 = method77(v282, v286) + let v287 : int32 = method78(v282, v286) let v288 : (string -> int32) = String.length let v289 : int32 = v288 v282 let v290 : (int32 -> int32) = int32 @@ -29166,7 +29169,7 @@ and method68 (v0 : string) : US13 = let v325 : int32 = v322.Length let v326 : (char []) = Array.zeroCreate (v325) let v327 : Mut6 = {l0 = 0} : Mut6 - while method47(v325, v327) do + while method48(v325, v327) do let v329 : int32 = v327.l0 let v330 : char = v322.[int v329] v326.[int v329] <- v330 @@ -29175,12 +29178,12 @@ and method68 (v0 : string) : US13 = () let v332 : char list = v326 |> Array.toList let v333 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v334 : (char -> (UH0 -> UH0)) = method69() + let v334 : (char -> (UH0 -> UH0)) = method70() let v335 : (char list -> (UH0 -> UH0)) = v333 v334 let v336 : (UH0 -> UH0) = v335 v332 let v337 : UH0 = UH0_0 let v338 : UH0 = v336 v337 - let struct (v343 : System.Text.StringBuilder, v344 : int32, v345 : int32) = method70(v338, v306, v307, v308) + let struct (v343 : System.Text.StringBuilder, v344 : int32, v345 : int32) = method71(v338, v306, v307, v308) US14_0(v312, v320, v343, v344, v345) else let v347 : (string -> int32) = String.length @@ -29244,7 +29247,7 @@ and method68 (v0 : string) : US13 = let v405 : int32 = v402.Length let v406 : (char []) = Array.zeroCreate (v405) let v407 : Mut6 = {l0 = 0} : Mut6 - while method47(v405, v407) do + while method48(v405, v407) do let v409 : int32 = v407.l0 let v410 : char = v402.[int v409] v406.[int v409] <- v410 @@ -29253,12 +29256,12 @@ and method68 (v0 : string) : US13 = () let v412 : char list = v406 |> Array.toList let v413 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v414 : (char -> (UH0 -> UH0)) = method69() + let v414 : (char -> (UH0 -> UH0)) = method70() let v415 : (char list -> (UH0 -> UH0)) = v413 v414 let v416 : (UH0 -> UH0) = v415 v412 let v417 : UH0 = UH0_0 let v418 : UH0 = v416 v417 - let struct (v423 : System.Text.StringBuilder, v424 : int32, v425 : int32) = method70(v418, v387, v388, v389) + let struct (v423 : System.Text.StringBuilder, v424 : int32, v425 : int32) = method71(v418, v387, v388, v389) US14_0(v393, v400, v423, v424, v425) match v427 with | US14_1(v428) -> (* Error *) @@ -29266,7 +29269,7 @@ and method68 (v0 : string) : US13 = | US14_0(v430, v431, v432, v433, v434) -> (* Ok *) let v435 : (char -> string) = _.ToString() let v436 : string = v435 v430 - method78(v436, v431, v432, v433, v434) + method79(v436, v431, v432, v433, v434) let v457 : US20 = match v445 with | US15_1(v453) -> (* Error *) @@ -29285,7 +29288,7 @@ and method68 (v0 : string) : US13 = US13_1(v479) | US18_0(v472, v473, v474, v475, v476, v477) -> (* Ok *) US13_0(v472, v473) -and method81 (v0 : char, v1 : int64) : bool = +and method82 (v0 : char, v1 : int64) : bool = let v2 : bool = v1 >= 4L if v2 then false @@ -29323,8 +29326,8 @@ and method81 (v0 : char, v1 : int64) : bool = true else let v25 : int64 = v1 + 1L - method81(v0, v25) -and method82 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = + method82(v0, v25) +and method83 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US15 = let v5 : bool = "" = v1 let v82 : US14 = if v5 then @@ -29347,7 +29350,7 @@ and method82 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v31 : int32 = v30 v27 let v32 : string = v1.[int v29..int v31] let v33 : int64 = 0L - let v34 : bool = method81(v25, v33) + let v34 : bool = method82(v25, v33) let v35 : bool = v34 = false if v35 then let v36 : (char -> string) = _.ToString() @@ -29355,7 +29358,7 @@ and method82 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v40 : int32 = v37.Length let v41 : (char []) = Array.zeroCreate (v40) let v42 : Mut6 = {l0 = 0} : Mut6 - while method47(v40, v42) do + while method48(v40, v42) do let v44 : int32 = v42.l0 let v45 : char = v37.[int v44] v41.[int v44] <- v45 @@ -29364,12 +29367,12 @@ and method82 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int () let v47 : char list = v41 |> Array.toList let v48 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v49 : (char -> (UH0 -> UH0)) = method69() + let v49 : (char -> (UH0 -> UH0)) = method70() let v50 : (char list -> (UH0 -> UH0)) = v48 v49 let v51 : (UH0 -> UH0) = v50 v47 let v52 : UH0 = UH0_0 let v53 : UH0 = v51 v52 - let struct (v58 : System.Text.StringBuilder, v59 : int32, v60 : int32) = method70(v53, v2, v3, v4) + let struct (v58 : System.Text.StringBuilder, v59 : int32, v60 : int32) = method71(v53, v2, v3, v4) US14_0(v25, v32, v58, v59, v60) else let v62 : char list = [] @@ -29388,8 +29391,8 @@ and method82 (v0 : string, v1 : string, v2 : System.Text.StringBuilder, v3 : int let v88 : (char -> string) = _.ToString() let v89 : string = v88 v83 let v92 : string = v0 + v89 - method82(v92, v84, v85, v86, v87) -and method84 (v0 : char, v1 : int64) : bool = + method83(v92, v84, v85, v86, v87) +and method85 (v0 : char, v1 : int64) : bool = let v2 : bool = v1 >= 3L if v2 then false @@ -29422,7 +29425,7 @@ and method84 (v0 : char, v1 : int64) : bool = true else let v21 : int64 = v1 + 1L - method84(v0, v21) + method85(v0, v21) and closure35 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US15 = let v4 : bool = "" = v0 let v67 : US14 = @@ -29445,7 +29448,7 @@ and closure35 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 let v20 : int32 = v17.Length let v21 : (char []) = Array.zeroCreate (v20) let v22 : Mut6 = {l0 = 0} : Mut6 - while method47(v20, v22) do + while method48(v20, v22) do let v24 : int32 = v22.l0 let v25 : char = v17.[int v24] v21.[int v24] <- v25 @@ -29454,12 +29457,12 @@ and closure35 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 () let v27 : char list = v21 |> Array.toList let v28 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v29 : (char -> (UH0 -> UH0)) = method69() + let v29 : (char -> (UH0 -> UH0)) = method70() let v30 : (char list -> (UH0 -> UH0)) = v28 v29 let v31 : (UH0 -> UH0) = v30 v27 let v32 : UH0 = UH0_0 let v33 : UH0 = v31 v32 - let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method70(v33, v1, v2, v3) + let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method71(v33, v1, v2, v3) US14_0(v7, v15, v38, v39, v40) else let v42 : (string -> int32) = String.length @@ -29514,7 +29517,7 @@ and closure35 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 let v88 : int32 = v85.Length let v89 : (char []) = Array.zeroCreate (v88) let v90 : Mut6 = {l0 = 0} : Mut6 - while method47(v88, v90) do + while method48(v88, v90) do let v92 : int32 = v90.l0 let v93 : char = v85.[int v92] v89.[int v92] <- v93 @@ -29523,12 +29526,12 @@ and closure35 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 () let v95 : char list = v89 |> Array.toList let v96 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v97 : (char -> (UH0 -> UH0)) = method69() + let v97 : (char -> (UH0 -> UH0)) = method70() let v98 : (char list -> (UH0 -> UH0)) = v96 v97 let v99 : (UH0 -> UH0) = v98 v95 let v100 : UH0 = UH0_0 let v101 : UH0 = v99 v100 - let struct (v106 : System.Text.StringBuilder, v107 : int32, v108 : int32) = method70(v101, v70, v71, v72) + let struct (v106 : System.Text.StringBuilder, v107 : int32, v108 : int32) = method71(v101, v70, v71, v72) US14_0(v76, v83, v106, v107, v108) match v114 with | US14_1(v122) -> (* Error *) @@ -29558,7 +29561,7 @@ and closure36 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 let v20 : int32 = v17.Length let v21 : (char []) = Array.zeroCreate (v20) let v22 : Mut6 = {l0 = 0} : Mut6 - while method47(v20, v22) do + while method48(v20, v22) do let v24 : int32 = v22.l0 let v25 : char = v17.[int v24] v21.[int v24] <- v25 @@ -29567,12 +29570,12 @@ and closure36 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 () let v27 : char list = v21 |> Array.toList let v28 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v29 : (char -> (UH0 -> UH0)) = method69() + let v29 : (char -> (UH0 -> UH0)) = method70() let v30 : (char list -> (UH0 -> UH0)) = v28 v29 let v31 : (UH0 -> UH0) = v30 v27 let v32 : UH0 = UH0_0 let v33 : UH0 = v31 v32 - let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method70(v33, v1, v2, v3) + let struct (v38 : System.Text.StringBuilder, v39 : int32, v40 : int32) = method71(v33, v1, v2, v3) US14_0(v7, v15, v38, v39, v40) else let v42 : (string -> int32) = String.length @@ -29627,7 +29630,7 @@ and closure36 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 let v88 : int32 = v85.Length let v89 : (char []) = Array.zeroCreate (v88) let v90 : Mut6 = {l0 = 0} : Mut6 - while method47(v88, v90) do + while method48(v88, v90) do let v92 : int32 = v90.l0 let v93 : char = v85.[int v92] v89.[int v92] <- v93 @@ -29636,12 +29639,12 @@ and closure36 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 () let v95 : char list = v89 |> Array.toList let v96 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v97 : (char -> (UH0 -> UH0)) = method69() + let v97 : (char -> (UH0 -> UH0)) = method70() let v98 : (char list -> (UH0 -> UH0)) = v96 v97 let v99 : (UH0 -> UH0) = v98 v95 let v100 : UH0 = UH0_0 let v101 : UH0 = v99 v100 - let struct (v106 : System.Text.StringBuilder, v107 : int32, v108 : int32) = method70(v101, v70, v71, v72) + let struct (v106 : System.Text.StringBuilder, v107 : int32, v108 : int32) = method71(v101, v70, v71, v72) US14_0(v76, v83, v106, v107, v108) match v114 with | US14_1(v122) -> (* Error *) @@ -29649,26 +29652,26 @@ and closure36 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 | US14_0(v115, v116, v117, v118, v119) -> (* Ok *) let v120 : string = $"{'`'}{v115}" US15_0(v120, v116, v117, v118, v119) -and method85 (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32, v4 : UH3) : US15 = +and method86 (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32, v4 : UH3) : US15 = match v4 with | UH3_1(v7, v8) -> (* Cons *) let v9 : US15 = v7 struct (v0, v1, v2, v3) match v9 with | US15_1(v15) -> (* Error *) - method85(v0, v1, v2, v3, v8) + method86(v0, v1, v2, v3, v8) | US15_0(v10, v11, v12, v13, v14) -> (* Ok *) v9 | UH3_0 -> (* Nil *) let v5 : string = "choice / no parsers succeeded" US15_1(v5) -and method86 (v0 : UH2, v1 : UH2) : UH2 = +and method87 (v0 : UH2, v1 : UH2) : UH2 = match v0 with | UH2_1(v2, v3) -> (* Cons *) let v4 : UH2 = UH2_1(v2, v1) - method86(v3, v4) + method87(v3, v4) | UH2_0 -> (* Nil *) v1 -and method83 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US22 = +and method84 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US22 = let v5 : bool = "" = v1 let v76 : US14 = if v5 then @@ -29690,7 +29693,7 @@ and method83 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v28 : int32 = v27 v24 let v29 : string = v1.[int v26..int v28] let v30 : int64 = 0L - let v31 : bool = method84(v22, v30) + let v31 : bool = method85(v22, v30) let v32 : bool = v31 = false if v32 then let v33 : (char -> string) = _.ToString() @@ -29698,7 +29701,7 @@ and method83 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v37 : int32 = v34.Length let v38 : (char []) = Array.zeroCreate (v37) let v39 : Mut6 = {l0 = 0} : Mut6 - while method47(v37, v39) do + while method48(v37, v39) do let v41 : int32 = v39.l0 let v42 : char = v34.[int v41] v38.[int v41] <- v42 @@ -29707,12 +29710,12 @@ and method83 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, () let v44 : char list = v38 |> Array.toList let v45 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v46 : (char -> (UH0 -> UH0)) = method69() + let v46 : (char -> (UH0 -> UH0)) = method70() let v47 : (char list -> (UH0 -> UH0)) = v45 v46 let v48 : (UH0 -> UH0) = v47 v44 let v49 : UH0 = UH0_0 let v50 : UH0 = v48 v49 - let struct (v55 : System.Text.StringBuilder, v56 : int32, v57 : int32) = method70(v50, v2, v3, v4) + let struct (v55 : System.Text.StringBuilder, v56 : int32, v57 : int32) = method71(v50, v2, v3, v4) US14_0(v22, v29, v55, v56, v57) else let v59 : char list = [] @@ -29739,26 +29742,26 @@ and method83 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v99 : UH3 = UH3_0 let v100 : UH3 = UH3_1(v98, v99) let v101 : UH3 = UH3_1(v97, v100) - method85(v1, v2, v3, v4, v101) + method86(v1, v2, v3, v4, v101) | US15_0(v91, v92, v93, v94, v95) -> (* Ok *) v90 match v104 with | US15_1(v112) -> (* Error *) let v113 : UH2 = UH2_0 - let v114 : UH2 = method86(v0, v113) + let v114 : UH2 = method87(v0, v113) US22_0(v114, v1, v2, v3, v4) | US15_0(v105, v106, v107, v108, v109) -> (* Ok *) let v110 : UH2 = UH2_1(v105, v0) - method83(v110, v106, v107, v108, v109) -and method87 (v0 : UH2, v1 : string list) : string list = + method84(v110, v106, v107, v108, v109) +and method88 (v0 : UH2, v1 : string list) : string list = match v0 with | UH2_1(v2, v3) -> (* Cons *) - let v4 : string list = method87(v3, v1) + let v4 : string list = method88(v3, v1) let v5 : string list = v2 :: v4 v5 | UH2_0 -> (* Nil *) v1 -and method88 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US22 = +and method89 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US22 = let v5 : bool = "" = v1 let v76 : US14 = if v5 then @@ -29780,7 +29783,7 @@ and method88 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v28 : int32 = v27 v24 let v29 : string = v1.[int v26..int v28] let v30 : int64 = 0L - let v31 : bool = method84(v22, v30) + let v31 : bool = method85(v22, v30) let v32 : bool = v31 = false if v32 then let v33 : (char -> string) = _.ToString() @@ -29788,7 +29791,7 @@ and method88 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v37 : int32 = v34.Length let v38 : (char []) = Array.zeroCreate (v37) let v39 : Mut6 = {l0 = 0} : Mut6 - while method47(v37, v39) do + while method48(v37, v39) do let v41 : int32 = v39.l0 let v42 : char = v34.[int v41] v38.[int v41] <- v42 @@ -29797,12 +29800,12 @@ and method88 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, () let v44 : char list = v38 |> Array.toList let v45 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v46 : (char -> (UH0 -> UH0)) = method69() + let v46 : (char -> (UH0 -> UH0)) = method70() let v47 : (char list -> (UH0 -> UH0)) = v45 v46 let v48 : (UH0 -> UH0) = v47 v44 let v49 : UH0 = UH0_0 let v50 : UH0 = v48 v49 - let struct (v55 : System.Text.StringBuilder, v56 : int32, v57 : int32) = method70(v50, v2, v3, v4) + let struct (v55 : System.Text.StringBuilder, v56 : int32, v57 : int32) = method71(v50, v2, v3, v4) US14_0(v22, v29, v55, v56, v57) else let v59 : char list = [] @@ -29824,12 +29827,12 @@ and method88 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, match v90 with | US15_1(v98) -> (* Error *) let v99 : UH2 = UH2_0 - let v100 : UH2 = method86(v0, v99) + let v100 : UH2 = method87(v0, v99) US22_0(v100, v1, v2, v3, v4) | US15_0(v91, v92, v93, v94, v95) -> (* Ok *) let v96 : UH2 = UH2_1(v91, v0) - method88(v96, v92, v93, v94, v95) -and method89 (v0 : string, v1 : int32) : int32 = + method89(v96, v92, v93, v94, v95) +and method90 (v0 : string, v1 : int32) : int32 = let v2 : int32 = v0.Length let v3 : bool = v1 >= v2 if v3 then @@ -29839,10 +29842,10 @@ and method89 (v0 : string, v1 : int32) : int32 = let v5 : bool = v4 = ' ' if v5 then let v6 : int32 = v1 + 1 - method89(v0, v6) + method90(v0, v6) else v1 -and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US22 = +and method81 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, v4 : int32) : US22 = let v5 : bool = "" = v1 let v82 : US14 = if v5 then @@ -29865,7 +29868,7 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v31 : int32 = v30 v27 let v32 : string = v1.[int v29..int v31] let v33 : int64 = 0L - let v34 : bool = method81(v25, v33) + let v34 : bool = method82(v25, v33) let v35 : bool = v34 = false if v35 then let v36 : (char -> string) = _.ToString() @@ -29873,7 +29876,7 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v40 : int32 = v37.Length let v41 : (char []) = Array.zeroCreate (v40) let v42 : Mut6 = {l0 = 0} : Mut6 - while method47(v40, v42) do + while method48(v40, v42) do let v44 : int32 = v42.l0 let v45 : char = v37.[int v44] v41.[int v44] <- v45 @@ -29882,12 +29885,12 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, () let v47 : char list = v41 |> Array.toList let v48 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v49 : (char -> (UH0 -> UH0)) = method69() + let v49 : (char -> (UH0 -> UH0)) = method70() let v50 : (char list -> (UH0 -> UH0)) = v48 v49 let v51 : (UH0 -> UH0) = v50 v47 let v52 : UH0 = UH0_0 let v53 : UH0 = v51 v52 - let struct (v58 : System.Text.StringBuilder, v59 : int32, v60 : int32) = method70(v53, v2, v3, v4) + let struct (v58 : System.Text.StringBuilder, v59 : int32, v60 : int32) = method71(v53, v2, v3, v4) US14_0(v25, v32, v58, v59, v60) else let v62 : char list = [] @@ -29906,7 +29909,7 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, | US14_0(v85, v86, v87, v88, v89) -> (* Ok *) let v90 : (char -> string) = _.ToString() let v91 : string = v90 v85 - method82(v91, v86, v87, v88, v89) + method83(v91, v86, v87, v88, v89) let v341 : US15 = match v96 with | US15_1(v102) -> (* Error *) @@ -29930,7 +29933,7 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v118 : int32 = v115.Length let v119 : (char []) = Array.zeroCreate (v118) let v120 : Mut6 = {l0 = 0} : Mut6 - while method47(v118, v120) do + while method48(v118, v120) do let v122 : int32 = v120.l0 let v123 : char = v115.[int v122] v119.[int v122] <- v123 @@ -29939,12 +29942,12 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, () let v125 : char list = v119 |> Array.toList let v126 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v127 : (char -> (UH0 -> UH0)) = method69() + let v127 : (char -> (UH0 -> UH0)) = method70() let v128 : (char list -> (UH0 -> UH0)) = v126 v127 let v129 : (UH0 -> UH0) = v128 v125 let v130 : UH0 = UH0_0 let v131 : UH0 = v129 v130 - let struct (v136 : System.Text.StringBuilder, v137 : int32, v138 : int32) = method70(v131, v2, v3, v4) + let struct (v136 : System.Text.StringBuilder, v137 : int32, v138 : int32) = method71(v131, v2, v3, v4) US14_0(v105, v113, v136, v137, v138) else let v140 : (string -> int32) = String.length @@ -29982,14 +29985,14 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, US15_1(v279) | US14_0(v166, v167, v168, v169, v170) -> (* Ok *) let v171 : UH2 = UH2_0 - let v172 : US22 = method83(v171, v167, v168, v169, v170) + let v172 : US22 = method84(v171, v167, v168, v169, v170) let v193 : US15 = match v172 with | US22_1(v190) -> (* Error *) US15_1(v190) | US22_0(v173, v174, v175, v176, v177) -> (* Ok *) let v178 : string list = [] - let v179 : string list = method87(v173, v178) + let v179 : string list = method88(v173, v178) let v180 : string seq = seq { for i = 0 to v179.Length - 1 do yield v179.[i] } let v183 : (string -> (string seq -> string)) = String.concat let v184 : string = "" @@ -30022,7 +30025,7 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v215 : int32 = v212.Length let v216 : (char []) = Array.zeroCreate (v215) let v217 : Mut6 = {l0 = 0} : Mut6 - while method47(v215, v217) do + while method48(v215, v217) do let v219 : int32 = v217.l0 let v220 : char = v212.[int v219] v216.[int v219] <- v220 @@ -30031,12 +30034,12 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, () let v222 : char list = v216 |> Array.toList let v223 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = List.foldBack - let v224 : (char -> (UH0 -> UH0)) = method69() + let v224 : (char -> (UH0 -> UH0)) = method70() let v225 : (char list -> (UH0 -> UH0)) = v223 v224 let v226 : (UH0 -> UH0) = v225 v222 let v227 : UH0 = UH0_0 let v228 : UH0 = v226 v227 - let struct (v233 : System.Text.StringBuilder, v234 : int32, v235 : int32) = method70(v228, v196, v197, v198) + let struct (v233 : System.Text.StringBuilder, v234 : int32, v235 : int32) = method71(v228, v196, v197, v198) US14_0(v202, v210, v233, v234, v235) else let v237 : (string -> int32) = String.length @@ -30081,7 +30084,7 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v291 : UH3 = UH3_0 let v292 : UH3 = UH3_1(v290, v291) let v293 : UH3 = UH3_1(v289, v292) - let v294 : US15 = method85(v1, v2, v3, v4, v293) + let v294 : US15 = method86(v1, v2, v3, v4, v293) let v305 : US15 = match v294 with | US15_1(v302) -> (* Error *) @@ -30095,13 +30098,13 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, US22_1(v313) | US15_0(v306, v307, v308, v309, v310) -> (* Ok *) let v311 : UH2 = UH2_0 - method88(v311, v307, v308, v309, v310) + method89(v311, v307, v308, v309, v310) match v316 with | US22_1(v334) -> (* Error *) US15_1(v334) | US22_0(v317, v318, v319, v320, v321) -> (* Ok *) let v322 : string list = [] - let v323 : string list = method87(v317, v322) + let v323 : string list = method88(v317, v322) let v324 : string seq = seq { for i = 0 to v323.Length - 1 do yield v323.[i] } let v327 : (string -> (string seq -> string)) = String.concat let v328 : string = "" @@ -30115,11 +30118,11 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, match v341 with | US15_1(v342) -> (* Error *) let v343 : UH2 = UH2_0 - let v344 : UH2 = method86(v0, v343) + let v344 : UH2 = method87(v0, v343) US22_0(v344, v1, v2, v3, v4) | US15_0(v346, v347, v348, v349, v350) -> (* Ok *) let v351 : int32 = 0 - let v352 : int32 = method89(v347, v351) + let v352 : int32 = method90(v347, v351) let v353 : bool = 0 = v352 let v364 : US17 = if v353 then @@ -30138,12 +30141,12 @@ and method80 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, | US17_1(v365) -> (* Error *) let v366 : UH2 = UH2_0 let v367 : UH2 = UH2_1(v346, v366) - let v368 : UH2 = method86(v0, v367) + let v368 : UH2 = method87(v0, v367) US22_0(v368, v347, v348, v349, v350) | US17_0(v370, v371, v372, v373) -> (* Ok *) let v374 : UH2 = UH2_1(v346, v0) - method80(v374, v370, v371, v372, v373) -and method79 (v0 : string) : US21 = + method81(v374, v370, v371, v372, v373) +and method80 (v0 : string) : US21 = let mutable _v0 = None #if !FABLE_COMPILER && !WASM && !CONTRACT let v1 : (string -> string option) = Option.ofObj @@ -30161,17 +30164,17 @@ and method79 (v0 : string) : US21 = let v12 : UH2 = UH2_0 let v13 : int32 = 1 let v14 : int32 = 1 - let v15 : US22 = method80(v12, v7, v11, v13, v14) + let v15 : US22 = method81(v12, v7, v11, v13, v14) match v15 with | US22_1(v28) -> (* Error *) US21_1(v28) | US22_0(v16, v17, v18, v19, v20) -> (* Ok *) let v21 : string list = [] - let v22 : string list = method87(v16, v21) + let v22 : string list = method88(v16, v21) let v23 : (string list -> (string [])) = List.toArray let v24 : (string []) = v23 v22 US21_0(v24) -and method91 (v0 : string, v1 : string, v2 : string, v3 : System.Threading.CancellationToken option, v4 : (struct (string * string) []), v5 : (struct (int32 * string * bool) -> Async) option, v6 : (std_sync_Arc> -> unit) option, v7 : bool, v8 : string option) : string = +and method92 (v0 : string, v1 : string, v2 : string, v3 : System.Threading.CancellationToken option, v4 : (struct (string * string) []), v5 : (struct (int32 * string * bool) -> Async) option, v6 : (std_sync_Arc> -> unit) option, v7 : bool, v8 : string option) : string = let v9 : string = method14() let v10 : Mut3 = {l0 = v9} : Mut3 let v11 : string = "{ " @@ -30514,8 +30517,8 @@ and method91 (v0 : string, v1 : string, v2 : string, v3 : System.Threading.Cance let v464 : unit = (fun () -> v463 (); v462) () let v467 : string = v10.l0 v467 -and method90 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : string, v11 : System.Threading.CancellationToken option, v12 : (struct (string * string) []), v13 : (struct (int32 * string * bool) -> Async) option, v14 : (std_sync_Arc> -> unit) option, v15 : bool, v16 : string option) : string = - let v17 : string = method91(v8, v9, v10, v11, v12, v13, v14, v15, v16) +and method91 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : string, v11 : System.Threading.CancellationToken option, v12 : (struct (string * string) []), v13 : (struct (int32 * string * bool) -> Async) option, v14 : (std_sync_Arc> -> unit) option, v15 : bool, v16 : string option) : string = + let v17 : string = method92(v8, v9, v10, v11, v12, v13, v14, v15, v16) let v18 : int64 = v0.l0 let v19 : string = "runtime.execute_with_options" let v20 : string = $"{v6} {v7} #{v18} %s{v19} / {v17}" @@ -30529,24 +30532,24 @@ and closure37 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v13 : unit = (fun () -> v12 (); v11) () let struct (v27 : Mut0, v28 : Mut1, v29 : Mut2, v30 : Mut3, v31 : Mut4, v32 : int64 option) = TraceState.trace_state.Value let v45 : string = method8(v27, v28, v29, v30, v31, v32) - let v46 : string = method49() + let v46 : string = method50() let v47 : string = $"%A{v8}" - let v50 : string = method90(v27, v28, v29, v30, v31, v32, v45, v46, v7, v47, v0, v1, v2, v3, v4, v5, v6) + let v50 : string = method91(v27, v28, v29, v30, v31, v32, v45, v46, v7, v47, v0, v1, v2, v3, v4, v5, v6) method19(v50) and closure38 () (v0 : std_process_Child option) : std_process_Child option = v0 -and method92 () : (std_process_Child option -> std_process_Child option) = +and method93 () : (std_process_Child option -> std_process_Child option) = closure38() and closure39 () (v0 : std_sync_Arc>) : US23 = US23_0(v0) -and method93 () : (std_sync_Arc> -> US23) = +and method94 () : (std_sync_Arc> -> US23) = closure39() and closure40 () (v0 : std_string_String) : US23 = US23_1(v0) -and method94 () : (std_string_String -> US23) = +and method95 () : (std_string_String -> US23) = closure40() -and method95 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : std_string_String) : string = - let v9 : string = method61(v8) +and method96 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : std_string_String) : string = + let v9 : string = method62(v8) let v10 : int64 = v0.l0 let v11 : string = "runtime.execute_with_options / child error" let v12 : string = $"{v6} {v7} #{v10} %s{v11} / {v9}" @@ -30560,34 +30563,34 @@ and closure41 (v0 : std_string_String) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method59() - let v39 : string = method95(v19, v20, v21, v22, v23, v24, v37, v38, v0) + let v38 : string = method60() + let v39 : string = method96(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v39) -and method96 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = +and method97 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = v0 and closure42 () (v0 : std_process_ChildStdin option) : std_process_ChildStdin option = v0 -and method97 () : (std_process_ChildStdin option -> std_process_ChildStdin option) = +and method98 () : (std_process_ChildStdin option -> std_process_ChildStdin option) = closure42() and closure43 () (v0 : std_sync_mpsc_Sender) : std_sync_mpsc_Sender = v0 -and method98 () : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = - closure43() and method99 () : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = closure43() +and method100 () : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = + closure43() and closure44 () (v0 : std_sync_Arc>) : std_sync_Arc> = v0 -and method100 () : (std_sync_Arc> -> std_sync_Arc>) = +and method101 () : (std_sync_Arc> -> std_sync_Arc>) = closure44() and closure45 () (v0 : std_string_String) : US25 = US25_0(v0) -and method101 () : (std_string_String -> US25) = +and method102 () : (std_string_String -> US25) = closure45() and closure46 () (v0 : std_string_String) : US25 = US25_1(v0) -and method102 () : (std_string_String -> US25) = +and method103 () : (std_string_String -> US25) = closure46() -and method104 (v0 : std_string_String) : string = +and method105 (v0 : std_string_String) : string = let v1 : string = method14() let v2 : Mut3 = {l0 = v1} : Mut3 let v3 : string = "{ " @@ -30654,8 +30657,8 @@ and method104 (v0 : std_string_String) : string = let v71 : unit = (fun () -> v70 (); v69) () let v74 : string = v2.l0 v74 -and method103 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : std_string_String) : string = - let v10 : string = method104(v9) +and method104 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : std_string_String) : string = + let v10 : string = method105(v9) let v11 : int64 = v0.l0 let v12 : string = $"{v6} {v7} #{v11} %s{v8} / {v10}" method18(v12) @@ -30668,7 +30671,7 @@ and closure47 (v0 : std_string_String) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method59() + let v38 : string = method60() let v39 : string = $"runtime.stdio_line" let v40 : bool = v39 = "" let v43 : string = @@ -30676,9 +30679,9 @@ and closure47 (v0 : std_string_String) () : unit = let v41 : string = "" v41 else - method103(v19, v20, v21, v22, v23, v24, v37, v38, v39, v0) + method104(v19, v20, v21, v22, v23, v24, v37, v38, v39, v0) method19(v43) -and method105 () : string = +and method106 () : string = @@ -30845,13 +30848,13 @@ and method105 () : string = #endif let v107 : string = _v7 v107 -and method107 () : string = +and method108 () : string = let v0 : string = method14() let v1 : Mut3 = {l0 = v0} : Mut3 let v2 : string = v1.l0 v2 -and method106 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string) : string = - let v9 : string = method107() +and method107 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string) : string = + let v9 : string = method108() let v10 : int64 = v0.l0 let v11 : string = $"{v6} {v7} #{v10} %s{v8} / {v9}" method18(v11) @@ -30864,14 +30867,14 @@ and closure48 (v0 : string) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method105() + let v38 : string = method106() let v39 : bool = v0 = "" let v42 : string = if v39 then let v40 : string = "" v40 else - method106(v19, v20, v21, v22, v23, v24, v37, v38, v0) + method107(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v42) and closure49 () (v0 : std_sync_mpsc_SendError) : std_string_String = let v1 : unit = () @@ -30907,30 +30910,30 @@ and closure49 () (v0 : std_sync_mpsc_SendError) : std_string_ #endif let v17 : std_string_String = _v1 v17 -and method108 () : (std_sync_mpsc_SendError -> std_string_String) = +and method109 () : (std_sync_mpsc_SendError -> std_string_String) = closure49() -and method109 (v0 : Result) : Result = +and method110 (v0 : Result) : Result = v0 and closure50 () (v0 : (std_sync_Arc> -> unit)) : US26 = US26_0(v0) -and method110 () : ((std_sync_Arc> -> unit) -> US26) = +and method111 () : ((std_sync_Arc> -> unit) -> US26) = closure50() -and method111 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = +and method112 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = v0 and closure51 () (v0 : std_sync_Arc>) : US27 = US27_0(v0) -and method112 () : (std_sync_Arc> -> US27) = +and method113 () : (std_sync_Arc> -> US27) = closure51() -and method113 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = +and method114 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = v0 -and method114 (v0 : std_thread_JoinHandle>) : std_thread_JoinHandle> = +and method115 (v0 : std_thread_JoinHandle>) : std_thread_JoinHandle> = v0 and closure52 () (v0 : std_process_Output) : US28 = US28_0(v0) and closure53 () (v0 : std_string_String) : US28 = US28_1(v0) -and method115 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : std_string_String) : string = - let v9 : string = method61(v8) +and method116 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : std_string_String) : string = + let v9 : string = method62(v8) let v10 : int64 = v0.l0 let v11 : string = "runtime.execute_with_options / output error" let v12 : string = $"{v6} {v7} #{v10} %s{v11} / {v9}" @@ -30944,14 +30947,14 @@ and closure54 (v0 : std_string_String) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method59() - let v39 : string = method115(v19, v20, v21, v22, v23, v24, v37, v38, v0) + let v38 : string = method60() + let v39 : string = method116(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v39) and closure55 () (v0 : int32) : US29 = US29_0(v0) -and method116 () : (int32 -> US29) = +and method117 () : (int32 -> US29) = closure55() -and method118 (v0 : int32, v1 : int32) : string = +and method119 (v0 : int32, v1 : int32) : string = let v2 : string = method14() let v3 : Mut3 = {l0 = v2} : Mut3 let v4 : string = "{ " @@ -30998,8 +31001,8 @@ and method118 (v0 : int32, v1 : int32) : string = let v79 : unit = (fun () -> v78 (); v77) () let v82 : string = v3.l0 v82 -and method117 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : int32) : string = - let v10 : string = method118(v8, v9) +and method118 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : int32) : string = + let v10 : string = method119(v8, v9) let v11 : int64 = v0.l0 let v12 : string = "runtime.execute_with_options / result" let v13 : string = $"{v6} {v7} #{v11} %s{v12} / {v10}" @@ -31013,11 +31016,11 @@ and closure56 (v0 : int32, v1 : string) () : unit = let v6 : unit = (fun () -> v5 (); v4) () let struct (v20 : Mut0, v21 : Mut1, v22 : Mut2, v23 : Mut3, v24 : Mut4, v25 : int64 option) = TraceState.trace_state.Value let v38 : string = method8(v20, v21, v22, v23, v24, v25) - let v39 : string = method105() + let v39 : string = method106() let v40 : int32 = v1.Length - let v41 : string = method117(v20, v21, v22, v23, v24, v25, v38, v39, v0, v40) + let v41 : string = method118(v20, v21, v22, v23, v24, v25, v38, v39, v0, v40) method19(v41) -and method121 (v0 : string, v1 : US1, v2 : string, v3 : System.Threading.CancellationToken option, v4 : (struct (string * string) []), v5 : (struct (int32 * string * bool) -> Async) option, v6 : (std_sync_Arc> -> unit) option, v7 : bool, v8 : string option) : string = +and method122 (v0 : string, v1 : US1, v2 : string, v3 : System.Threading.CancellationToken option, v4 : (struct (string * string) []), v5 : (struct (int32 * string * bool) -> Async) option, v6 : (std_sync_Arc> -> unit) option, v7 : bool, v8 : string option) : string = let v9 : string = method14() let v10 : Mut3 = {l0 = v9} : Mut3 let v11 : string = "{ " @@ -31361,8 +31364,8 @@ and method121 (v0 : string, v1 : US1, v2 : string, v3 : System.Threading.Cancell let v467 : unit = (fun () -> v466 (); v465) () let v470 : string = v10.l0 v470 -and method120 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : US1, v10 : string, v11 : System.Threading.CancellationToken option, v12 : (struct (string * string) []), v13 : (struct (int32 * string * bool) -> Async) option, v14 : (std_sync_Arc> -> unit) option, v15 : bool, v16 : string option) : string = - let v17 : string = method121(v8, v9, v10, v11, v12, v13, v14, v15, v16) +and method121 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : US1, v10 : string, v11 : System.Threading.CancellationToken option, v12 : (struct (string * string) []), v13 : (struct (int32 * string * bool) -> Async) option, v14 : (std_sync_Arc> -> unit) option, v15 : bool, v16 : string option) : string = + let v17 : string = method122(v8, v9, v10, v11, v12, v13, v14, v15, v16) let v18 : int64 = v0.l0 let v19 : string = "runtime.execute_with_options_async" let v20 : string = $"{v6} {v7} #{v18} %s{v19} / {v17}" @@ -31376,12 +31379,12 @@ and closure57 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v13 : unit = (fun () -> v12 (); v11) () let struct (v27 : Mut0, v28 : Mut1, v29 : Mut2, v30 : Mut3, v31 : Mut4, v32 : int64 option) = TraceState.trace_state.Value let v45 : string = method8(v27, v28, v29, v30, v31, v32) - let v46 : string = method49() - let v47 : string = method120(v27, v28, v29, v30, v31, v32, v45, v46, v8, v7, v0, v1, v2, v3, v4, v5, v6) + let v46 : string = method50() + let v47 : string = method121(v27, v28, v29, v30, v31, v32, v45, v46, v8, v7, v0, v1, v2, v3, v4, v5, v6) method19(v47) and closure59 () (v0 : (struct (int32 * string * bool) -> Async)) : US30 = US30_0(v0) -and method122 () : ((struct (int32 * string * bool) -> Async) -> US30) = +and method123 () : ((struct (int32 * string * bool) -> Async) -> US30) = closure59() and closure60 (v0 : string) () : unit = let v1 : US0 = US0_0 @@ -31392,14 +31395,14 @@ and closure60 (v0 : string) () : unit = let v5 : unit = (fun () -> v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method105() + let v38 : string = method106() let v39 : bool = v0 = "" let v42 : string = if v39 then let v40 : string = "" v40 else - method106(v19, v20, v21, v22, v23, v24, v37, v38, v0) + method107(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v42) and closure58 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : System.Diagnostics.Process, v8 : System.Collections.Concurrent.ConcurrentStack) (v9 : System.Diagnostics.DataReceivedEventArgs) : unit = let v10 : unit = () @@ -31435,7 +31438,7 @@ and closure58 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v31 : bool = v27 = v28 let v32 : bool = v31 <> true if v32 then - let v33 : ((struct (int32 * string * bool) -> Async) -> US30) = method122() + let v33 : ((struct (int32 * string * bool) -> Async) -> US30) = method123() let v34 : US30 option = v3 |> Option.map v33 let v45 : US30 = US30_1 let v46 : US30 = v34 |> Option.defaultValue v45 @@ -31534,7 +31537,7 @@ and closure61 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v31 : bool = v27 = v28 let v32 : bool = v31 <> true if v32 then - let v33 : ((struct (int32 * string * bool) -> Async) -> US30) = method122() + let v33 : ((struct (int32 * string * bool) -> Async) -> US30) = method123() let v34 : US30 option = v3 |> Option.map v33 let v45 : US30 = US30_1 let v46 : US30 = v34 |> Option.defaultValue v45 @@ -31602,7 +31605,7 @@ and closure61 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : () and closure62 () (v0 : System.Threading.CancellationToken) : US31 = US31_0(v0) -and method123 () : (System.Threading.CancellationToken -> US31) = +and method124 () : (System.Threading.CancellationToken -> US31) = closure62() and closure63 (v0 : System.Diagnostics.Process) () : unit = let v1 : unit = () @@ -31662,7 +31665,7 @@ and closure63 (v0 : System.Diagnostics.Process) () : unit = #endif _v24 () -and method125 (v0 : System.Threading.Tasks.TaskCanceledException) : string = +and method126 (v0 : System.Threading.Tasks.TaskCanceledException) : string = let v1 : string = method14() let v2 : Mut3 = {l0 = v1} : Mut3 let v3 : string = "{ " @@ -31729,8 +31732,8 @@ and method125 (v0 : System.Threading.Tasks.TaskCanceledException) : string = let v71 : unit = (fun () -> v70 (); v69) () let v74 : string = v2.l0 v74 -and method124 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : System.Threading.Tasks.TaskCanceledException) : string = - let v9 : string = method125(v8) +and method125 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : System.Threading.Tasks.TaskCanceledException) : string = + let v9 : string = method126(v8) let v10 : int64 = v0.l0 let v11 : string = "runtime.execute_with_options_async / WaitForExitAsync" let v12 : string = $"{v6} {v7} #{v10} %s{v11} / {v9}" @@ -31745,9 +31748,9 @@ and closure64 (v0 : System.Threading.Tasks.TaskCanceledException) () : unit = let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) let v38 : string = method35() - let v39 : string = method124(v19, v20, v21, v22, v23, v24, v37, v38, v0) + let v39 : string = method125(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v39) -and method127 (v0 : int32, v1 : int32) : string = +and method128 (v0 : int32, v1 : int32) : string = let v2 : string = method14() let v3 : Mut3 = {l0 = v2} : Mut3 let v4 : string = "{ " @@ -31794,8 +31797,8 @@ and method127 (v0 : int32, v1 : int32) : string = let v79 : unit = (fun () -> v78 (); v77) () let v82 : string = v3.l0 v82 -and method126 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : int32) : string = - let v10 : string = method127(v8, v9) +and method127 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : int32) : string = + let v10 : string = method128(v8, v9) let v11 : int64 = v0.l0 let v12 : string = "runtime.execute_with_options_async" let v13 : string = $"{v6} {v7} #{v11} %s{v12} / {v10}" @@ -31809,11 +31812,11 @@ and closure65 (v0 : int32, v1 : string) () : unit = let v6 : unit = (fun () -> v5 (); v4) () let struct (v20 : Mut0, v21 : Mut1, v22 : Mut2, v23 : Mut3, v24 : Mut4, v25 : int64 option) = TraceState.trace_state.Value let v38 : string = method8(v20, v21, v22, v23, v24, v25) - let v39 : string = method49() + let v39 : string = method50() let v40 : int32 = v1.Length - let v41 : string = method126(v20, v21, v22, v23, v24, v25, v38, v39, v0, v40) + let v41 : string = method127(v20, v21, v22, v23, v24, v25, v38, v39, v0, v40) method19(v41) -and method119 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : Async = +and method120 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : Async = let v7 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -31867,7 +31870,7 @@ and method119 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v39 : Async option = None let mutable _v39 = v39 async { - let v40 : US13 = method68(v0) + let v40 : US13 = method69(v0) let struct (v49 : string, v50 : US1) = match v40 with | US13_1(v43) -> (* Error *) @@ -31910,7 +31913,7 @@ and method119 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v119 : System.Diagnostics.ProcessStartInfo = start_info let v120 : int32 = v2.Length let v121 : Mut6 = {l0 = 0} : Mut6 - while method47(v120, v121) do + while method48(v120, v121) do let v123 : int32 = v121.l0 let struct (v124 : string, v125 : string) = v2.[int v123] v119.EnvironmentVariables.[v124] <- v125 @@ -31936,7 +31939,7 @@ and method119 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : v137 () let v138 : (unit -> unit) = v128.BeginOutputReadLine v138 () - let v139 : (System.Threading.CancellationToken -> US31) = method123() + let v139 : (System.Threading.CancellationToken -> US31) = method124() let v140 : US31 option = v1 |> Option.map v139 let v151 : US31 = US31_1 let v152 : US31 = v140 |> Option.defaultValue v151 @@ -32156,14 +32159,14 @@ and method119 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : #endif let v393 : Async = _v7 v393 -and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : struct (int32 * string) = +and method67 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : struct (int32 * string) = let v7 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v8 : string = method67(v0, v1, v2, v3, v4, v5, v6) - let v9 : US13 = method68(v8) + let v8 : string = method68(v0, v1, v2, v3, v4, v5, v6) + let v9 : US13 = method69(v8) let struct (v18 : string, v19 : US1) = match v9 with | US13_1(v12) -> (* Error *) @@ -32178,7 +32181,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : v21 | US1_0(v20) -> (* Some *) v20 - let v24 : US21 = method79(v23) + let v24 : US21 = method80(v23) let v30 : (string []) = match v24 with | US21_1(v26) -> (* Error *) @@ -32321,7 +32324,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : v185 let v187 : string = "std::process::Command::spawn($0)" let v188 : Result = Fable.Core.RustInterop.emitRustExpr v186 v187 - let v189 : (std_io_Error -> std_string_String) = method53() + let v189 : (std_io_Error -> std_string_String) = method54() let v190 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -32354,7 +32357,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v190 = v199 #endif let v200 : Result = _v190 - let v203 : (std_process_Child option -> std_process_Child option) = method92() + let v203 : (std_process_Child option -> std_process_Child option) = method93() let v204 : string = "true; let _result_map_ = $0.map(|x| { //" let v205 : bool = Fable.Core.RustInterop.emitRustExpr v200 v204 let v206 : string = "x" @@ -32369,8 +32372,8 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v217 : bool = Fable.Core.RustInterop.emitRustExpr v215 v216 let v218 : string = "_result_map_" let v219 : Result>, std_string_String> = Fable.Core.RustInterop.emitRustExpr () v218 - let v220 : (std_sync_Arc> -> US23) = method93() - let v221 : (std_string_String -> US23) = method94() + let v220 : (std_sync_Arc> -> US23) = method94() + let v221 : (std_string_String -> US23) = method95() let v222 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v223 : US23 = Fable.Core.RustInterop.emitRustExpr struct (v220, v221, v219) v222 let struct (v1328 : int32, v1329 : US4, v1330 : US24) = @@ -32421,7 +32424,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v231 = v240 #endif let v241 : std_sync_MutexGuard = _v231 - let v244 : std_sync_MutexGuard = method96(v241) + let v244 : std_sync_MutexGuard = method97(v241) let v245 : string = "true; let mut v244 = v244" let v246 : bool = Fable.Core.RustInterop.emitRustExpr () v245 let v247 : string = "&mut $0" @@ -32478,7 +32481,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v269 = v278 #endif let v279 : std_sync_MutexGuard = _v269 - let v282 : std_sync_MutexGuard = method96(v279) + let v282 : std_sync_MutexGuard = method97(v279) let v283 : string = "true; let mut v282 = v282" let v284 : bool = Fable.Core.RustInterop.emitRustExpr () v283 let v285 : string = "&mut $0" @@ -32535,7 +32538,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v307 = v316 #endif let v317 : std_sync_MutexGuard = _v307 - let v320 : std_sync_MutexGuard = method96(v317) + let v320 : std_sync_MutexGuard = method97(v317) let v321 : string = "true; let mut v320 = v320" let v322 : bool = Fable.Core.RustInterop.emitRustExpr () v321 let v323 : string = "&mut $0" @@ -32551,7 +32554,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v333 : string = "$0.unwrap()" let v334 : std_process_ChildStdin = Fable.Core.RustInterop.emitRustExpr v332 v333 let v335 : std_process_ChildStdin option = Some v334 - let v338 : (std_process_ChildStdin option -> std_process_ChildStdin option) = method97() + let v338 : (std_process_ChildStdin option -> std_process_ChildStdin option) = method98() let v339 : std_process_ChildStdin option = v338 v335 let v340 : string = "std::sync::Mutex::new(v339)" let v341 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr () v340 @@ -32563,19 +32566,19 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v347 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr () v346 let v348 : string = "{ let (sender, receiver) = std::sync::mpsc::channel(); (sender, std::sync::Arc::new(receiver)) }" let struct (v349 : std_sync_mpsc_Sender, v350 : std_sync_Arc>) = Fable.Core.RustInterop.emitRustExpr () v348 - let v351 : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = method98() + let v351 : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = method99() let v352 : std_sync_mpsc_Sender = v351 v349 let v353 : string = "std::sync::Mutex::new(v352)" let v354 : std_sync_Mutex> = Fable.Core.RustInterop.emitRustExpr () v353 let v355 : string = "std::sync::Arc::new(v354)" let v356 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr () v355 - let v357 : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = method99() + let v357 : (std_sync_mpsc_Sender -> std_sync_mpsc_Sender) = method100() let v358 : std_sync_mpsc_Sender = v357 v349 let v359 : string = "std::sync::Mutex::new(v358)" let v360 : std_sync_Mutex> = Fable.Core.RustInterop.emitRustExpr () v359 let v361 : string = "std::sync::Arc::new(v360)" let v362 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr () v361 - let v363 : (std_sync_Arc> -> std_sync_Arc>) = method100() + let v363 : (std_sync_Arc> -> std_sync_Arc>) = method101() let v364 : std_sync_Arc> = v363 v350 let v365 : string = "std::sync::Mutex::new(v364)" let v366 : std_sync_Mutex>> = Fable.Core.RustInterop.emitRustExpr () v365 @@ -32595,7 +32598,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v380 : Result = Fable.Core.RustInterop.emitRustExpr () v379 let v381 : string = "$0.clone()" let v382 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v356 v381 - let v383 : (std_io_Error -> std_string_String) = method53() + let v383 : (std_io_Error -> std_string_String) = method54() let v384 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -32628,8 +32631,8 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v384 = v393 #endif let v394 : Result = _v384 - let v397 : (std_string_String -> US25) = method101() - let v398 : (std_string_String -> US25) = method102() + let v397 : (std_string_String -> US25) = method102() + let v398 : (std_string_String -> US25) = method103() let v399 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v400 : US25 = Fable.Core.RustInterop.emitRustExpr struct (v397, v398, v394) v399 let v589 : std_string_String = @@ -32833,7 +32836,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v608 : Ref> = Fable.Core.RustInterop.emitRustExpr v604 v607 let v609 : string = "$0.send($1)" let v610 : Result> = Fable.Core.RustInterop.emitRustExpr struct (v608, v589) v609 - let v611 : (std_sync_mpsc_SendError -> std_string_String) = method108() + let v611 : (std_sync_mpsc_SendError -> std_string_String) = method109() let v612 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -32872,7 +32875,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v628 : bool = Fable.Core.RustInterop.emitRustExpr v626 v627 let v629 : string = "_iter_try_for_each.map_err(|x| x.into())" let v630 : Result = Fable.Core.RustInterop.emitRustExpr () v629 - let v631 : Result = method109(v630) + let v631 : Result = method110(v630) let v632 : string = "" let v633 : string = "}" let v634 : string = v632 + v633 @@ -32927,7 +32930,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v664 : Result = Fable.Core.RustInterop.emitRustExpr () v663 let v665 : string = "$0.clone()" let v666 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v362 v665 - let v667 : (std_io_Error -> std_string_String) = method53() + let v667 : (std_io_Error -> std_string_String) = method54() let v668 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -32960,8 +32963,8 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v668 = v677 #endif let v678 : Result = _v668 - let v681 : (std_string_String -> US25) = method101() - let v682 : (std_string_String -> US25) = method102() + let v681 : (std_string_String -> US25) = method102() + let v682 : (std_string_String -> US25) = method103() let v683 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v684 : US25 = Fable.Core.RustInterop.emitRustExpr struct (v681, v682, v678) v683 let v914 : std_string_String = @@ -33230,7 +33233,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v933 : Ref> = Fable.Core.RustInterop.emitRustExpr v929 v932 let v934 : string = "$0.send($1)" let v935 : Result> = Fable.Core.RustInterop.emitRustExpr struct (v933, v914) v934 - let v936 : (std_sync_mpsc_SendError -> std_string_String) = method108() + let v936 : (std_sync_mpsc_SendError -> std_string_String) = method109() let v937 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -33269,7 +33272,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v953 : bool = Fable.Core.RustInterop.emitRustExpr v951 v952 let v954 : string = "_iter_try_for_each.map_err(|x| x.into())" let v955 : Result = Fable.Core.RustInterop.emitRustExpr () v954 - let v956 : Result = method109(v955) + let v956 : Result = method110(v955) let v957 : string = v632 + v633 let v958 : _ = v956 let v959 : unit = () @@ -33308,7 +33311,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v973 : bool = Fable.Core.RustInterop.emitRustExpr () v972 let v974 : string = "__spawn" let v975 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v974 - let v976 : ((std_sync_Arc> -> unit) -> US26) = method110() + let v976 : ((std_sync_Arc> -> unit) -> US26) = method111() let v977 : US26 option = v4 |> Option.map v976 let v988 : US26 = US26_1 let v989 : US26 = v977 |> Option.defaultValue v988 @@ -33352,7 +33355,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v998 = v1007 #endif let v1008 : std_sync_MutexGuard = _v998 - let v1011 : std_sync_MutexGuard = method111(v1008) + let v1011 : std_sync_MutexGuard = method112(v1008) let v1012 : string = "true; let mut v1011 = v1011" let v1013 : bool = Fable.Core.RustInterop.emitRustExpr () v1012 let v1014 : string = "&mut $0" @@ -33371,7 +33374,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v1027 : bool = Fable.Core.RustInterop.emitRustExpr v1025 v1026 let v1028 : string = "_optionm_map_" let v1029 : std_sync_Arc> option = Fable.Core.RustInterop.emitRustExpr () v1028 - let v1030 : (std_sync_Arc> -> US27) = method112() + let v1030 : (std_sync_Arc> -> US27) = method113() let v1031 : US27 option = v1029 |> Option.map v1030 let v1042 : US27 = US27_1 let v1043 : US27 = v1031 |> Option.defaultValue v1042 @@ -33416,7 +33419,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v1052 = v1061 #endif let v1062 : std_sync_MutexGuard = _v1052 - let v1065 : std_sync_MutexGuard = method113(v1062) + let v1065 : std_sync_MutexGuard = method114(v1062) let v1066 : string = "true; let mut v1065 = v1065" let v1067 : bool = Fable.Core.RustInterop.emitRustExpr () v1066 let v1068 : string = "true; std::io::Write::flush(&mut *$0).unwrap()" @@ -33458,7 +33461,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v1074 = v1083 #endif let v1084 : std_sync_MutexGuard = _v1074 - let v1087 : std_sync_MutexGuard = method96(v1084) + let v1087 : std_sync_MutexGuard = method97(v1084) let v1088 : string = "true; let mut v1087 = v1087" let v1089 : bool = Fable.Core.RustInterop.emitRustExpr () v1088 let v1090 : string = "&mut $0" @@ -33469,7 +33472,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v1095 : std_process_Child = Fable.Core.RustInterop.emitRustExpr v1093 v1094 let v1096 : string = "$0.wait_with_output()" let v1097 : Result = Fable.Core.RustInterop.emitRustExpr v1095 v1096 - let v1098 : (std_io_Error -> std_string_String) = method53() + let v1098 : (std_io_Error -> std_string_String) = method54() let v1099 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -33502,11 +33505,11 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v1099 = v1108 #endif let v1109 : Result = _v1099 - let v1112 : std_thread_JoinHandle> = method114(v975) + let v1112 : std_thread_JoinHandle> = method115(v975) let v1113 : string = "v1112" let v1114 : string = v1113 + v632 let v1115 : string = v1114 + v632 - let v1116 : std_thread_JoinHandle> = method114(v652) + let v1116 : std_thread_JoinHandle> = method115(v652) let v1117 : string = "v1116" let v1118 : string = ", " let v1119 : string = v1117 + v1118 @@ -33603,7 +33606,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v1155 : std_process_ExitStatus = Fable.Core.RustInterop.emitRustExpr v1153 v1154 let v1156 : string = "$0.code()" let v1157 : int32 option = Fable.Core.RustInterop.emitRustExpr v1155 v1156 - let v1158 : (int32 -> US29) = method116() + let v1158 : (int32 -> US29) = method117() let v1159 : US29 option = v1157 |> Option.map v1158 let v1170 : US29 = US29_1 let v1171 : US29 = v1159 |> Option.defaultValue v1170 @@ -33802,7 +33805,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let _v7 = struct (v1471, v1472) #endif #else - let v1477 : Async = method119(v0, v1, v2, v3, v4, v5, v6) + let v1477 : Async = method120(v0, v1, v2, v3, v4, v5, v6) let v1478 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -33837,7 +33840,7 @@ and method66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : #endif let struct (v1522 : int32, v1523 : string) = _v7 struct (v1522, v1523) -and method128 (v0 : string, v1 : string, v2 : string) : struct (string * string) = +and method129 (v0 : string, v1 : string, v2 : string) : struct (string * string) = let v3 : string = method43(v1) let v4 : string = method26(v2, v3) let v5 : string = "." @@ -33865,18 +33868,18 @@ and method128 (v0 : string, v1 : string, v2 : string) : struct (string * string) let v19 : string = $"{v11}.{v0}" v19 struct (v17, v20) -and method129 () : string = +and method130 () : string = let v0 : string = "" v0 and closure66 () (v0 : string) : US33 = US33_0(v0) -and method130 () : (string -> US33) = +and method131 () : (string -> US33) = closure66() and closure67 () (v0 : std_string_String) : US33 = US33_1(v0) -and method131 () : (std_string_String -> US33) = +and method132 () : (std_string_String -> US33) = closure67() -and method132 (v0 : string) : bool = +and method133 (v0 : string) : bool = let v1 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -34015,7 +34018,7 @@ and method132 (v0 : string) : bool = #endif let v85 : bool = _v1 v85 -and method134 (v0 : string, v1 : string, v2 : string, v3 : int32, v4 : string, v5 : int32, v6 : string, v7 : string, v8 : US1, v9 : string, v10 : string) : string = +and method135 (v0 : string, v1 : string, v2 : string, v3 : int32, v4 : string, v5 : int32, v6 : string, v7 : string, v8 : US1, v9 : string, v10 : string) : string = let v11 : string = method14() let v12 : Mut3 = {l0 = v11} : Mut3 let v13 : string = "{ " @@ -34216,8 +34219,8 @@ and method134 (v0 : string, v1 : string, v2 : string, v3 : int32, v4 : string, v let v388 : unit = (fun () -> v387 (); v386) () let v391 : string = v12.l0 v391 -and method133 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : string, v11 : string, v12 : int32, v13 : string, v14 : int32, v15 : string, v16 : string, v17 : US1, v18 : string, v19 : string) : string = - let v20 : string = method134(v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19) +and method134 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : string, v11 : string, v12 : int32, v13 : string, v14 : int32, v15 : string, v16 : string, v17 : US1, v18 : string, v19 : string) : string = + let v20 : string = method135(v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19) let v21 : int64 = v0.l0 let v22 : string = $"{v6} {v7} #{v21} %s{v8} / {v20}" method18(v22) @@ -34242,15 +34245,15 @@ and closure68 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : int32, v let v55 : string = "" v55 else - method133(v29, v30, v31, v32, v33, v34, v47, v48, v53, v1, v2, v0, v4, v3, v7, v6, v9, v10, v5, v8) + method134(v29, v30, v31, v32, v33, v34, v47, v48, v53, v1, v2, v0, v4, v3, v7, v6, v9, v10, v5, v8) method19(v57) -and method136 (v0 : string) : string = +and method137 (v0 : string) : string = v0 and closure69 () (v0 : uint64) : US34 = US34_0(v0) and closure70 () (v0 : std_string_String) : US34 = US34_1(v0) -and method138 (v0 : string, v1 : string, v2 : std_string_String) : string = +and method139 (v0 : string, v1 : string, v2 : std_string_String) : string = let v3 : string = method14() let v4 : Mut3 = {l0 = v3} : Mut3 let v5 : string = "{ " @@ -34352,8 +34355,8 @@ and method138 (v0 : string, v1 : string, v2 : std_string_String) : string = let v140 : unit = (fun () -> v139 (); v138) () let v143 : string = v4.l0 v143 -and method137 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : std_string_String) : string = - let v11 : string = method138(v8, v9, v10) +and method138 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : std_string_String) : string = + let v11 : string = method139(v8, v9, v10) let v12 : int64 = v0.l0 let v13 : string = "file_system.file_copy" let v14 : string = $"{v6} {v7} #{v12} %s{v13} / {v11}" @@ -34368,9 +34371,9 @@ and closure71 (v0 : string, v1 : string, v2 : std_string_String) () : unit = let struct (v21 : Mut0, v22 : Mut1, v23 : Mut2, v24 : Mut3, v25 : Mut4, v26 : int64 option) = TraceState.trace_state.Value let v39 : string = method8(v21, v22, v23, v24, v25, v26) let v40 : string = method35() - let v41 : string = method137(v21, v22, v23, v24, v25, v26, v39, v40, v0, v1, v2) + let v41 : string = method138(v21, v22, v23, v24, v25, v26, v39, v40, v0, v1, v2) method19(v41) -and method140 (v0 : string, v1 : string, v2 : uint64) : string = +and method141 (v0 : string, v1 : string, v2 : uint64) : string = let v3 : string = method14() let v4 : Mut3 = {l0 = v3} : Mut3 let v5 : string = "{ " @@ -34434,8 +34437,8 @@ and method140 (v0 : string, v1 : string, v2 : uint64) : string = let v113 : unit = (fun () -> v112 (); v111) () let v116 : string = v4.l0 v116 -and method139 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : uint64) : string = - let v11 : string = method140(v8, v9, v10) +and method140 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string, v10 : uint64) : string = + let v11 : string = method141(v8, v9, v10) let v12 : int64 = v0.l0 let v13 : string = "file_system.file_copy" let v14 : string = $"{v6} {v7} #{v12} %s{v13} / {v11}" @@ -34449,19 +34452,19 @@ and closure72 (v0 : string, v1 : string, v2 : uint64) () : unit = let v7 : unit = (fun () -> v6 (); v5) () let struct (v21 : Mut0, v22 : Mut1, v23 : Mut2, v24 : Mut3, v25 : Mut4, v26 : int64 option) = TraceState.trace_state.Value let v39 : string = method8(v21, v22, v23, v24, v25, v26) - let v40 : string = method49() - let v41 : string = method139(v21, v22, v23, v24, v25, v26, v39, v40, v0, v1, v2) + let v40 : string = method50() + let v41 : string = method140(v21, v22, v23, v24, v25, v26, v39, v40, v0, v1, v2) method19(v41) -and method135 (v0 : string, v1 : string) : unit = +and method136 (v0 : string, v1 : string) : unit = let v2 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v3 : string = method136(v0) + let v3 : string = method137(v0) let v4 : string = "std::fs::copy(&*$0, &*v3)" let v5 : Result = Fable.Core.RustInterop.emitRustExpr v1 v4 - let v6 : (std_io_Error -> std_string_String) = method53() + let v6 : (std_io_Error -> std_string_String) = method54() let v7 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -34528,15 +34531,15 @@ and method135 (v0 : string, v1 : string) : unit = #endif _v2 () -and method142 (v0 : Vec) : Vec = +and method143 (v0 : Vec) : Vec = v0 -and method143 (v0 : int32, v1 : Mut7) : bool = +and method144 (v0 : int32, v1 : Mut7) : bool = let v2 : int32 = v1.l0 let v3 : bool = v2 < v0 v3 -and method144 (v0 : string) : string = +and method145 (v0 : string) : string = v0 -and method145 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = +and method146 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = v0 and closure75 (v0 : string) (v1 : std_sync_Arc>) : unit = let v2 : string = "$0" @@ -34575,22 +34578,22 @@ and closure75 (v0 : string) (v1 : std_sync_Arc = _v6 - let v19 : string = method144(v0) + let v19 : string = method145(v0) let v20 : string = "v19.as_bytes()" let v21 : Ref> = Fable.Core.RustInterop.emitRustExpr () v20 - let v22 : std_sync_MutexGuard = method145(v16) + let v22 : std_sync_MutexGuard = method146(v16) let v23 : string = "true; let mut v22 = v22" let v24 : bool = Fable.Core.RustInterop.emitRustExpr () v23 let v25 : string = "true; std::io::Write::write_all(&mut *$0, v21).unwrap()" let v26 : bool = Fable.Core.RustInterop.emitRustExpr v22 v25 () -and method146 (v0 : int32, v1 : Mut8) : bool = +and method147 (v0 : int32, v1 : Mut8) : bool = let v2 : int32 = v1.l0 let v3 : bool = v2 < v0 v3 -and method147 (v0 : string) : string = +and method148 (v0 : string) : string = v0 -and method149 (v0 : int32, v1 : int32, v2 : string) : string = +and method150 (v0 : int32, v1 : int32, v2 : string) : string = let v3 : string = method14() let v4 : Mut3 = {l0 = v3} : Mut3 let v5 : string = "{ " @@ -34654,8 +34657,8 @@ and method149 (v0 : int32, v1 : int32, v2 : string) : string = let v113 : unit = (fun () -> v112 (); v111) () let v116 : string = v4.l0 v116 -and method148 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : int32, v10 : string) : string = - let v11 : string = method149(v8, v9, v10) +and method149 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : int32, v10 : string) : string = + let v11 : string = method150(v8, v9, v10) let v12 : int64 = v0.l0 let v13 : string = "documents.hangul" let v14 : string = $"{v6} {v7} #{v12} %s{v13} / {v11}" @@ -34671,9 +34674,9 @@ and closure76 (v0 : string, v1 : int32, v2 : string) () : unit = let v39 : string = method8(v21, v22, v23, v24, v25, v26) let v40 : string = method12() let v41 : int32 = v2.Length - let v42 : string = method148(v21, v22, v23, v24, v25, v26, v39, v40, v1, v41, v0) + let v42 : string = method149(v21, v22, v23, v24, v25, v26, v39, v40, v1, v41, v0) method19(v42) -and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = +and method142 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let v4 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -34743,7 +34746,7 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let _v5 = v35 #endif let v36 : Vec = _v5 - let v41 : Vec = method142(v36) + let v41 : Vec = method143(v36) let v42 : string = "std::string::String::from_utf8($0)" let v43 : Result = Fable.Core.RustInterop.emitRustExpr v41 v42 let v44 : unit = () @@ -34808,7 +34811,7 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let v81 : int32 = v78.Length let v82 : (string []) = Array.zeroCreate (v81) let v83 : Mut6 = {l0 = 0} : Mut6 - while method47(v81, v83) do + while method48(v81, v83) do let v85 : int32 = v83.l0 let v86 : string = v78.[int v85] let v87 : (unit -> string) = v86.Trim @@ -34820,7 +34823,7 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let v90 : int32 = v82.Length let v91 : (string []) = Array.zeroCreate (v90) let v92 : Mut7 = {l0 = 0; l1 = 0} : Mut7 - while method143(v90, v92) do + while method144(v90, v92) do let v94 : int32 = v92.l0 let v95 : int32 = v92.l1 let v96 : string = v82.[int v94] @@ -34840,7 +34843,7 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let v104 : int32 = v92.l1 let v105 : (string []) = Array.zeroCreate (v104) let v106 : Mut6 = {l0 = 0} : Mut6 - while method47(v104, v106) do + while method48(v104, v106) do let v108 : int32 = v106.l0 let v109 : string = v91.[int v108] v105.[int v108] <- v109 @@ -34912,12 +34915,12 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let v155 : (std_sync_Arc> -> unit) = closure75(v119) let v156 : (std_sync_Arc> -> unit) option = Some v155 let v159 : bool = true - let struct (v160 : int32, v161 : string) = method66(v154, v120, v121, v122, v156, v159, v124) + let struct (v160 : int32, v161 : string) = method67(v154, v120, v121, v122, v156, v159, v124) let v162 : (string []) = v161.Split v77 let v165 : int32 = v162.Length let v166 : string = "" let v167 : Mut8 = {l0 = 0; l1 = v166; l2 = 0; l3 = 0} : Mut8 - while method146(v90, v167) do + while method147(v90, v167) do let v169 : int32 = v167.l0 let struct (v170 : string, v171 : int32, v172 : int32) = v167.l1, v167.l2, v167.l3 let v173 : string = v82.[int v169] @@ -34977,7 +34980,7 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let _v197 = () #endif #else - let v199 : string = method147(v194) + let v199 : string = method148(v194) System.IO.File.WriteAllText (v2, v199) let _v197 = () #endif @@ -34986,7 +34989,7 @@ and method141 (v0 : string, v1 : string, v2 : string, v3 : string) : US35 = let v201 : (unit -> unit) = closure76(v2, v160, v194) let v202 : unit = (fun () -> v201 (); v200) () US35_0(v160, v194) -and method151 (v0 : int32, v1 : string) : string = +and method152 (v0 : int32, v1 : string) : string = let v2 : string = method14() let v3 : Mut3 = {l0 = v2} : Mut3 let v4 : string = "{ " @@ -35033,8 +35036,8 @@ and method151 (v0 : int32, v1 : string) : string = let v79 : unit = (fun () -> v78 (); v77) () let v82 : string = v3.l0 v82 -and method150 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : string) : string = - let v10 : string = method151(v8, v9) +and method151 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : string) : string = + let v10 : string = method152(v8, v9) let v11 : int64 = v0.l0 let v12 : string = "documents.files_fn / error" let v13 : string = $"{v6} {v7} #{v11} %s{v12} / {v10}" @@ -35049,17 +35052,17 @@ and closure77 (v0 : string, v1 : int32) () : unit = let struct (v20 : Mut0, v21 : Mut1, v22 : Mut2, v23 : Mut3, v24 : Mut4, v25 : int64 option) = TraceState.trace_state.Value let v38 : string = method8(v20, v21, v22, v23, v24, v25) let v39 : string = method12() - let v40 : string = method150(v20, v21, v22, v23, v24, v25, v38, v39, v1, v0) + let v40 : string = method151(v20, v21, v22, v23, v24, v25, v38, v39, v1, v0) method19(v40) and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) (v5 : string) : US32 = - let struct (v6 : string, v7 : string) = method128(v5, v4, v0) - let v8 : bool = method132(v6) + let struct (v6 : string, v7 : string) = method129(v5, v4, v0) + let v8 : bool = method133(v6) let v9 : bool = v8 = false let v12 : bool = if v9 then true else - let v10 : bool = method132(v7) + let v10 : bool = method133(v7) let v11 : bool = v10 = false v11 let v290 : bool = @@ -35205,12 +35208,12 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v115 : string = "fable_library_rust::NativeArray_::array_from($0)" let v116 : (string []) = Fable.Core.RustInterop.emitRustExpr v114 v115 let v117 : string seq = seq { for i = 0 to v116.Length - 1 do yield v116.[i] } - let v120 : string = method129() + let v120 : string = method130() let v121 : (string -> (string seq -> string)) = String.concat let v122 : (string seq -> string) = v121 v120 let v123 : string = v122 v117 let v126 : Result = Ok v123 - let v127 : (std_io_Error -> std_string_String) = method53() + let v127 : (std_io_Error -> std_string_String) = method54() let v128 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -35243,8 +35246,8 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let _v128 = v137 #endif let v138 : Result = _v128 - let v141 : (string -> US33) = method130() - let v142 : (std_string_String -> US33) = method131() + let v141 : (string -> US33) = method131() + let v142 : (std_string_String -> US33) = method132() let v143 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v144 : US33 = Fable.Core.RustInterop.emitRustExpr struct (v141, v142, v138) v143 let v150 : string = @@ -35393,12 +35396,12 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v253 : string = "fable_library_rust::NativeArray_::array_from($0)" let v254 : (string []) = Fable.Core.RustInterop.emitRustExpr v252 v253 let v255 : string seq = seq { for i = 0 to v254.Length - 1 do yield v254.[i] } - let v258 : string = method129() + let v258 : string = method130() let v259 : (string -> (string seq -> string)) = String.concat let v260 : (string seq -> string) = v259 v258 let v261 : string = v260 v255 let v264 : Result = Ok v261 - let v265 : (std_io_Error -> std_string_String) = method53() + let v265 : (std_io_Error -> std_string_String) = method54() let v266 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -35431,8 +35434,8 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let _v266 = v275 #endif let v276 : Result = _v266 - let v279 : (string -> US33) = method130() - let v280 : (std_string_String -> US33) = method131() + let v279 : (string -> US33) = method131() + let v280 : (std_string_String -> US33) = method132() let v281 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v282 : US33 = Fable.Core.RustInterop.emitRustExpr struct (v279, v280, v276) v281 let v288 : string = @@ -35447,7 +35450,7 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) if v290 then US32_1 else - let v292 : US35 = method141(v2, v3, v6, v4) + let v292 : US35 = method142(v2, v3, v6, v4) match v292 with | US35_1(v348, v349) -> (* Error *) let v350 : (string * string) = v6, v349 @@ -35463,9 +35466,9 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v341 : Result = Error v340 US32_0(v341) else - let v343 : bool = method132(v6) + let v343 : bool = method133(v6) if v343 then - method135(v7, v6) + method136(v7, v6) else let v344 : string = $"documents.files_fn / {v6} should exist" failwith v344 @@ -35473,7 +35476,7 @@ and closure74 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) US32_0(v345) and closure73 (v0 : string, v1 : string, v2 : string, v3 : string) (v4 : string) : (string -> US32) = closure74(v0, v1, v2, v3, v4) -and method154 (v0 : int32, v1 : string, v2 : string) : string = +and method155 (v0 : int32, v1 : string, v2 : string) : string = let v3 : string = method14() let v4 : Mut3 = {l0 = v3} : Mut3 let v5 : string = "{ " @@ -35537,8 +35540,8 @@ and method154 (v0 : int32, v1 : string, v2 : string) : string = let v113 : unit = (fun () -> v112 (); v111) () let v116 : string = v4.l0 v116 -and method153 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : string, v10 : string) : string = - let v11 : string = method154(v8, v9, v10) +and method154 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : int32, v9 : string, v10 : string) : string = + let v11 : string = method155(v8, v9, v10) let v12 : int64 = v0.l0 let v13 : string = "documents.crowbook / result contains ERROR" let v14 : string = $"{v6} {v7} #{v12} %s{v13} / {v11}" @@ -35553,9 +35556,9 @@ and closure80 (v0 : string, v1 : string, v2 : int32) () : unit = let struct (v21 : Mut0, v22 : Mut1, v23 : Mut2, v24 : Mut3, v25 : Mut4, v26 : int64 option) = TraceState.trace_state.Value let v39 : string = method8(v21, v22, v23, v24, v25, v26) let v40 : string = method35() - let v41 : string = method153(v21, v22, v23, v24, v25, v26, v39, v40, v2, v0, v1) + let v41 : string = method154(v21, v22, v23, v24, v25, v26, v39, v40, v2, v0, v1) method19(v41) -and method152 (v0 : bool, v1 : string, v2 : string, v3 : string, v4 : string) : US35 = +and method153 (v0 : bool, v1 : string, v2 : string, v3 : string, v4 : string) : US35 = let v5 : bool = "html" = v4 let v61 : string = if v5 then @@ -35635,7 +35638,7 @@ and method152 (v0 : bool, v1 : string, v2 : string, v3 : string, v4 : string) : let v69 : string = v67 + v68 let v70 : string option = Some v3 let v73 : bool = true - let struct (v74 : int32, v75 : string) = method66(v69, v62, v63, v64, v65, v73, v70) + let struct (v74 : int32, v75 : string) = method67(v69, v62, v63, v64, v65, v73, v70) let v76 : string = "ERROR" let v77 : bool = v75.Contains v76 let v80 : bool = v77 = false @@ -35647,14 +35650,14 @@ and method152 (v0 : bool, v1 : string, v2 : string, v3 : string, v4 : string) : let v84 : unit = (fun () -> v83 (); v82) () US35_1(v74, v75) and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : US32 = - let struct (v5 : string, v6 : string) = method128(v4, v3, v0) - let v7 : bool = method132(v5) + let struct (v5 : string, v6 : string) = method129(v4, v3, v0) + let v7 : bool = method133(v5) let v8 : bool = v7 = false let v11 : bool = if v8 then true else - let v9 : bool = method132(v6) + let v9 : bool = method133(v6) let v10 : bool = v9 = false v10 let v289 : bool = @@ -35800,12 +35803,12 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : let v114 : string = "fable_library_rust::NativeArray_::array_from($0)" let v115 : (string []) = Fable.Core.RustInterop.emitRustExpr v113 v114 let v116 : string seq = seq { for i = 0 to v115.Length - 1 do yield v115.[i] } - let v119 : string = method129() + let v119 : string = method130() let v120 : (string -> (string seq -> string)) = String.concat let v121 : (string seq -> string) = v120 v119 let v122 : string = v121 v116 let v125 : Result = Ok v122 - let v126 : (std_io_Error -> std_string_String) = method53() + let v126 : (std_io_Error -> std_string_String) = method54() let v127 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -35838,8 +35841,8 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : let _v127 = v136 #endif let v137 : Result = _v127 - let v140 : (string -> US33) = method130() - let v141 : (std_string_String -> US33) = method131() + let v140 : (string -> US33) = method131() + let v141 : (std_string_String -> US33) = method132() let v142 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v143 : US33 = Fable.Core.RustInterop.emitRustExpr struct (v140, v141, v137) v142 let v149 : string = @@ -35988,12 +35991,12 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : let v252 : string = "fable_library_rust::NativeArray_::array_from($0)" let v253 : (string []) = Fable.Core.RustInterop.emitRustExpr v251 v252 let v254 : string seq = seq { for i = 0 to v253.Length - 1 do yield v253.[i] } - let v257 : string = method129() + let v257 : string = method130() let v258 : (string -> (string seq -> string)) = String.concat let v259 : (string seq -> string) = v258 v257 let v260 : string = v259 v254 let v263 : Result = Ok v260 - let v264 : (std_io_Error -> std_string_String) = method53() + let v264 : (std_io_Error -> std_string_String) = method54() let v265 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -36026,8 +36029,8 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : let _v265 = v274 #endif let v275 : Result = _v265 - let v278 : (string -> US33) = method130() - let v279 : (std_string_String -> US33) = method131() + let v278 : (string -> US33) = method131() + let v279 : (std_string_String -> US33) = method132() let v280 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v281 : US33 = Fable.Core.RustInterop.emitRustExpr struct (v278, v279, v275) v280 let v287 : string = @@ -36042,7 +36045,7 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : if v289 then US32_1 else - let v291 : US35 = method152(v2, v5, v3, v1, v4) + let v291 : US35 = method153(v2, v5, v3, v1, v4) match v291 with | US35_1(v347, v348) -> (* Error *) let v349 : (string * string) = v5, v348 @@ -36058,9 +36061,9 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : let v340 : Result = Error v339 US32_0(v340) else - let v342 : bool = method132(v5) + let v342 : bool = method133(v5) if v342 then - method135(v6, v5) + method136(v6, v5) else let v343 : string = $"documents.files_fn / {v5} should exist" failwith v343 @@ -36068,7 +36071,7 @@ and closure79 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : US32_0(v344) and closure78 (v0 : string, v1 : string, v2 : bool) (v3 : string) : (string -> US32) = closure79(v0, v1, v2, v3) -and method156 (v0 : string, v1 : string) : string = +and method157 (v0 : string, v1 : string) : string = let v2 : string = method14() let v3 : Mut3 = {l0 = v2} : Mut3 let v4 : string = "{ " @@ -36115,8 +36118,8 @@ and method156 (v0 : string, v1 : string) : string = let v79 : unit = (fun () -> v78 (); v77) () let v82 : string = v3.l0 v82 -and method155 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string) : string = - let v10 : string = method156(v8, v9) +and method156 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : string, v9 : string) : string = + let v10 : string = method157(v8, v9) let v11 : int64 = v0.l0 let v12 : string = "documents.run / par_map / files' = [] / listm.iter" let v13 : string = $"{v6} {v7} #{v11} %s{v12} / {v10}" @@ -36131,24 +36134,24 @@ and closure81 (v0 : string, v1 : string) () : unit = let struct (v20 : Mut0, v21 : Mut1, v22 : Mut2, v23 : Mut3, v24 : Mut4, v25 : int64 option) = TraceState.trace_state.Value let v38 : string = method8(v20, v21, v22, v23, v24, v25) let v39 : string = method12() - let v40 : string = method155(v20, v21, v22, v23, v24, v25, v38, v39, v1, v0) + let v40 : string = method156(v20, v21, v22, v23, v24, v25, v38, v39, v1, v0) method19(v40) -and method157 (v0 : UH4, v1 : UH5 list) : UH5 list = +and method158 (v0 : UH4, v1 : UH5 list) : UH5 list = match v0 with | UH4_1(v2, v3) -> (* Cons *) - let v4 : UH5 list = method157(v3, v1) + let v4 : UH5 list = method158(v3, v1) let v5 : UH5 list = v2 :: v4 v5 | UH4_0 -> (* Nil *) v1 -and method158 (v0 : int32, v1 : Mut9) : bool = +and method159 (v0 : int32, v1 : Mut9) : bool = let v2 : int32 = v1.l0 let v3 : bool = v2 < v0 v3 -and method159 (v0 : UH5, v1 : struct (string * string * (string -> (string -> US32))) list) : struct (string * string * (string -> (string -> US32))) list = +and method160 (v0 : UH5, v1 : struct (string * string * (string -> (string -> US32))) list) : struct (string * string * (string -> (string -> US32))) list = match v0 with | UH5_1(v2, v3, v4, v5) -> (* Cons *) - let v6 : struct (string * string * (string -> (string -> US32))) list = method159(v5, v1) + let v6 : struct (string * string * (string -> (string -> US32))) list = method160(v5, v1) let v7 : struct (string * string * (string -> (string -> US32))) list = struct (v2, v3, v4) :: v6 v7 | UH5_0 -> (* Nil *) @@ -36163,10 +36166,10 @@ and closure82 () struct (v0 : string, v1 : string, v2 : (string -> (string -> US | US32_0(v5) -> (* Some *) let v6 : Result option = Some v5 v6 -and method160 (v0 : Vec option>) : Vec option> = - v0 and method161 (v0 : Vec option>) : Vec option> = v0 +and method162 (v0 : Vec option>) : Vec option> = + v0 and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) (v5 : string) : Result<(string * Vec option>), std_string_String> = let v6 : string = method39(v5) let v7 : unit = () @@ -36331,7 +36334,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v107 : std_string_String = _v91 let v112 : string = "fable_library_rust::String_::fromString($0)" let v113 : string = Fable.Core.RustInterop.emitRustExpr v107 v112 - let v114 : string = method64() + let v114 : string = method65() let v115 : string = v113.Replace (v3, v114) let v116 : string = "\\" let v117 : string = "/" @@ -36339,7 +36342,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v119 : string = $".{v118}" let v120 : string = method40(v6) let v121 : string = method26(v2, v119) - let v122 : string = method65(v121) + let v122 : string = method66(v121) let v123 : System.Threading.CancellationToken option = None let v124 : (struct (string * string) []) = [||] let v125 : (struct (int32 * string * bool) -> Async) option = None @@ -36348,9 +36351,9 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v128 : string = $"git ls-tree --format='%%(objectname)' origin/gh-pages \"{v122}\"" let v129 : string option = Some v2 let v132 : bool = true - let struct (v133 : int32, v134 : string) = method66(v128, v123, v124, v125, v126, v132, v129) + let struct (v133 : int32, v134 : string) = method67(v128, v123, v124, v125, v126, v132, v129) let v135 : string = method26(v3, v119) - let v136 : string = method65(v135) + let v136 : string = method66(v135) let v137 : System.Threading.CancellationToken option = None let v138 : (struct (string * string) []) = [||] let v139 : (struct (int32 * string * bool) -> Async) option = None @@ -36359,11 +36362,11 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v142 : string = $"git hash-object \"{v136}\"" let v143 : string option = Some v3 let v146 : bool = true - let struct (v147 : int32, v148 : string) = method66(v142, v137, v138, v139, v140, v146, v143) + let struct (v147 : int32, v148 : string) = method67(v142, v137, v138, v139, v140, v146, v143) let v149 : string = method26(v4, v119) - let v150 : string = method65(v149) + let v150 : string = method66(v149) let v151 : string = "hangul.md" - let struct (v152 : string, v153 : string) = method128(v151, v136, v4) + let struct (v152 : string, v153 : string) = method129(v151, v136, v4) let v154 : bool = false let v155 : bool = false let v156 : bool = false @@ -36514,12 +36517,12 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v266 : string = "fable_library_rust::NativeArray_::array_from($0)" let v267 : (string []) = Fable.Core.RustInterop.emitRustExpr v265 v266 let v268 : string seq = seq { for i = 0 to v267.Length - 1 do yield v267.[i] } - let v271 : string = method129() + let v271 : string = method130() let v272 : (string -> (string seq -> string)) = String.concat let v273 : (string seq -> string) = v272 v271 let v274 : string = v273 v268 let v277 : Result = Ok v274 - let v278 : (std_io_Error -> std_string_String) = method53() + let v278 : (std_io_Error -> std_string_String) = method54() let v279 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -36552,8 +36555,8 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let _v279 = v288 #endif let v289 : Result = _v279 - let v292 : (string -> US33) = method130() - let v293 : (std_string_String -> US33) = method131() + let v292 : (string -> US33) = method131() + let v293 : (std_string_String -> US33) = method132() let v294 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v295 : US33 = Fable.Core.RustInterop.emitRustExpr struct (v292, v293, v289) v294 let v301 : string = @@ -36563,7 +36566,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) failwith v298 | US33_0(v296) -> (* Ok *) v296 - let v302 : bool = method132(v150) + let v302 : bool = method133(v150) let v303 : bool = v302 = false let v443 : US1 = if v303 then @@ -36708,12 +36711,12 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v407 : string = "fable_library_rust::NativeArray_::array_from($0)" let v408 : (string []) = Fable.Core.RustInterop.emitRustExpr v406 v407 let v409 : string seq = seq { for i = 0 to v408.Length - 1 do yield v408.[i] } - let v412 : string = method129() + let v412 : string = method130() let v413 : (string -> (string seq -> string)) = String.concat let v414 : (string seq -> string) = v413 v412 let v415 : string = v414 v409 let v418 : Result = Ok v415 - let v419 : (std_io_Error -> std_string_String) = method53() + let v419 : (std_io_Error -> std_string_String) = method54() let v420 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -36746,8 +36749,8 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let _v420 = v429 #endif let v430 : Result = _v420 - let v433 : (string -> US33) = method130() - let v434 : (std_string_String -> US33) = method131() + let v433 : (string -> US33) = method131() + let v434 : (std_string_String -> US33) = method132() let v435 : string = "match $2 { Ok(x) => $0(x), Err(e) => $1(e) }" let v436 : US33 = Fable.Core.RustInterop.emitRustExpr struct (v433, v434, v430) v435 match v436 with @@ -36764,7 +36767,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v447 : unit = () let v448 : (unit -> unit) = closure68(v119, v120, v122, v134, v133, v136, v148, v147, v150, v301, v443) let v449 : unit = (fun () -> v448 (); v447) () - method135(v150, v136) + method136(v150, v136) let v497 : (string -> (string -> US32)) = closure73(v4, v3, v1, v0) let v498 : UH5 = UH5_0 let v499 : UH5 = UH5_1(v151, v136, v497, v498) @@ -36791,7 +36794,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v520 : unit = () let v521 : (unit -> unit) = closure68(v119, v120, v122, v134, v133, v136, v148, v147, v150, v301, v443) let v522 : unit = (fun () -> v521 (); v520) () - method135(v150, v136) + method136(v150, v136) let v570 : (string -> (string -> US32)) = closure73(v4, v3, v1, v0) let v571 : UH5 = UH5_0 let v572 : UH5 = UH5_1(v151, v136, v570, v571) @@ -36826,13 +36829,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) v593 else let v596 : string = "epub" - let struct (v597 : string, v598 : string) = method128(v596, v152, v4) - let v599 : bool = method132(v597) + let struct (v597 : string, v598 : string) = method129(v596, v152, v4) + let v599 : bool = method133(v597) let v645 : bool = if v599 then true else - let v600 : bool = method132(v598) + let v600 : bool = method133(v598) let v601 : bool = v600 = false if v601 then true @@ -36840,7 +36843,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v602 : unit = () let v603 : (unit -> unit) = closure81(v598, v597) let v604 : unit = (fun () -> v603 (); v602) () - method135(v597, v598) + method136(v597, v598) false let v650 : UH5 = if v645 then @@ -36850,13 +36853,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) else UH5_0 let v651 : string = "pdf" - let struct (v652 : string, v653 : string) = method128(v651, v152, v4) - let v654 : bool = method132(v652) + let struct (v652 : string, v653 : string) = method129(v651, v152, v4) + let v654 : bool = method133(v652) let v700 : bool = if v654 then true else - let v655 : bool = method132(v653) + let v655 : bool = method133(v653) let v656 : bool = v655 = false if v656 then true @@ -36864,7 +36867,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v657 : unit = () let v658 : (unit -> unit) = closure81(v653, v652) let v659 : unit = (fun () -> v658 (); v657) () - method135(v652, v653) + method136(v652, v653) false let v703 : UH5 = if v700 then @@ -36873,13 +36876,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) else v650 let v704 : string = "html" - let struct (v705 : string, v706 : string) = method128(v704, v152, v4) - let v707 : bool = method132(v705) + let struct (v705 : string, v706 : string) = method129(v704, v152, v4) + let v707 : bool = method133(v705) let v753 : bool = if v707 then true else - let v708 : bool = method132(v706) + let v708 : bool = method133(v706) let v709 : bool = v708 = false if v709 then true @@ -36887,7 +36890,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v710 : unit = () let v711 : (unit -> unit) = closure81(v706, v705) let v712 : unit = (fun () -> v711 (); v710) () - method135(v705, v706) + method136(v705, v706) false let v756 : UH5 = if v753 then @@ -36895,13 +36898,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) UH5_1(v704, v152, v754, v703) else v703 - let struct (v757 : string, v758 : string) = method128(v596, v136, v4) - let v759 : bool = method132(v757) + let struct (v757 : string, v758 : string) = method129(v596, v136, v4) + let v759 : bool = method133(v757) let v805 : bool = if v759 then true else - let v760 : bool = method132(v758) + let v760 : bool = method133(v758) let v761 : bool = v760 = false if v761 then true @@ -36909,7 +36912,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v762 : unit = () let v763 : (unit -> unit) = closure81(v758, v757) let v764 : unit = (fun () -> v763 (); v762) () - method135(v757, v758) + method136(v757, v758) false let v808 : UH5 = if v805 then @@ -36917,13 +36920,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) UH5_1(v596, v136, v806, v756) else v756 - let struct (v809 : string, v810 : string) = method128(v651, v136, v4) - let v811 : bool = method132(v809) + let struct (v809 : string, v810 : string) = method129(v651, v136, v4) + let v811 : bool = method133(v809) let v857 : bool = if v811 then true else - let v812 : bool = method132(v810) + let v812 : bool = method133(v810) let v813 : bool = v812 = false if v813 then true @@ -36931,7 +36934,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v814 : unit = () let v815 : (unit -> unit) = closure81(v810, v809) let v816 : unit = (fun () -> v815 (); v814) () - method135(v809, v810) + method136(v809, v810) false let v860 : UH5 = if v857 then @@ -36939,13 +36942,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) UH5_1(v651, v136, v858, v808) else v808 - let struct (v861 : string, v862 : string) = method128(v704, v136, v4) - let v863 : bool = method132(v861) + let struct (v861 : string, v862 : string) = method129(v704, v136, v4) + let v863 : bool = method133(v861) let v909 : bool = if v863 then true else - let v864 : bool = method132(v862) + let v864 : bool = method133(v862) let v865 : bool = v864 = false if v865 then true @@ -36953,7 +36956,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v866 : unit = () let v867 : (unit -> unit) = closure81(v862, v861) let v868 : unit = (fun () -> v867 (); v866) () - method135(v861, v862) + method136(v861, v862) false let v912 : UH5 = if v909 then @@ -36961,13 +36964,13 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) UH5_1(v704, v136, v910, v860) else v860 - let struct (v913 : string, v914 : string) = method128(v151, v136, v4) - let v915 : bool = method132(v913) + let struct (v913 : string, v914 : string) = method129(v151, v136, v4) + let v915 : bool = method133(v913) let v961 : bool = if v915 then true else - let v916 : bool = method132(v914) + let v916 : bool = method133(v914) let v917 : bool = v916 = false if v917 then true @@ -36975,7 +36978,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v918 : unit = () let v919 : (unit -> unit) = closure81(v914, v913) let v920 : unit = (fun () -> v919 (); v918) () - method135(v913, v914) + method136(v913, v914) false let v966 : UH5 = if v961 then @@ -36988,7 +36991,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v968 : UH4 = UH4_1(v912, v967) UH4_1(v966, v968) let v971 : UH5 list = [] - let v972 : UH5 list = method157(v970, v971) + let v972 : UH5 list = method158(v970, v971) let v973 : (UH5 list -> (UH5 [])) = List.toArray let v974 : (UH5 []) = v973 v972 let v977 : string = "$0.to_vec()" @@ -37000,12 +37003,12 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v983 : (UH5 []) = Fable.Core.RustInterop.emitRustExpr v978 v982 let v984 : int32 = v983.Length let v985 : Mut9 = {l0 = 0; l1 = v981} : Mut9 - while method158(v984, v985) do + while method159(v984, v985) do let v987 : int32 = v985.l0 let v988 : Vec option> = v985.l1 let v989 : UH5 = v983.[int v987] let v990 : struct (string * string * (string -> (string -> US32))) list = [] - let v991 : struct (string * string * (string -> (string -> US32))) list = method159(v989, v990) + let v991 : struct (string * string * (string -> (string -> US32))) list = method160(v989, v990) let v992 : (struct (string * string * (string -> (string -> US32))) list -> (struct (string * string * (string -> (string -> US32))) [])) = List.toArray let v993 : (struct (string * string * (string -> (string -> US32))) []) = v992 v991 let v996 : string = "$0.to_vec()" @@ -37017,8 +37020,8 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v1002 : rayon_iter_Map (string -> US32)))>> = Fable.Core.RustInterop.emitRustExpr struct (v999, v1001) v1000 let v1003 : string = "rayon::iter::ParallelIterator::collect($0)" let v1004 : Vec option> = Fable.Core.RustInterop.emitRustExpr v1002 v1003 - let v1005 : Vec option> = method160(v1004) - let v1006 : Vec option> = method161(v988) + let v1005 : Vec option> = method161(v1004) + let v1006 : Vec option> = method162(v988) let v1007 : string = "true; let mut v1006 = v1006" let v1008 : bool = Fable.Core.RustInterop.emitRustExpr () v1007 let v1009 : string = "true; v1006.extend(v1005)" @@ -37033,7 +37036,7 @@ and closure30 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v1015 : (string * Vec option>) = v120, v1014 let v1016 : Result<(string * Vec option>), std_string_String> = Ok v1015 v1016 -and method162 (v0 : Result option>), std_string_String>>, std_string_String>) : Result option>), std_string_String>>, std_string_String> = +and method163 (v0 : Result option>), std_string_String>>, std_string_String>) : Result option>), std_string_String>>, std_string_String> = v0 and method25 (v0 : string, v1 : string, v2 : string, v3 : string) : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = let v4 : string = __SOURCE_DIRECTORY__ @@ -37086,10 +37089,10 @@ and method25 (v0 : string, v1 : string, v2 : string, v3 : string) : std_pin_Pin< let v166 : string = "async_walkdir::WalkDir::filter($0, |x| $1(x))" let v167 : (async_walkdir_DirEntry -> std_pin_Pin>, Send>>>>>) = closure20() let v168 : async_walkdir_WalkDir = Fable.Core.RustInterop.emitRustExpr struct (v165, v167) v166 - let v169 : (Result -> string option) = method57() - let v170 : string = "tokio_stream::StreamExt::filter_map(v168, |x| v169(x))" + let v169 : (Result -> string option) = method58() + let v170 : string = "futures::stream::StreamExt::filter_map(v168, |x| async { v169(x) })" let v171 : _ = Fable.Core.RustInterop.emitRustExpr () v170 - let v172 : string = "Box::pin(tokio_stream::StreamExt::collect(v171))" + let v172 : string = "Box::pin(futures::stream::StreamExt::collect(v171))" let v173 : std_pin_Pin>>>> = Fable.Core.RustInterop.emitRustExpr () v172 let v174 : string = "v173.await" let v175 : Vec = Fable.Core.RustInterop.emitRustExpr () v174 @@ -37104,7 +37107,7 @@ and method25 (v0 : string, v1 : string, v2 : string, v3 : string) : std_pin_Pin< let v225 : string = "rayon::iter::ParallelIterator::collect($0)" let v226 : Vec option>), std_string_String>> = Fable.Core.RustInterop.emitRustExpr v224 v225 let v227 : Result option>), std_string_String>>, std_string_String> = Ok v226 - let v228 : Result option>), std_string_String>>, std_string_String> = method162(v227) + let v228 : Result option>), std_string_String>>, std_string_String> = method163(v227) let v229 : string = "" let v230 : string = "}" let v231 : string = v229 + v230 @@ -37152,8 +37155,8 @@ and closure83 () (v0 : Vec v4 (); v3) () let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : Mut4, v24 : int64 option) = TraceState.trace_state.Value let v37 : string = method8(v19, v20, v21, v22, v23, v24) - let v38 : string = method59() - let v39 : string = method163(v19, v20, v21, v22, v23, v24, v37, v38, v0) + let v38 : string = method60() + let v39 : string = method164(v19, v20, v21, v22, v23, v24, v37, v38, v0) method19(v39) -and method165 (v0 : unativeint) : string = +and method166 (v0 : unativeint) : string = let v1 : string = method14() let v2 : Mut3 = {l0 = v1} : Mut3 let v3 : string = "{ " @@ -37237,8 +37240,8 @@ and method165 (v0 : unativeint) : string = let v71 : unit = (fun () -> v70 (); v69) () let v74 : string = v2.l0 v74 -and method164 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : unativeint) : string = - let v9 : string = method165(v8) +and method165 (v0 : Mut0, v1 : Mut1, v2 : Mut2, v3 : Mut3, v4 : Mut4, v5 : int64 option, v6 : string, v7 : string, v8 : unativeint) : string = + let v9 : string = method166(v8) let v10 : int64 = v0.l0 let v11 : string = "documents.main" let v12 : string = $"{v6} {v7} #{v10} %s{v11} / {v9}" @@ -37255,7 +37258,7 @@ and closure86 (v0 : Vec o let v38 : string = method12() let v39 : string = "$0.len()" let v40 : unativeint = Fable.Core.RustInterop.emitRustExpr v0 v39 - let v41 : string = method164(v19, v20, v21, v22, v23, v24, v37, v38, v40) + let v41 : string = method165(v19, v20, v21, v22, v23, v24, v37, v38, v40) method19(v41) and closure1 () (v0 : (string [])) : int32 = let v1 : unit = () @@ -37456,23 +37459,21 @@ and closure1 () (v0 : (string [])) : int32 = let v248 : string = "fable_library_rust::String_::fromString($0)" let v249 : string = Fable.Core.RustInterop.emitRustExpr v247 v248 let v250 : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = method25(v249, v202, v155, v108) - let v251 : string = $"tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap()" - let v252 : _ = Fable.Core.RustInterop.emitRustExpr () v251 - let v253 : string = "v252.handle().block_on($0)" - let v254 : Result option>), std_string_String>>, std_string_String> = Fable.Core.RustInterop.emitRustExpr v250 v253 - let v255 : (Vec option>), std_string_String>> -> US36) = closure83() - let v256 : (std_string_String -> US36) = closure84() - let v257 : US36 = match v254 with Ok x -> v255 x | Error x -> v256 x - match v257 with - | US36_1(v303) -> (* Error *) - let v304 : unit = () - let v305 : (unit -> unit) = closure85(v303) - let v306 : unit = (fun () -> v305 (); v304) () + let v251 : string = "futures::executor::block_on($0)" + let v252 : Result option>), std_string_String>>, std_string_String> = Fable.Core.RustInterop.emitRustExpr v250 v251 + let v253 : (Vec option>), std_string_String>> -> US36) = closure83() + let v254 : (std_string_String -> US36) = closure84() + let v255 : US36 = match v252 with Ok x -> v253 x | Error x -> v254 x + match v255 with + | US36_1(v301) -> (* Error *) + let v302 : unit = () + let v303 : (unit -> unit) = closure85(v301) + let v304 : unit = (fun () -> v303 (); v302) () 1 - | US36_0(v258) -> (* Ok *) - let v259 : unit = () - let v260 : (unit -> unit) = closure86(v258) - let v261 : unit = (fun () -> v260 (); v259) () + | US36_0(v256) -> (* Ok *) + let v257 : unit = () + let v258 : (unit -> unit) = closure86(v256) + let v259 : unit = (fun () -> v258 (); v257) () 0 let v0 : (unit -> unit) = closure0() let tests () = v0 () diff --git a/apps/documents/documents.rs b/apps/documents/documents.rs index 1d473ae4..c099bf18 100644 --- a/apps/documents/documents.rs +++ b/apps/documents/documents.rs @@ -1524,9 +1524,17 @@ mod module_2555ccf7 { pub fn method44() -> Func1 { Func1::new(move |v: std::path::PathBuf| Documents::closure18((), v)) } - pub fn method45(v0_1: string) -> string { + pub fn method46(v0_1: string) -> string { v0_1 } + pub fn method45(v0_1: string, v1_1: string, v2: string) -> string { + let v5: Result = regex::Regex::new(&v0_1); + let v8: regex::Regex = v5.unwrap(); + let v19: string = Documents::method46(v2); + let v21: std::borrow::Cow = v8.replace_all(&*v19, &*v1_1); + let v23: std::string::String = String::from(v21); + fable_library_rust::String_::fromString(v23) + } pub fn method40(v0_1: string) -> string { if v0_1.clone() == string("") { string("") @@ -3092,18 +3100,13 @@ mod module_2555ccf7 { if v13193.clone() == string("") { string("") } else { - let v13200: Result = - regex::Regex::new(&string("^\\\\\\\\\\?\\\\")); - let v13203: regex::Regex = v13200.unwrap(); - let v13214: string = Documents::method45(v13193); - let v13216: std::borrow::Cow = v13203.replace_all(&*v13214, &*string("")); - let v13218: std::string::String = String::from(v13216); - let v13234: string = fable_library_rust::String_::fromString(v13218); + let v13198: string = + Documents::method45(string("^\\\\\\\\\\?\\\\"), string(""), v13193); replace( sprintf!( "{}{}", - toLower(ofChar(getCharAt(v13234.clone(), 0_i32))), - getSlice(v13234, Some(1_i32), None::) + toLower(ofChar(getCharAt(v13198.clone(), 0_i32))), + getSlice(v13198, Some(1_i32), None::) ), string("\\"), string("/"), @@ -3111,13 +3114,13 @@ mod module_2555ccf7 { } } } - pub fn method46(v0_1: i32, v1_1: LrcPtr) -> bool { + pub fn method47(v0_1: i32, v1_1: LrcPtr) -> bool { v1_1.l0.get().clone() < v0_1 } - pub fn method47(v0_1: i32, v1_1: LrcPtr) -> bool { + pub fn method48(v0_1: i32, v1_1: LrcPtr) -> bool { v1_1.l0.get().clone() < v0_1 } - pub fn method48() -> char { + pub fn method49() -> char { std::path::MAIN_SEPARATOR } pub fn method39(v0_1: string) -> string { @@ -3138,7 +3141,7 @@ mod module_2555ccf7 { l1: MutCell::new(0_i32), l2: MutCell::new(new_empty::()), }); - while Documents::method46(v76, v77.clone()) { + while Documents::method47(v76, v77.clone()) { let v79: i32 = v77.l0.get().clone(); let v82: i32 = v79.wrapping_neg() + v76 - 1_i32; let matchValue: i32 = v77.l1.get().clone(); @@ -3164,7 +3167,7 @@ mod module_2555ccf7 { LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v96, v98.clone()) { + while Documents::method48(v96, v98.clone()) { let v100: i32 = v98.l0.get().clone(); let v105: string = if v100 < v94 { v93[v100].clone() @@ -3189,7 +3192,7 @@ mod module_2555ccf7 { LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v110, v112.clone()) { + while Documents::method48(v110, v112.clone()) { let v114: i32 = v112.l0.get().clone(); let v119: string = if v114 < v108 { v107[v114].clone() @@ -3232,7 +3235,7 @@ mod module_2555ccf7 { ) } })); - join(ofChar(Documents::method48()), toArray_1(v133)) + join(ofChar(Documents::method49()), toArray_1(v133)) } } else { let v147: Result = @@ -3243,7 +3246,7 @@ mod module_2555ccf7 { fable_library_rust::String_::fromString(v184) } } - pub fn method49() -> string { + pub fn method50() -> string { let v6: string = Documents::method13(getCharAt(toLower(string("Debug")), 0_i32)); let v9: &str = inline_colorization::color_bright_blue; let v12: &str = &*v6; @@ -3251,7 +3254,7 @@ mod module_2555ccf7 { let v34: std::string::String = format!("{}{}{}", v9, v12, v32); fable_library_rust::String_::fromString(v34) } - pub fn method51(v0_1: string, v1_1: string, v2: string, v3: string) -> string { + pub fn method52(v0_1: string, v1_1: string, v2: string, v3: string) -> string { let v5: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -3325,7 +3328,7 @@ mod module_2555ccf7 { }; v5.l0.get().clone() } - pub fn method50( + pub fn method51( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -3339,7 +3342,7 @@ mod module_2555ccf7 { v10: string, v11: string, ) -> string { - let v12: string = Documents::method51(v8, v9, v10, v11); + let v12: string = Documents::method52(v8, v9, v10, v11); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -3369,7 +3372,7 @@ mod module_2555ccf7 { let v24: LrcPtr = patternInput.2.clone(); let v23: LrcPtr = patternInput.1.clone(); let v22: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method50( + Documents::method19(Documents::method51( v22.clone(), v23.clone(), v24.clone(), @@ -3377,7 +3380,7 @@ mod module_2555ccf7 { v26.clone(), v27.clone(), Documents::method8(v22, v23, v24, v25, v26, v27), - Documents::method49(), + Documents::method50(), v1_1, v2, v3, @@ -3385,13 +3388,13 @@ mod module_2555ccf7 { )) }; } - pub fn method52(v0_1: async_walkdir::DirEntry) -> async_walkdir::DirEntry { + pub fn method53(v0_1: async_walkdir::DirEntry) -> async_walkdir::DirEntry { v0_1 } pub fn closure21(unitVar: (), v0_1: std::io::Error) -> std::string::String { format!("{}", v0_1) } - pub fn method53() -> Func1 { + pub fn method54() -> Func1 { Func1::new(move |v: std::io::Error| Documents::closure21((), v)) } pub fn closure22(unitVar: (), v0_1: std::fs::FileType) -> Documents::US10 { @@ -3400,13 +3403,13 @@ mod module_2555ccf7 { pub fn closure23(unitVar: (), v0_1: std::string::String) -> Documents::US10 { Documents::US10::US10_1(v0_1) } - pub fn method54(v0_1: std::fs::FileType) -> std::fs::FileType { + pub fn method55(v0_1: std::fs::FileType) -> std::fs::FileType { v0_1 } - pub fn method55(v0_1: Documents::US11) -> Documents::US11 { + pub fn method56(v0_1: Documents::US11) -> Documents::US11 { v0_1 } - pub fn method56(v0_1: async_walkdir::Filtering) -> async_walkdir::Filtering { + pub fn method57(v0_1: async_walkdir::Filtering) -> async_walkdir::Filtering { v0_1 } pub fn closure20( @@ -3420,7 +3423,7 @@ mod module_2555ccf7 { let v4: bool = true; let __future_init = Box::pin(async move { //; - let v5: async_walkdir::DirEntry = Documents::method52(v0_1.clone()); + let v5: async_walkdir::DirEntry = Documents::method53(v0_1.clone()); let v7: std::pin::Pin< Box< dyn std::future::Future< @@ -3429,7 +3432,7 @@ mod module_2555ccf7 { >, > = Box::pin(async_walkdir::DirEntry::file_type(&v5)); let v9: Result = v7.await; - let v10 = Documents::method53(); + let v10 = Documents::method54(); let v21: Result = v9.map_err(|x| v10(x)); let v26: Documents::US10 = match &v21 { @@ -3437,8 +3440,8 @@ mod module_2555ccf7 { Ok(v21_0_0) => Documents::closure22((), v21_0_0.clone()), }; let v144: Documents::US11 = - Documents::method55(if let Documents::US10::US10_0(v26_0_0) = &v26 { - let v28: std::fs::FileType = Documents::method54(match &v26 { + Documents::method56(if let Documents::US10::US10_0(v26_0_0) = &v26 { + let v28: std::fs::FileType = Documents::method55(match &v26 { Documents::US10::US10_0(x) => x.clone(), _ => unreachable!(), }); @@ -3493,7 +3496,7 @@ mod module_2555ccf7 { Box + Send>, > = v165; let v169: Documents::US11 = v167.await; - let v179: async_walkdir::Filtering = Documents::method56(match &v169 { + let v179: async_walkdir::Filtering = Documents::method57(match &v169 { Documents::US11::US11_0 => async_walkdir::Filtering::Ignore, Documents::US11::US11_1 => async_walkdir::Filtering::IgnoreDir, _ => async_walkdir::Filtering::Continue, @@ -3517,7 +3520,7 @@ mod module_2555ccf7 { pub fn closure25(unitVar: (), v0_1: async_walkdir::Error) -> std::string::String { format!("{}", v0_1) } - pub fn method58() -> Func1 { + pub fn method59() -> Func1 { Func1::new(move |v: async_walkdir::Error| Documents::closure25((), v)) } pub fn closure26(unitVar: (), v0_1: async_walkdir::DirEntry) -> Documents::US12 { @@ -3526,7 +3529,7 @@ mod module_2555ccf7 { pub fn closure27(unitVar: (), v0_1: std::string::String) -> Documents::US12 { Documents::US12::US12_1(v0_1) } - pub fn method59() -> string { + pub fn method60() -> string { let v6: string = Documents::method13(getCharAt(toLower(string("Critical")), 0_i32)); let v9: &str = inline_colorization::color_bright_red; let v12: &str = &*v6; @@ -3534,7 +3537,7 @@ mod module_2555ccf7 { let v34: std::string::String = format!("{}{}{}", v9, v12, v32); fable_library_rust::String_::fromString(v34) } - pub fn method61(v0_1: std::string::String) -> string { + pub fn method62(v0_1: std::string::String) -> string { let v2: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -3565,7 +3568,7 @@ mod module_2555ccf7 { }; v2.l0.get().clone() } - pub fn method60( + pub fn method61( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -3576,7 +3579,7 @@ mod module_2555ccf7 { v7: string, v8: std::string::String, ) -> string { - let v9: string = Documents::method61(v8); + let v9: string = Documents::method62(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -3606,7 +3609,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method60( + Documents::method19(Documents::method61( v19.clone(), v20.clone(), v21.clone(), @@ -3614,7 +3617,7 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method59(), + Documents::method60(), v0_1, )) }; @@ -3623,7 +3626,7 @@ mod module_2555ccf7 { unitVar: (), v0_1: Result, ) -> Option { - let v1_1 = Documents::method58(); + let v1_1 = Documents::method59(); let v12: Result = v0_1.map_err(|x| v1_1(x)); let v17: Documents::US12 = match &v12 { @@ -3653,7 +3656,7 @@ mod module_2555ccf7 { _ => None::, } } - pub fn method57( + pub fn method58( ) -> Func1, Option> { Func1::new( move |v: Result| { @@ -3661,7 +3664,7 @@ mod module_2555ccf7 { }, ) } - pub fn method63(v0_1: usize) -> string { + pub fn method64(v0_1: usize) -> string { let v2: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -3692,7 +3695,7 @@ mod module_2555ccf7 { }; v2.l0.get().clone() } - pub fn method62( + pub fn method63( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -3703,7 +3706,7 @@ mod module_2555ccf7 { v7: string, v8: usize, ) -> string { - let v9: string = Documents::method63(v8); + let v9: string = Documents::method64(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -3733,7 +3736,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method62( + Documents::method19(Documents::method63( v19.clone(), v20.clone(), v21.clone(), @@ -3741,18 +3744,18 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method49(), + Documents::method50(), v0_1.len(), )) }; } - pub fn method64() -> string { + pub fn method65() -> string { string("") } - pub fn method65(v0_1: string) -> string { + pub fn method66(v0_1: string) -> string { Documents::method40(Documents::method39(v0_1)) } - pub fn method67( + pub fn method68( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -3775,10 +3778,10 @@ mod module_2555ccf7 { move |v: LrcPtr| Documents::closure33(v0_1, v) }) } - pub fn method69() -> Func1, LrcPtr>> { + pub fn method70() -> Func1, LrcPtr>> { Func1::new(move |v: char| Documents::closure32((), v)) } - pub fn method70( + pub fn method71( v0_1: LrcPtr, v1_1: LrcPtr, v2: i32, @@ -3788,8 +3791,8 @@ mod module_2555ccf7 { let v1_1: MutCell> = MutCell::new(v1_1.clone()); let v2: MutCell = MutCell::new(v2); let v3: MutCell = MutCell::new(v3); - '_method70: loop { - break '_method70 (match v0_1.get().clone().as_ref() { + '_method71: loop { + break '_method71 (match v0_1.get().clone().as_ref() { Documents::UH0::UH0_0 => { (v1_1.get().clone(), v2.get().clone(), v3.get().clone()) } @@ -3826,7 +3829,7 @@ mod module_2555ccf7 { v1_1.set(v1_1_temp); v2.set(v2_temp); v3.set(v3_temp); - continue '_method70; + continue '_method71; } } }); @@ -3856,7 +3859,7 @@ mod module_2555ccf7 { let v22: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v20, v22.clone()) { + while Documents::method48(v20, v22.clone()) { let v24: i32 = v22.l0.get().clone(); let v25: char = getCharAt(v17.clone(), v24); v21.get_mut()[v24 as usize] = v25; @@ -3868,10 +3871,10 @@ mod module_2555ccf7 { } { let v27: List = ofArray(v21.clone()); - let patternInput: (LrcPtr, i32, i32) = Documents::method70( + let patternInput: (LrcPtr, i32, i32) = Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v27, LrcPtr::new(Documents::UH0::UH0_0), @@ -3934,7 +3937,7 @@ mod module_2555ccf7 { let v22: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v20, v22.clone()) { + while Documents::method48(v20, v22.clone()) { let v24: i32 = v22.l0.get().clone(); let v25: char = getCharAt(v17.clone(), v24); v21.get_mut()[v24 as usize] = v25; @@ -3946,10 +3949,10 @@ mod module_2555ccf7 { } { let v27: List = ofArray(v21.clone()); - let patternInput: (LrcPtr, i32, i32) = Documents::method70( + let patternInput: (LrcPtr, i32, i32) = Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v27, LrcPtr::new(Documents::UH0::UH0_0), @@ -3988,7 +3991,7 @@ mod module_2555ccf7 { } } } - pub fn method71( + pub fn method72( v0_1: string, v1_1: LrcPtr, v2: LrcPtr, @@ -3996,8 +3999,8 @@ mod module_2555ccf7 { let v0_1: MutCell = MutCell::new(v0_1.clone()); let v1_1: MutCell> = MutCell::new(v1_1.clone()); let v2: MutCell> = MutCell::new(v2.clone()); - '_method71: loop { - break '_method71 (match v2.get().clone().as_ref() { + '_method72: loop { + break '_method72 (match v2.get().clone().as_ref() { Documents::UH1::UH1_0 => { Documents::US14::US14_1(string("choice / no parsers succeeded")) } @@ -4026,18 +4029,18 @@ mod module_2555ccf7 { v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); v2.set(v2_temp); - continue '_method71; + continue '_method72; } } } }); } } - pub fn method72(v0_1: char, v1_1: i64) -> bool { + pub fn method73(v0_1: char, v1_1: i64) -> bool { let v0_1: MutCell = MutCell::new(v0_1); let v1_1: MutCell = MutCell::new(v1_1); - '_method72: loop { - break '_method72 (if v1_1.get().clone() >= 2_i64 { + '_method73: loop { + break '_method73 (if v1_1.get().clone() >= 2_i64 { false } else { let v11: Documents::US16 = if v1_1.get().clone() == 0_i64 { @@ -4066,12 +4069,12 @@ mod module_2555ccf7 { let v1_1_temp: i64 = v1_1.get().clone() + 1_i64; v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method72; + continue '_method73; } }); } } - pub fn method73( + pub fn method74( v0_1: string, v1_1: string, v2: LrcPtr, @@ -4083,8 +4086,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method73: loop { - break '_method73 ({ + '_method74: loop { + break '_method74 ({ let v70: Documents::US14 = if string("") == v1_1.get().clone() { Documents::US14::US14_1(sprintf!( "parsing.none_of / unexpected end of input / chars: {:?} / s: {:?}", @@ -4098,14 +4101,14 @@ mod module_2555ccf7 { Some(1_i32), Some(length(v1_1.get().clone())), ); - if Documents::method72(v19, 0_i64) == false { + if Documents::method73(v19, 0_i64) == false { let v31: string = ofChar(v19); let v34: i32 = length(v31.clone()); let v35: Array = new_init(&'\u{0000}', v34); let v36: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v34, v36.clone()) { + while Documents::method48(v34, v36.clone()) { let v38: i32 = v36.l0.get().clone(); let v39: char = getCharAt(v31.clone(), v38); v35.get_mut()[v38 as usize] = v39; @@ -4118,11 +4121,11 @@ mod module_2555ccf7 { { let v41: List = ofArray(v35.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v41, @@ -4177,7 +4180,7 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method73; + continue '_method74; } _ => Documents::US15::US15_0( v0_1.get().clone(), @@ -4190,7 +4193,7 @@ mod module_2555ccf7 { }); } } - pub fn method74( + pub fn method75( v0_1: string, v1_1: LrcPtr, v2: i32, @@ -4202,8 +4205,8 @@ mod module_2555ccf7 { let v2: MutCell = MutCell::new(v2); let v3: MutCell = MutCell::new(v3); let v4: MutCell> = MutCell::new(v4.clone()); - '_method74: loop { - break '_method74 (match v4.get().clone().as_ref() { + '_method75: loop { + break '_method75 (match v4.get().clone().as_ref() { Documents::UH1::UH1_0 => { Documents::US14::US14_1(string("choice / no parsers succeeded")) } @@ -4236,18 +4239,18 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method74; + continue '_method75; } } } }); } } - pub fn method75(v0_1: char, v1_1: i64) -> bool { + pub fn method76(v0_1: char, v1_1: i64) -> bool { let v0_1: MutCell = MutCell::new(v0_1); let v1_1: MutCell = MutCell::new(v1_1); - '_method75: loop { - break '_method75 (if v1_1.get().clone() >= 3_i64 { + '_method76: loop { + break '_method76 (if v1_1.get().clone() >= 3_i64 { false } else { let v15: Documents::US16 = if v1_1.get().clone() == 0_i64 { @@ -4281,12 +4284,12 @@ mod module_2555ccf7 { let v1_1_temp: i64 = v1_1.get().clone() + 1_i64; v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method75; + continue '_method76; } }); } } - pub fn method76( + pub fn method77( v0_1: string, v1_1: string, v2: LrcPtr, @@ -4298,8 +4301,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method76: loop { - break '_method76 ({ + '_method77: loop { + break '_method77 ({ let v76: Documents::US14 = if string("") == v1_1.get().clone() { Documents::US14::US14_1(sprintf!( "parsing.none_of / unexpected end of input / chars: {:?} / s: {:?}", @@ -4313,14 +4316,14 @@ mod module_2555ccf7 { Some(1_i32), Some(length(v1_1.get().clone())), ); - if Documents::method75(v22, 0_i64) == false { + if Documents::method76(v22, 0_i64) == false { let v34: string = ofChar(v22); let v37: i32 = length(v34.clone()); let v38: Array = new_init(&'\u{0000}', v37); let v39: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v37, v39.clone()) { + while Documents::method48(v37, v39.clone()) { let v41: i32 = v39.l0.get().clone(); let v42: char = getCharAt(v34.clone(), v41); v38.get_mut()[v41 as usize] = v42; @@ -4333,11 +4336,11 @@ mod module_2555ccf7 { { let v44: List = ofArray(v38.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v44, @@ -4392,7 +4395,7 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method76; + continue '_method77; } _ => Documents::US15::US15_0( v0_1.get().clone(), @@ -4405,11 +4408,11 @@ mod module_2555ccf7 { }); } } - pub fn method77(v0_1: string, v1_1: i32) -> i32 { + pub fn method78(v0_1: string, v1_1: i32) -> i32 { let v0_1: MutCell = MutCell::new(v0_1.clone()); let v1_1: MutCell = MutCell::new(v1_1); - '_method77: loop { - break '_method77 (if v1_1.get().clone() >= length(v0_1.get().clone()) { + '_method78: loop { + break '_method78 (if v1_1.get().clone() >= length(v0_1.get().clone()) { v1_1.get().clone() } else { if getCharAt(v0_1.get().clone(), v1_1.get().clone()) == ' ' { @@ -4417,14 +4420,14 @@ mod module_2555ccf7 { let v1_1_temp: i32 = v1_1.get().clone() + 1_i32; v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method77; + continue '_method78; } else { v1_1.get().clone() } }); } } - pub fn method78( + pub fn method79( v0_1: string, v1_1: string, v2: LrcPtr, @@ -4436,8 +4439,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method78: loop { - break '_method78 ({ + '_method79: loop { + break '_method79 ({ let v42: Documents::US14 = if string("") == v1_1.get().clone() { Documents::US14::US14_1(sprintf!( "parsing.any_char / unexpected end of input / s: {:?}", @@ -4456,7 +4459,7 @@ mod module_2555ccf7 { let v22: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v20, v22.clone()) { + while Documents::method48(v20, v22.clone()) { let v24: i32 = v22.l0.get().clone(); let v25: char = getCharAt(v17.clone(), v24); v21.get_mut()[v24 as usize] = v25; @@ -4469,10 +4472,10 @@ mod module_2555ccf7 { { let v27: List = ofArray(v21.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v27, LrcPtr::new(Documents::UH0::UH0_0), @@ -4503,7 +4506,7 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method78; + continue '_method79; } _ => Documents::US15::US15_0( v0_1.get().clone(), @@ -4516,7 +4519,7 @@ mod module_2555ccf7 { }); } } - pub fn method68(v0_1: string) -> Documents::US13 { + pub fn method69(v0_1: string) -> Documents::US13 { let _v0: MutCell>> = MutCell::new(None::>); _v0.set(Some(Some(v0_1))); { @@ -4534,7 +4537,7 @@ mod module_2555ccf7 { fn v13(arg10_0040_1: (string, LrcPtr, i32, i32)) -> Documents::US14 { Documents::closure34((), arg10_0040_1) } - let v17: Documents::US14 = Documents::method71( + let v17: Documents::US14 = Documents::method72( v7.clone(), v11.clone(), LrcPtr::new(Documents::UH1::UH1_1( @@ -4561,14 +4564,14 @@ mod module_2555ccf7 { let v37: char = getCharAt(v19.clone(), 0_i32); let v44: string = getSlice(v19.clone(), Some(1_i32), Some(length(v19.clone()))); - if Documents::method72(v37, 0_i64) == false { + if Documents::method73(v37, 0_i64) == false { let v49: string = ofChar(v37); let v52: i32 = length(v49.clone()); let v53: Array = new_init(&'\u{0000}', v52); let v54: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v52, v54.clone()) { + while Documents::method48(v52, v54.clone()) { let v56: i32 = v54.l0.get().clone(); let v57: char = getCharAt(v49.clone(), v56); v53.get_mut()[v56 as usize] = v57; @@ -4581,11 +4584,11 @@ mod module_2555ccf7 { { let v59: List = ofArray(v53.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v59, @@ -4641,7 +4644,7 @@ mod module_2555ccf7 { v100_0_2, v100_0_3, v100_0_4, - ) => Documents::method73( + ) => Documents::method74( ofChar(v100_0_0.clone()), v100_0_1.clone(), v100_0_2.clone(), @@ -4686,7 +4689,7 @@ mod module_2555ccf7 { let v128: i32 = v124_0_3.clone(); let v127: LrcPtr = v124_0_2.clone(); let v126: string = v124_0_1.clone(); - let v133: Documents::US14 = Documents::method74( + let v133: Documents::US14 = Documents::method75( v126.clone(), v127.clone(), v128, @@ -4747,14 +4750,14 @@ mod module_2555ccf7 { let v177: char = getCharAt(v7.clone(), 0_i32); let v184: string = getSlice(v7.clone(), Some(1_i32), Some(length(v7.clone()))); - if Documents::method75(v177, 0_i64) == false { + if Documents::method76(v177, 0_i64) == false { let v189: string = ofChar(v177); let v192: i32 = length(v189.clone()); let v193: Array = new_init(&'\u{0000}', v192); let v194: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v192, v194.clone()) { + while Documents::method48(v192, v194.clone()) { let v196: i32 = v194.l0.get().clone(); let v197: char = getCharAt(v189.clone(), v196); v193.get_mut()[v196 as usize] = v197; @@ -4767,11 +4770,11 @@ mod module_2555ccf7 { { let v199: List = ofArray(v193.clone()); let patternInput_1: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v199, @@ -4828,7 +4831,7 @@ mod module_2555ccf7 { v245_0_2, v245_0_3, v245_0_4, - ) => Documents::method76( + ) => Documents::method77( ofChar(v245_0_0.clone()), v245_0_1.clone(), v245_0_2.clone(), @@ -4886,7 +4889,7 @@ mod module_2555ccf7 { v280_0_0.clone(), getSlice( v282.clone(), - Some(Documents::method77(v282.clone(), 0_i32)), + Some(Documents::method78(v282.clone(), 0_i32)), Some(length(v282)), ), v280_0_2.clone(), @@ -4924,7 +4927,7 @@ mod module_2555ccf7 { let v327: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v325, v327.clone()) { + while Documents::method48(v325, v327.clone()) { let v329: i32 = v327.l0.get().clone(); let v330: char = getCharAt(v322.clone(), v329); v326.get_mut()[v329 as usize] = v330; @@ -4937,11 +4940,11 @@ mod module_2555ccf7 { { let v332: List = ofArray(v326.clone()); let patternInput_2: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v332, @@ -5035,7 +5038,7 @@ mod module_2555ccf7 { LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v405, v407.clone()) { + while Documents::method48(v405, v407.clone()) { let v409: i32 = v407.l0.get().clone(); let v410: char = getCharAt(v402.clone(), v409); v406.get_mut()[v409 as usize] = v410; @@ -5050,12 +5053,12 @@ mod module_2555ccf7 { let patternInput_3: (LrcPtr, i32, i32) = - Documents::method70(foldBack(Func2::new(move + Documents::method71(foldBack(Func2::new(move |b0: char, b1: LrcPtr| - (Documents::method69())(b0)(b1)), + (Documents::method70())(b0)(b1)), v412, LrcPtr::new(Documents::UH0::UH0_0)), v387, @@ -5077,7 +5080,7 @@ mod module_2555ccf7 { v427_0_2, v427_0_3, v427_0_4, - ) => Documents::method78( + ) => Documents::method79( ofChar(v427_0_0.clone()), v427_0_1.clone(), v427_0_2.clone(), @@ -5150,11 +5153,11 @@ mod module_2555ccf7 { } } } - pub fn method81(v0_1: char, v1_1: i64) -> bool { + pub fn method82(v0_1: char, v1_1: i64) -> bool { let v0_1: MutCell = MutCell::new(v0_1); let v1_1: MutCell = MutCell::new(v1_1); - '_method81: loop { - break '_method81 (if v1_1.get().clone() >= 4_i64 { + '_method82: loop { + break '_method82 (if v1_1.get().clone() >= 4_i64 { false } else { let v19: Documents::US16 = if v1_1.get().clone() == 0_i64 { @@ -5193,12 +5196,12 @@ mod module_2555ccf7 { let v1_1_temp: i64 = v1_1.get().clone() + 1_i64; v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method81; + continue '_method82; } }); } } - pub fn method82( + pub fn method83( v0_1: string, v1_1: string, v2: LrcPtr, @@ -5210,8 +5213,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method82: loop { - break '_method82 ({ + '_method83: loop { + break '_method83 ({ let v82: Documents::US14 = if string("") == v1_1.get().clone() { Documents::US14::US14_1(sprintf!( "parsing.none_of / unexpected end of input / chars: {:?} / s: {:?}", @@ -5225,14 +5228,14 @@ mod module_2555ccf7 { Some(1_i32), Some(length(v1_1.get().clone())), ); - if Documents::method81(v25, 0_i64) == false { + if Documents::method82(v25, 0_i64) == false { let v37: string = ofChar(v25); let v40: i32 = length(v37.clone()); let v41: Array = new_init(&'\u{0000}', v40); let v42: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v40, v42.clone()) { + while Documents::method48(v40, v42.clone()) { let v44: i32 = v42.l0.get().clone(); let v45: char = getCharAt(v37.clone(), v44); v41.get_mut()[v44 as usize] = v45; @@ -5245,11 +5248,11 @@ mod module_2555ccf7 { { let v47: List = ofArray(v41.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v47, @@ -5289,7 +5292,7 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method82; + continue '_method83; } _ => Documents::US15::US15_0( v0_1.get().clone(), @@ -5302,11 +5305,11 @@ mod module_2555ccf7 { }); } } - pub fn method84(v0_1: char, v1_1: i64) -> bool { + pub fn method85(v0_1: char, v1_1: i64) -> bool { let v0_1: MutCell = MutCell::new(v0_1); let v1_1: MutCell = MutCell::new(v1_1); - '_method84: loop { - break '_method84 (if v1_1.get().clone() >= 3_i64 { + '_method85: loop { + break '_method85 (if v1_1.get().clone() >= 3_i64 { false } else { let v15: Documents::US16 = if v1_1.get().clone() == 0_i64 { @@ -5340,7 +5343,7 @@ mod module_2555ccf7 { let v1_1_temp: i64 = v1_1.get().clone() + 1_i64; v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method84; + continue '_method85; } }); } @@ -5369,7 +5372,7 @@ mod module_2555ccf7 { let v22: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v20, v22.clone()) { + while Documents::method48(v20, v22.clone()) { let v24: i32 = v22.l0.get().clone(); let v25: char = getCharAt(v17.clone(), v24); v21.get_mut()[v24 as usize] = v25; @@ -5381,10 +5384,10 @@ mod module_2555ccf7 { } { let v27: List = ofArray(v21.clone()); - let patternInput: (LrcPtr, i32, i32) = Documents::method70( + let patternInput: (LrcPtr, i32, i32) = Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v27, LrcPtr::new(Documents::UH0::UH0_0), @@ -5442,7 +5445,7 @@ mod module_2555ccf7 { let v90: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v88, v90.clone()) { + while Documents::method48(v88, v90.clone()) { let v92: i32 = v90.l0.get().clone(); let v93: char = getCharAt(v85.clone(), v92); v89.get_mut()[v92 as usize] = v93; @@ -5455,10 +5458,10 @@ mod module_2555ccf7 { { let v95: List = ofArray(v89.clone()); let patternInput_1: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v95, LrcPtr::new(Documents::UH0::UH0_0), @@ -5516,7 +5519,7 @@ mod module_2555ccf7 { let v22: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v20, v22.clone()) { + while Documents::method48(v20, v22.clone()) { let v24: i32 = v22.l0.get().clone(); let v25: char = getCharAt(v17.clone(), v24); v21.get_mut()[v24 as usize] = v25; @@ -5528,10 +5531,10 @@ mod module_2555ccf7 { } { let v27: List = ofArray(v21.clone()); - let patternInput: (LrcPtr, i32, i32) = Documents::method70( + let patternInput: (LrcPtr, i32, i32) = Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v27, LrcPtr::new(Documents::UH0::UH0_0), @@ -5589,7 +5592,7 @@ mod module_2555ccf7 { let v90: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v88, v90.clone()) { + while Documents::method48(v88, v90.clone()) { let v92: i32 = v90.l0.get().clone(); let v93: char = getCharAt(v85.clone(), v92); v89.get_mut()[v92 as usize] = v93; @@ -5602,10 +5605,10 @@ mod module_2555ccf7 { { let v95: List = ofArray(v89.clone()); let patternInput_1: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new(move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }), v95, LrcPtr::new(Documents::UH0::UH0_0), @@ -5639,7 +5642,7 @@ mod module_2555ccf7 { Documents::US14::US14_1(v114_1_0) => Documents::US15::US15_1(v114_1_0.clone()), } } - pub fn method85( + pub fn method86( v0_1: string, v1_1: LrcPtr, v2: i32, @@ -5651,8 +5654,8 @@ mod module_2555ccf7 { let v2: MutCell = MutCell::new(v2); let v3: MutCell = MutCell::new(v3); let v4: MutCell> = MutCell::new(v4.clone()); - '_method85: loop { - break '_method85 (match v4.get().clone().as_ref() { + '_method86: loop { + break '_method86 (match v4.get().clone().as_ref() { Documents::UH3::UH3_0 => { Documents::US15::US15_1(string("choice / no parsers succeeded")) } @@ -5685,21 +5688,21 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method85; + continue '_method86; } } } }); } } - pub fn method86( + pub fn method87( v0_1: LrcPtr, v1_1: LrcPtr, ) -> LrcPtr { let v0_1: MutCell> = MutCell::new(v0_1.clone()); let v1_1: MutCell> = MutCell::new(v1_1.clone()); - '_method86: loop { - break '_method86 (match v0_1.get().clone().as_ref() { + '_method87: loop { + break '_method87 (match v0_1.get().clone().as_ref() { Documents::UH2::UH2_0 => v1_1.get().clone(), Documents::UH2::UH2_1(v0_1_1_0, v0_1_1_1) => { let v0_1_temp: LrcPtr = match v0_1.get().clone().as_ref() { @@ -5715,12 +5718,12 @@ mod module_2555ccf7 { )); v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method86; + continue '_method87; } }); } } - pub fn method83( + pub fn method84( v0_1: LrcPtr, v1_1: string, v2: LrcPtr, @@ -5732,8 +5735,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method83: loop { - break '_method83 ({ + '_method84: loop { + break '_method84 ({ let v76: Documents::US14 = if string("") == v1_1.get().clone() { Documents::US14::US14_1(sprintf!( "parsing.none_of / unexpected end of input / chars: {:?} / s: {:?}", @@ -5747,14 +5750,14 @@ mod module_2555ccf7 { Some(1_i32), Some(length(v1_1.get().clone())), ); - if Documents::method84(v22, 0_i64) == false { + if Documents::method85(v22, 0_i64) == false { let v34: string = ofChar(v22); let v37: i32 = length(v34.clone()); let v38: Array = new_init(&'\u{0000}', v37); let v39: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v37, v39.clone()) { + while Documents::method48(v37, v39.clone()) { let v41: i32 = v39.l0.get().clone(); let v42: char = getCharAt(v34.clone(), v41); v38.get_mut()[v41 as usize] = v42; @@ -5767,11 +5770,11 @@ mod module_2555ccf7 { { let v44: List = ofArray(v38.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v44, @@ -5816,7 +5819,7 @@ mod module_2555ccf7 { Documents::US15::US15_0(v90_0_0, v90_0_1, v90_0_2, v90_0_3, v90_0_4) => { v90.clone() } - _ => Documents::method85( + _ => Documents::method86( v1_1.get().clone(), v2.get().clone(), v3.get().clone(), @@ -5863,10 +5866,10 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method83; + continue '_method84; } _ => Documents::US22::US22_0( - Documents::method86( + Documents::method87( v0_1.get().clone(), LrcPtr::new(Documents::UH2::UH2_0), ), @@ -5879,7 +5882,7 @@ mod module_2555ccf7 { }); } } - pub fn method87(v0_1: LrcPtr, v1_1: List) -> List { + pub fn method88(v0_1: LrcPtr, v1_1: List) -> List { match v0_1.as_ref() { Documents::UH2::UH2_0 => v1_1.clone(), Documents::UH2::UH2_1(v0_1_1_0, v0_1_1_1) => cons( @@ -5887,7 +5890,7 @@ mod module_2555ccf7 { Documents::UH2::UH2_1(x, _) => x.clone(), _ => unreachable!(), }, - Documents::method87( + Documents::method88( match v0_1.as_ref() { Documents::UH2::UH2_1(_, x) => x.clone(), _ => unreachable!(), @@ -5897,7 +5900,7 @@ mod module_2555ccf7 { ), } } - pub fn method88( + pub fn method89( v0_1: LrcPtr, v1_1: string, v2: LrcPtr, @@ -5909,8 +5912,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method88: loop { - break '_method88 ({ + '_method89: loop { + break '_method89 ({ let v76: Documents::US14 = if string("") == v1_1.get().clone() { Documents::US14::US14_1(sprintf!( "parsing.none_of / unexpected end of input / chars: {:?} / s: {:?}", @@ -5924,14 +5927,14 @@ mod module_2555ccf7 { Some(1_i32), Some(length(v1_1.get().clone())), ); - if Documents::method84(v22, 0_i64) == false { + if Documents::method85(v22, 0_i64) == false { let v34: string = ofChar(v22); let v37: i32 = length(v34.clone()); let v38: Array = new_init(&'\u{0000}', v37); let v39: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v37, v39.clone()) { + while Documents::method48(v37, v39.clone()) { let v41: i32 = v39.l0.get().clone(); let v42: char = getCharAt(v34.clone(), v41); v38.get_mut()[v41 as usize] = v42; @@ -5944,11 +5947,11 @@ mod module_2555ccf7 { { let v44: List = ofArray(v38.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v44, @@ -6003,10 +6006,10 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method88; + continue '_method89; } _ => Documents::US22::US22_0( - Documents::method86( + Documents::method87( v0_1.get().clone(), LrcPtr::new(Documents::UH2::UH2_0), ), @@ -6019,11 +6022,11 @@ mod module_2555ccf7 { }); } } - pub fn method89(v0_1: string, v1_1: i32) -> i32 { + pub fn method90(v0_1: string, v1_1: i32) -> i32 { let v0_1: MutCell = MutCell::new(v0_1.clone()); let v1_1: MutCell = MutCell::new(v1_1); - '_method89: loop { - break '_method89 (if v1_1.get().clone() >= length(v0_1.get().clone()) { + '_method90: loop { + break '_method90 (if v1_1.get().clone() >= length(v0_1.get().clone()) { v1_1.get().clone() } else { if getCharAt(v0_1.get().clone(), v1_1.get().clone()) == ' ' { @@ -6031,14 +6034,14 @@ mod module_2555ccf7 { let v1_1_temp: i32 = v1_1.get().clone() + 1_i32; v0_1.set(v0_1_temp); v1_1.set(v1_1_temp); - continue '_method89; + continue '_method90; } else { v1_1.get().clone() } }); } } - pub fn method80( + pub fn method81( v0_1: LrcPtr, v1_1: string, v2: LrcPtr, @@ -6050,8 +6053,8 @@ mod module_2555ccf7 { let v2: MutCell> = MutCell::new(v2.clone()); let v3: MutCell = MutCell::new(v3); let v4: MutCell = MutCell::new(v4); - '_method80: loop { - break '_method80 ({ + '_method81: loop { + break '_method81 ({ let v5: bool = string("") == v1_1.get().clone(); let v82: Documents::US14 = if v5 { Documents::US14::US14_1(sprintf!( @@ -6066,14 +6069,14 @@ mod module_2555ccf7 { Some(1_i32), Some(length(v1_1.get().clone())), ); - if Documents::method81(v25, 0_i64) == false { + if Documents::method82(v25, 0_i64) == false { let v37: string = ofChar(v25); let v40: i32 = length(v37.clone()); let v41: Array = new_init(&'\u{0000}', v40); let v42: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v40, v42.clone()) { + while Documents::method48(v40, v42.clone()) { let v44: i32 = v42.l0.get().clone(); let v45: char = getCharAt(v37.clone(), v44); v41.get_mut()[v44 as usize] = v45; @@ -6086,11 +6089,11 @@ mod module_2555ccf7 { { let v47: List = ofArray(v41.clone()); let patternInput: (LrcPtr, i32, i32) = - Documents::method70( + Documents::method71( foldBack( Func2::new( move |b0: char, b1: LrcPtr| { - (Documents::method69())(b0)(b1) + (Documents::method70())(b0)(b1) }, ), v47, @@ -6119,7 +6122,7 @@ mod module_2555ccf7 { }; let v96: Documents::US15 = match &v82 { Documents::US14::US14_0(v82_0_0, v82_0_1, v82_0_2, v82_0_3, v82_0_4) => { - Documents::method82( + Documents::method83( ofChar(v82_0_0.clone()), v82_0_1.clone(), v82_0_2.clone(), @@ -6156,7 +6159,7 @@ mod module_2555ccf7 { LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v118, v120.clone()) { + while Documents::method48(v118, v120.clone()) { let v122: i32 = v120.l0.get().clone(); let v123: char = getCharAt(v115.clone(), v122); v119.get_mut()[v122 as usize] = v123; @@ -6171,12 +6174,12 @@ mod module_2555ccf7 { let patternInput_1: (LrcPtr, i32, i32) = - Documents::method70(foldBack(Func2::new(move + Documents::method71(foldBack(Func2::new(move |b0: char, b1: LrcPtr| - (Documents::method69())(b0)(b1)), + (Documents::method70())(b0)(b1)), v125, LrcPtr::new(Documents::UH0::UH0_0)), v2.get().clone(), @@ -6229,7 +6232,7 @@ mod module_2555ccf7 { let v169: i32 = v165_0_3.clone(); let v168: LrcPtr = v165_0_2.clone(); let v167: string = v165_0_1.clone(); - let v172: Documents::US22 = Documents::method83( + let v172: Documents::US22 = Documents::method84( LrcPtr::new(Documents::UH2::UH2_0), v167.clone(), v168.clone(), @@ -6244,7 +6247,7 @@ mod module_2555ccf7 { v172_0_3, v172_0_4, ) => { - let v179: List = Documents::method87( + let v179: List = Documents::method88( v172_0_0.clone(), empty::(), ); @@ -6315,7 +6318,7 @@ mod module_2555ccf7 { LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v215, v217.clone()) { + while Documents::method48(v215, v217.clone()) { let v219: i32 = v217.l0.get().clone(); let v220: char = getCharAt(v212.clone(), v219); @@ -6333,12 +6336,12 @@ mod module_2555ccf7 { (LrcPtr, i32, i32) = - Documents::method70(foldBack(Func2::new(move + Documents::method71(foldBack(Func2::new(move |b0: char, b1: LrcPtr| - (Documents::method69())(b0)(b1)), + (Documents::method70())(b0)(b1)), v222, LrcPtr::new(Documents::UH0::UH0_0)), v196.clone(), @@ -6428,7 +6431,7 @@ mod module_2555ccf7 { ) => v282.clone(), _ => { let v294: Documents::US15 = - Documents::method85(v1_1.get().clone(), + Documents::method86(v1_1.get().clone(), v2.get().clone(), v3.get().clone(), v4.get().clone(), @@ -6474,7 +6477,7 @@ mod module_2555ccf7 { v305_0_2, v305_0_3, v305_0_4, - ) => Documents::method88( + ) => Documents::method89( LrcPtr::new(Documents::UH2::UH2_0), v305_0_1.clone(), v305_0_2.clone(), @@ -6493,7 +6496,7 @@ mod module_2555ccf7 { v316_0_3, v316_0_4, ) => { - let v323: List = Documents::method87( + let v323: List = Documents::method88( v316_0_0.clone(), empty::(), ); @@ -6546,7 +6549,7 @@ mod module_2555ccf7 { let v348: LrcPtr = v341_0_2.clone(); let v347: string = v341_0_1.clone(); let v346: string = v341_0_0.clone(); - let v352: i32 = Documents::method89(v347.clone(), 0_i32); + let v352: i32 = Documents::method90(v347.clone(), 0_i32); let v364: Documents::US17 = if 0_i32 == v352 { Documents::US17::US17_1(string( "spaces1 / expected at least one space", @@ -6573,10 +6576,10 @@ mod module_2555ccf7 { v2.set(v2_temp); v3.set(v3_temp); v4.set(v4_temp); - continue '_method80; + continue '_method81; } _ => Documents::US22::US22_0( - Documents::method86( + Documents::method87( v0_1.get().clone(), LrcPtr::new(Documents::UH2::UH2_1( v346.clone(), @@ -6591,7 +6594,7 @@ mod module_2555ccf7 { } } _ => Documents::US22::US22_0( - Documents::method86( + Documents::method87( v0_1.get().clone(), LrcPtr::new(Documents::UH2::UH2_0), ), @@ -6604,11 +6607,11 @@ mod module_2555ccf7 { }); } } - pub fn method79(v0_1: string) -> Documents::US21 { + pub fn method80(v0_1: string) -> Documents::US21 { let _v0: MutCell>> = MutCell::new(None::>); _v0.set(Some(Some(v0_1))); { - let v15: Documents::US22 = Documents::method80( + let v15: Documents::US22 = Documents::method81( LrcPtr::new(Documents::UH2::UH2_0), defaultValue( string(""), @@ -6623,7 +6626,7 @@ mod module_2555ccf7 { ); match &v15 { Documents::US22::US22_0(v15_0_0, v15_0_1, v15_0_2, v15_0_3, v15_0_4) => { - Documents::US21::US21_0(toArray(Documents::method87( + Documents::US21::US21_0(toArray(Documents::method88( v15_0_0.clone(), empty::(), ))) @@ -6632,7 +6635,7 @@ mod module_2555ccf7 { } } } - pub fn method91( + pub fn method92( v0_1: string, v1_1: string, v2: string, @@ -6844,7 +6847,7 @@ mod module_2555ccf7 { }; v10.l0.get().clone() } - pub fn method90( + pub fn method91( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -6863,7 +6866,7 @@ mod module_2555ccf7 { v15: bool, v16: Option, ) -> string { - let v17: string = Documents::method91(v8, v9, v10, v11, v12, v13, v14, v15, v16); + let v17: string = Documents::method92(v8, v9, v10, v11, v12, v13, v14, v15, v16); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -6904,7 +6907,7 @@ mod module_2555ccf7 { let v29: LrcPtr = patternInput.2.clone(); let v28: LrcPtr = patternInput.1.clone(); let v27: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method90( + Documents::method19(Documents::method91( v27.clone(), v28.clone(), v29.clone(), @@ -6912,7 +6915,7 @@ mod module_2555ccf7 { v31.clone(), v32.clone(), Documents::method8(v27, v28, v29, v30, v31, v32), - Documents::method49(), + Documents::method50(), v7, sprintf!("{:?}", v8), v0_1, @@ -6931,7 +6934,7 @@ mod module_2555ccf7 { ) -> Option { v0_1 } - pub fn method92() -> Func1, Option> { + pub fn method93() -> Func1, Option> { Func1::new(move |v: Option| Documents::closure38((), v)) } pub fn closure39( @@ -6940,7 +6943,7 @@ mod module_2555ccf7 { ) -> Documents::US23 { Documents::US23::US23_0(v0_1) } - pub fn method93( + pub fn method94( ) -> Func1>>, Documents::US23> { Func1::new( @@ -6952,10 +6955,10 @@ mod module_2555ccf7 { pub fn closure40(unitVar: (), v0_1: std::string::String) -> Documents::US23 { Documents::US23::US23_1(v0_1) } - pub fn method94() -> Func1 { + pub fn method95() -> Func1 { Func1::new(move |v: std::string::String| Documents::closure40((), v)) } - pub fn method95( + pub fn method96( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -6966,7 +6969,7 @@ mod module_2555ccf7 { v7: string, v8: std::string::String, ) -> string { - let v9: string = Documents::method61(v8); + let v9: string = Documents::method62(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -6996,7 +6999,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method95( + Documents::method19(Documents::method96( v19.clone(), v20.clone(), v21.clone(), @@ -7004,12 +7007,12 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method59(), + Documents::method60(), v0_1, )) }; } - pub fn method96( + pub fn method97( v0_1: std::sync::MutexGuard>, ) -> std::sync::MutexGuard> { v0_1 @@ -7020,7 +7023,7 @@ mod module_2555ccf7 { ) -> Option { v0_1 } - pub fn method97( + pub fn method98( ) -> Func1, Option> { Func1::new(move |v: Option| Documents::closure42((), v)) } @@ -7030,7 +7033,7 @@ mod module_2555ccf7 { ) -> std::sync::mpsc::Sender { v0_1 } - pub fn method98() -> Func1< + pub fn method99() -> Func1< std::sync::mpsc::Sender, std::sync::mpsc::Sender, > { @@ -7038,7 +7041,7 @@ mod module_2555ccf7 { Documents::closure43((), v) }) } - pub fn method99() -> Func1< + pub fn method100() -> Func1< std::sync::mpsc::Sender, std::sync::mpsc::Sender, > { @@ -7052,7 +7055,7 @@ mod module_2555ccf7 { ) -> std::sync::Arc> { v0_1 } - pub fn method100() -> Func1< + pub fn method101() -> Func1< std::sync::Arc>, std::sync::Arc>, > { @@ -7065,16 +7068,16 @@ mod module_2555ccf7 { pub fn closure45(unitVar: (), v0_1: std::string::String) -> Documents::US25 { Documents::US25::US25_0(v0_1) } - pub fn method101() -> Func1 { + pub fn method102() -> Func1 { Func1::new(move |v: std::string::String| Documents::closure45((), v)) } pub fn closure46(unitVar: (), v0_1: std::string::String) -> Documents::US25 { Documents::US25::US25_1(v0_1) } - pub fn method102() -> Func1 { + pub fn method103() -> Func1 { Func1::new(move |v: std::string::String| Documents::closure46((), v)) } - pub fn method104(v0_1: std::string::String) -> string { + pub fn method105(v0_1: std::string::String) -> string { let v2: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -7105,7 +7108,7 @@ mod module_2555ccf7 { }; v2.l0.get().clone() } - pub fn method103( + pub fn method104( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7117,7 +7120,7 @@ mod module_2555ccf7 { v8: string, v9: std::string::String, ) -> string { - let v10: string = Documents::method104(v9); + let v10: string = Documents::method105(v9); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -7147,7 +7150,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method103( + Documents::method19(Documents::method104( v19.clone(), v20.clone(), v21.clone(), @@ -7155,13 +7158,13 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method59(), + Documents::method60(), string("runtime.stdio_line"), v0_1, )) }; } - pub fn method105() -> string { + pub fn method106() -> string { let v6: string = Documents::method13(getCharAt(toLower(string("Verbose")), 0_i32)); let v9: &str = inline_colorization::color_bright_black; let v12: &str = &*v6; @@ -7169,13 +7172,13 @@ mod module_2555ccf7 { let v34: std::string::String = format!("{}{}{}", v9, v12, v32); fable_library_rust::String_::fromString(v34) } - pub fn method107() -> string { + pub fn method108() -> string { let v1_1: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); v1_1.l0.get().clone() } - pub fn method106( + pub fn method107( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7186,7 +7189,7 @@ mod module_2555ccf7 { v7: string, v8: string, ) -> string { - let v9: string = Documents::method107(); + let v9: string = Documents::method108(); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -7219,7 +7222,7 @@ mod module_2555ccf7 { Documents::method19(if v0_1.clone() == string("") { string("") } else { - Documents::method106( + Documents::method107( v19.clone(), v20.clone(), v21.clone(), @@ -7227,7 +7230,7 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method105(), + Documents::method106(), v0_1, ) }) @@ -7239,13 +7242,13 @@ mod module_2555ccf7 { ) -> std::string::String { format!("{}", v0_1) } - pub fn method108( + pub fn method109( ) -> Func1, std::string::String> { Func1::new(move |v: std::sync::mpsc::SendError| { Documents::closure49((), v) }) } - pub fn method109(v0_1: Result<(), string>) -> Result<(), string> { + pub fn method110(v0_1: Result<(), string>) -> Result<(), string> { v0_1 } pub fn closure50( @@ -7254,7 +7257,7 @@ mod module_2555ccf7 { ) -> Documents::US26 { Documents::US26::US26_0(v0_1) } - pub fn method110() -> Func1< + pub fn method111() -> Func1< Func1>, ()>, Documents::US26, > { @@ -7264,7 +7267,7 @@ mod module_2555ccf7 { }, ) } - pub fn method111( + pub fn method112( v0_1: std::sync::MutexGuard>, ) -> std::sync::MutexGuard> { v0_1 @@ -7275,7 +7278,7 @@ mod module_2555ccf7 { ) -> Documents::US27 { Documents::US27::US27_0(v0_1) } - pub fn method112( + pub fn method113( ) -> Func1>, Documents::US27> { Func1::new( @@ -7284,12 +7287,12 @@ mod module_2555ccf7 { }, ) } - pub fn method113( + pub fn method114( v0_1: std::sync::MutexGuard, ) -> std::sync::MutexGuard { v0_1 } - pub fn method114( + pub fn method115( v0_1: std::thread::JoinHandle>, ) -> std::thread::JoinHandle> { v0_1 @@ -7300,7 +7303,7 @@ mod module_2555ccf7 { pub fn closure53(unitVar: (), v0_1: std::string::String) -> Documents::US28 { Documents::US28::US28_1(v0_1) } - pub fn method115( + pub fn method116( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7311,7 +7314,7 @@ mod module_2555ccf7 { v7: string, v8: std::string::String, ) -> string { - let v9: string = Documents::method61(v8); + let v9: string = Documents::method62(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -7341,7 +7344,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method115( + Documents::method19(Documents::method116( v19.clone(), v20.clone(), v21.clone(), @@ -7349,7 +7352,7 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method59(), + Documents::method60(), v0_1, )) }; @@ -7357,10 +7360,10 @@ mod module_2555ccf7 { pub fn closure55(unitVar: (), v0_1: i32) -> Documents::US29 { Documents::US29::US29_0(v0_1) } - pub fn method116() -> Func1 { + pub fn method117() -> Func1 { Func1::new(move |v: i32| Documents::closure55((), v)) } - pub fn method118(v0_1: i32, v1_1: i32) -> string { + pub fn method119(v0_1: i32, v1_1: i32) -> string { let v3: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -7402,7 +7405,7 @@ mod module_2555ccf7 { }; v3.l0.get().clone() } - pub fn method117( + pub fn method118( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7414,7 +7417,7 @@ mod module_2555ccf7 { v8: i32, v9: i32, ) -> string { - let v10: string = Documents::method118(v8, v9); + let v10: string = Documents::method119(v8, v9); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -7444,7 +7447,7 @@ mod module_2555ccf7 { let v22: LrcPtr = patternInput.2.clone(); let v21: LrcPtr = patternInput.1.clone(); let v20: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method117( + Documents::method19(Documents::method118( v20.clone(), v21.clone(), v22.clone(), @@ -7452,13 +7455,13 @@ mod module_2555ccf7 { v24.clone(), v25.clone(), Documents::method8(v20, v21, v22, v23, v24, v25), - Documents::method105(), + Documents::method106(), v0_1, length(v1_1), )) }; } - pub fn method121( + pub fn method122( v0_1: string, v1_1: Documents::US1, v2: string, @@ -7670,7 +7673,7 @@ mod module_2555ccf7 { }; v10.l0.get().clone() } - pub fn method120( + pub fn method121( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7689,7 +7692,7 @@ mod module_2555ccf7 { v15: bool, v16: Option, ) -> string { - let v17: string = Documents::method121(v8, v9, v10, v11, v12, v13, v14, v15, v16); + let v17: string = Documents::method122(v8, v9, v10, v11, v12, v13, v14, v15, v16); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -7730,7 +7733,7 @@ mod module_2555ccf7 { let v29: LrcPtr = patternInput.2.clone(); let v28: LrcPtr = patternInput.1.clone(); let v27: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method120( + Documents::method19(Documents::method121( v27.clone(), v28.clone(), v29.clone(), @@ -7738,7 +7741,7 @@ mod module_2555ccf7 { v31.clone(), v32.clone(), Documents::method8(v27, v28, v29, v30, v31, v32), - Documents::method49(), + Documents::method50(), v8, v7, v0_1, @@ -7757,7 +7760,7 @@ mod module_2555ccf7 { ) -> Documents::US30 { Documents::US30::US30_0(v0_1) } - pub fn method122() -> Func1>>, Documents::US30> { + pub fn method123() -> Func1>>, Documents::US30> { Func1::new(move |v: Func1<(i32, string, bool), Arc>>| { Documents::closure59((), v) }) @@ -7785,7 +7788,7 @@ mod module_2555ccf7 { Documents::method19(if v0_1.clone() == string("") { string("") } else { - Documents::method106( + Documents::method107( v19.clone(), v20.clone(), v21.clone(), @@ -7793,7 +7796,7 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method105(), + Documents::method106(), v0_1, ) }) @@ -7836,7 +7839,7 @@ mod module_2555ccf7 { pub fn closure62(unitVar: (), v0_1: CancellationToken) -> Documents::US31 { Documents::US31::US31_0(v0_1) } - pub fn method123() -> Func1 { + pub fn method124() -> Func1 { Func1::new(move |v: CancellationToken| Documents::closure62((), v)) } pub fn closure63(v0_1: (), unitVar: ()) { @@ -7845,7 +7848,7 @@ mod module_2555ccf7 { () }; } - pub fn method125(v0_1: LrcPtr) -> string { + pub fn method126(v0_1: LrcPtr) -> string { let v2: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -7876,7 +7879,7 @@ mod module_2555ccf7 { }; v2.l0.get().clone() } - pub fn method124( + pub fn method125( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7887,7 +7890,7 @@ mod module_2555ccf7 { v7: string, v8: LrcPtr, ) -> string { - let v9: string = Documents::method125(v8); + let v9: string = Documents::method126(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -7917,7 +7920,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method124( + Documents::method19(Documents::method125( v19.clone(), v20.clone(), v21.clone(), @@ -7930,7 +7933,7 @@ mod module_2555ccf7 { )) }; } - pub fn method127(v0_1: i32, v1_1: i32) -> string { + pub fn method128(v0_1: i32, v1_1: i32) -> string { let v3: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -7972,7 +7975,7 @@ mod module_2555ccf7 { }; v3.l0.get().clone() } - pub fn method126( + pub fn method127( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -7984,7 +7987,7 @@ mod module_2555ccf7 { v8: i32, v9: i32, ) -> string { - let v10: string = Documents::method127(v8, v9); + let v10: string = Documents::method128(v8, v9); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -8014,7 +8017,7 @@ mod module_2555ccf7 { let v22: LrcPtr = patternInput.2.clone(); let v21: LrcPtr = patternInput.1.clone(); let v20: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method126( + Documents::method19(Documents::method127( v20.clone(), v21.clone(), v22.clone(), @@ -8022,13 +8025,13 @@ mod module_2555ccf7 { v24.clone(), v25.clone(), Documents::method8(v20, v21, v22, v23, v24, v25), - Documents::method49(), + Documents::method50(), v0_1, length(v1_1), )) }; } - pub fn method119( + pub fn method120( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -8039,7 +8042,7 @@ mod module_2555ccf7 { ) -> Arc> { defaultOf() } - pub fn method66( + pub fn method67( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -8048,7 +8051,7 @@ mod module_2555ccf7 { v5: bool, v6: Option, ) -> (i32, string) { - let v9: Documents::US13 = Documents::method68(Documents::method67( + let v9: Documents::US13 = Documents::method69(Documents::method68( v0_1.clone(), v1_1.clone(), v2.clone(), @@ -8066,7 +8069,7 @@ mod module_2555ccf7 { }; let v19: Documents::US1 = patternInput.1.clone(); let v18: string = patternInput.0.clone(); - let v24: Documents::US21 = Documents::method79(match &v19 { + let v24: Documents::US21 = Documents::method80(match &v19 { Documents::US1::US1_0(v19_0_0) => match &v19 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), @@ -8171,10 +8174,10 @@ mod module_2555ccf7 { }; let v188: Result = std::process::Command::spawn(v186); - let v189 = Documents::method53(); + let v189 = Documents::method54(); let v192: Result = v188.map_err(|x| v189(x)); - let v203 = Documents::method92(); + let v203 = Documents::method93(); let v205: bool = true; let _result_map_ = v192.map(|x| { //; @@ -8191,8 +8194,8 @@ mod module_2555ccf7 { std::sync::Arc>>, std::string::String, > = _result_map_; - let v220 = Documents::method93(); - let v221 = Documents::method94(); + let v220 = Documents::method94(); + let v221 = Documents::method95(); let v223: Documents::US23 = match v219 { Ok(x) => v220(x), Err(e) => v221(e), @@ -8215,7 +8218,7 @@ mod module_2555ccf7 { >, > = v228.lock(); let v244: std::sync::MutexGuard> = - Documents::method96(v230.unwrap()); + Documents::method97(v230.unwrap()); let v246: bool = true; let mut v244 = v244; let v248: &mut Option = &mut v244; @@ -8243,7 +8246,7 @@ mod module_2555ccf7 { >, > = v266.lock(); let v282: std::sync::MutexGuard> = - Documents::method96(v268.unwrap()); + Documents::method97(v268.unwrap()); let v284: bool = true; let mut v282 = v282; let v286: &mut Option = &mut v282; @@ -8271,7 +8274,7 @@ mod module_2555ccf7 { >, > = v304.lock(); let v320: std::sync::MutexGuard> = - Documents::method96(v306.unwrap()); + Documents::method97(v306.unwrap()); let v322: bool = true; let mut v320 = v320; let v324: &mut Option = &mut v320; @@ -8282,7 +8285,7 @@ mod module_2555ccf7 { let v332: Option = Option::take(v330); let v334: std::process::ChildStdin = v332.unwrap(); let v339: Option = - (Documents::method97())(Some(v334)); + (Documents::method98())(Some(v334)); let v341: std::sync::Mutex> = std::sync::Mutex::new(v339); let v343: std::sync::Arc< @@ -8304,7 +8307,7 @@ mod module_2555ccf7 { let v349: std::sync::mpsc::Sender = patternInput_2.0.clone(); let v352: std::sync::mpsc::Sender = - (Documents::method98())(v349.clone()); + (Documents::method99())(v349.clone()); let v354: std::sync::Mutex< std::sync::mpsc::Sender, > = std::sync::Mutex::new(v352); @@ -8312,7 +8315,7 @@ mod module_2555ccf7 { std::sync::Mutex>, > = std::sync::Arc::new(v354); let v358: std::sync::mpsc::Sender = - (Documents::method99())(v349); + (Documents::method100())(v349); let v360: std::sync::Mutex< std::sync::mpsc::Sender, > = std::sync::Mutex::new(v358); @@ -8321,7 +8324,7 @@ mod module_2555ccf7 { > = std::sync::Arc::new(v360); let v364: std::sync::Arc< std::sync::mpsc::Receiver, - > = (Documents::method100())(patternInput_2.1.clone()); + > = (Documents::method101())(patternInput_2.1.clone()); let v366: std::sync::Mutex< std::sync::Arc>, > = std::sync::Mutex::new(v364); @@ -8365,11 +8368,11 @@ mod module_2555ccf7 { std::sync::mpsc::Sender, >, > = v356.clone(); - let v383 = Documents::method53(); + let v383 = Documents::method54(); let v386: Result = v380.map_err(|x| v383(x)); - let v397 = Documents::method101(); - let v398 = Documents::method102(); + let v397 = Documents::method102(); + let v398 = Documents::method103(); let v400: Documents::US25 = match v386 { Ok(x) => v397(x), Err(e) => v398(e), @@ -8446,14 +8449,14 @@ mod module_2555ccf7 { (), std::sync::mpsc::SendError, > = v608.send(v589); - let v611 = Documents::method108(); + let v611 = Documents::method109(); let v614: Result<(), std::string::String> = v610.map_err(|x| v611(x)); let v626: _ = v614; let v628: bool = true; v626 }); //; - let v631: Result<(), string> = Documents::method109( + let v631: Result<(), string> = Documents::method110( _iter_try_for_each.map_err(|x| x.into()), ); let v634: string = string("}"); @@ -8506,11 +8509,11 @@ mod module_2555ccf7 { std::sync::mpsc::Sender, >, > = v362.clone(); - let v667 = Documents::method53(); + let v667 = Documents::method54(); let v670: Result = v664.map_err(|x| v667(x)); - let v681 = Documents::method101(); - let v682 = Documents::method102(); + let v681 = Documents::method102(); + let v682 = Documents::method103(); let v684: Documents::US25 = match v670 { Ok(x) => v681(x), Err(e) => v682(e), @@ -8594,14 +8597,14 @@ mod module_2555ccf7 { (), std::sync::mpsc::SendError, > = v933.send(v914); - let v936 = Documents::method108(); + let v936 = Documents::method109(); let v939: Result<(), std::string::String> = v935.map_err(|x| v936(x)); let v951: _ = v939; let v953: bool = true; v951 }); //; - let v956: Result<(), string> = Documents::method109( + let v956: Result<(), string> = Documents::method110( _iter_try_for_each.map_err(|x| x.into()), ); let v957: string = string("}"); @@ -8623,7 +8626,7 @@ mod module_2555ccf7 { let v975: std::thread::JoinHandle> = __spawn; let v989: Documents::US26 = defaultValue( Documents::US26::US26_1, - map(Documents::method110(), v4.clone()), + map(Documents::method111(), v4.clone()), ); match &v989 { Documents::US26::US26_0(v989_0_0) => { @@ -8640,7 +8643,7 @@ mod module_2555ccf7 { > = v995.lock(); let v1011: std::sync::MutexGuard< Option, - > = Documents::method111(v997.unwrap()); + > = Documents::method112(v997.unwrap()); let v1013: bool = true; let mut v1011 = v1011; let v1015: &mut Option = @@ -8666,7 +8669,7 @@ mod module_2555ccf7 { > = _optionm_map_; let v1043: Documents::US27 = defaultValue( Documents::US27::US27_1, - map(Documents::method112(), v1029), + map(Documents::method113(), v1029), ); match &v1043 { Documents::US27::US27_0(v1043_0_0) => { @@ -8698,7 +8701,7 @@ mod module_2555ccf7 { > = v1049.lock(); let v1065: std::sync::MutexGuard< std::process::ChildStdin, - > = Documents::method113(v1051.unwrap()); + > = Documents::method114(v1051.unwrap()); let v1067: bool = true; let mut v1065 = v1065; let v1069: bool = true; @@ -8722,7 +8725,7 @@ mod module_2555ccf7 { >, > = v1071.lock(); let v1087: std::sync::MutexGuard> = - Documents::method96(v1073.unwrap()); + Documents::method97(v1073.unwrap()); let v1089: bool = true; let mut v1087 = v1087; let v1091: &mut Option = &mut v1087; @@ -8730,14 +8733,14 @@ mod module_2555ccf7 { let v1095: std::process::Child = v1093.unwrap(); let v1097: Result = v1095.wait_with_output(); - let v1098 = Documents::method53(); + let v1098 = Documents::method54(); let v1109: Result = v1097.map_err(|x| v1098(x)); let v1112: std::thread::JoinHandle> = - Documents::method114(v975); + Documents::method115(v975); let v1115: string = string("v1112"); let v1116: std::thread::JoinHandle> = - Documents::method114(v652); + Documents::method115(v652); let v1121: string = append( append(string("vec!["), append(string("v1116, "), v1115)), string("]"), @@ -8777,7 +8780,7 @@ mod module_2555ccf7 { let v1157: Option = v1155.code(); let v1171: Documents::US29 = defaultValue( Documents::US29::US29_1, - map(Documents::method116(), v1157), + map(Documents::method117(), v1157), ); match &v1171 { Documents::US29::US29_0(v1171_0_0) => ( @@ -8947,7 +8950,7 @@ mod module_2555ccf7 { (_v7.0.clone(), _v7.1.clone()) } } - pub fn method128(v0_1: string, v1_1: string, v2: string) -> (string, string) { + pub fn method129(v0_1: string, v1_1: string, v2: string) -> (string, string) { let v4: string = Documents::method26(v2, Documents::method43(v1_1.clone())); let v8: string = getSlice( v1_1.clone(), @@ -8973,22 +8976,22 @@ mod module_2555ccf7 { }, ) } - pub fn method129() -> string { + pub fn method130() -> string { string("") } pub fn closure66(unitVar: (), v0_1: string) -> Documents::US33 { Documents::US33::US33_0(v0_1) } - pub fn method130() -> Func1 { + pub fn method131() -> Func1 { Func1::new(move |v: string| Documents::closure66((), v)) } pub fn closure67(unitVar: (), v0_1: std::string::String) -> Documents::US33 { Documents::US33::US33_1(v0_1) } - pub fn method131() -> Func1 { + pub fn method132() -> Func1 { Func1::new(move |v: std::string::String| Documents::closure67((), v)) } - pub fn method132(v0_1: string) -> bool { + pub fn method133(v0_1: string) -> bool { let v4: &str = &*v0_1; let v25: std::string::String = String::from(v4); let v60: std::path::PathBuf = std::path::PathBuf::from(v25); @@ -8998,7 +9001,7 @@ mod module_2555ccf7 { false } } - pub fn method134( + pub fn method135( v0_1: string, v1_1: string, v2: string, @@ -9204,7 +9207,7 @@ mod module_2555ccf7 { }; v12.l0.get().clone() } - pub fn method133( + pub fn method134( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -9227,7 +9230,7 @@ mod module_2555ccf7 { v19: string, ) -> string { let v20: string = - Documents::method134(v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19); + Documents::method135(v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -9275,7 +9278,7 @@ mod module_2555ccf7 { Documents::method19(if v53.clone() == string("") { string("") } else { - Documents::method133( + Documents::method134( v29.clone(), v30.clone(), v31.clone(), @@ -9300,7 +9303,7 @@ mod module_2555ccf7 { }) }; } - pub fn method136(v0_1: string) -> string { + pub fn method137(v0_1: string) -> string { v0_1 } pub fn closure69(unitVar: (), v0_1: u64) -> Documents::US34 { @@ -9309,7 +9312,7 @@ mod module_2555ccf7 { pub fn closure70(unitVar: (), v0_1: std::string::String) -> Documents::US34 { Documents::US34::US34_1(v0_1) } - pub fn method138(v0_1: string, v1_1: string, v2: std::string::String) -> string { + pub fn method139(v0_1: string, v1_1: string, v2: std::string::String) -> string { let v4: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -9372,7 +9375,7 @@ mod module_2555ccf7 { }; v4.l0.get().clone() } - pub fn method137( + pub fn method138( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -9385,7 +9388,7 @@ mod module_2555ccf7 { v9: string, v10: std::string::String, ) -> string { - let v11: string = Documents::method138(v8, v9, v10); + let v11: string = Documents::method139(v8, v9, v10); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -9415,7 +9418,7 @@ mod module_2555ccf7 { let v23: LrcPtr = patternInput.2.clone(); let v22: LrcPtr = patternInput.1.clone(); let v21: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method137( + Documents::method19(Documents::method138( v21.clone(), v22.clone(), v23.clone(), @@ -9430,7 +9433,7 @@ mod module_2555ccf7 { )) }; } - pub fn method140(v0_1: string, v1_1: string, v2: u64) -> string { + pub fn method141(v0_1: string, v1_1: string, v2: u64) -> string { let v4: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -9488,7 +9491,7 @@ mod module_2555ccf7 { }; v4.l0.get().clone() } - pub fn method139( + pub fn method140( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -9501,7 +9504,7 @@ mod module_2555ccf7 { v9: string, v10: u64, ) -> string { - let v11: string = Documents::method140(v8, v9, v10); + let v11: string = Documents::method141(v8, v9, v10); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -9531,7 +9534,7 @@ mod module_2555ccf7 { let v23: LrcPtr = patternInput.2.clone(); let v22: LrcPtr = patternInput.1.clone(); let v21: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method139( + Documents::method19(Documents::method140( v21.clone(), v22.clone(), v23.clone(), @@ -9539,17 +9542,17 @@ mod module_2555ccf7 { v25.clone(), v26.clone(), Documents::method8(v21, v22, v23, v24, v25, v26), - Documents::method49(), + Documents::method50(), v0_1, v1_1, v2, )) }; } - pub fn method135(v0_1: string, v1_1: string) { - let v3: string = Documents::method136(v0_1); + pub fn method136(v0_1: string, v1_1: string) { + let v3: string = Documents::method137(v0_1); let v5: Result = std::fs::copy(&*v1_1.clone(), &*v3); - let v6 = Documents::method53(); + let v6 = Documents::method54(); let v17: Result = v5.map_err(|x| v6(x)); let v22: Documents::US34 = match &v17 { Err(v17_1_0) => Documents::closure70((), v17_1_0.clone()), @@ -9574,16 +9577,16 @@ mod module_2555ccf7 { (); () } - pub fn method142(v0_1: Vec) -> Vec { + pub fn method143(v0_1: Vec) -> Vec { v0_1 } - pub fn method143(v0_1: i32, v1_1: LrcPtr) -> bool { + pub fn method144(v0_1: i32, v1_1: LrcPtr) -> bool { v1_1.l0.get().clone() < v0_1 } - pub fn method144(v0_1: string) -> string { + pub fn method145(v0_1: string) -> string { v0_1 } - pub fn method145( + pub fn method146( v0_1: std::sync::MutexGuard, ) -> std::sync::MutexGuard { v0_1 @@ -9598,22 +9601,22 @@ mod module_2555ccf7 { std::sync::PoisonError>, > = v3.lock(); let v8: std::sync::MutexGuard = v5.unwrap(); - let v19: string = Documents::method144(v0_1); + let v19: string = Documents::method145(v0_1); let v21: &[u8] = v19.as_bytes(); - let v22: std::sync::MutexGuard = Documents::method145(v8); + let v22: std::sync::MutexGuard = Documents::method146(v8); let v24: bool = true; let mut v22 = v22; let v26: bool = true; std::io::Write::write_all(&mut *v22, v21).unwrap(); () } - pub fn method146(v0_1: i32, v1_1: LrcPtr) -> bool { + pub fn method147(v0_1: i32, v1_1: LrcPtr) -> bool { v1_1.l0.get().clone() < v0_1 } - pub fn method147(v0_1: string) -> string { + pub fn method148(v0_1: string) -> string { v0_1 } - pub fn method149(v0_1: i32, v1_1: i32, v2: string) -> string { + pub fn method150(v0_1: i32, v1_1: i32, v2: string) -> string { let v4: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -9671,7 +9674,7 @@ mod module_2555ccf7 { }; v4.l0.get().clone() } - pub fn method148( + pub fn method149( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -9684,7 +9687,7 @@ mod module_2555ccf7 { v9: i32, v10: string, ) -> string { - let v11: string = Documents::method149(v8, v9, v10); + let v11: string = Documents::method150(v8, v9, v10); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -9714,7 +9717,7 @@ mod module_2555ccf7 { let v23: LrcPtr = patternInput.2.clone(); let v22: LrcPtr = patternInput.1.clone(); let v21: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method148( + Documents::method19(Documents::method149( v21.clone(), v22.clone(), v23.clone(), @@ -9729,9 +9732,9 @@ mod module_2555ccf7 { )) }; } - pub fn method141(v0_1: string, v1_1: string, v2: string, v3: string) -> Documents::US35 { + pub fn method142(v0_1: string, v1_1: string, v2: string, v3: string) -> Documents::US35 { let v7: Result, std::io::Error> = std::fs::read(&*v3); - let v41: Vec = Documents::method142(v7.unwrap()); + let v41: Vec = Documents::method143(v7.unwrap()); let v43: Result = std::string::String::from_utf8(v41); let v46: std::string::String = v43.unwrap(); @@ -9746,7 +9749,7 @@ mod module_2555ccf7 { let v83: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v81, v83.clone()) { + while Documents::method48(v81, v83.clone()) { let v85: i32 = v83.l0.get().clone(); let v88: string = trim(v78[v85].clone()); v82.get_mut()[v85 as usize] = v88; @@ -9763,7 +9766,7 @@ mod module_2555ccf7 { l0: MutCell::new(0_i32), l1: MutCell::new(0_i32), }); - while Documents::method143(v90, v92.clone()) { + while Documents::method144(v90, v92.clone()) { let v94: i32 = v92.l0.get().clone(); let v95: i32 = v92.l1.get().clone(); let v96: string = v82[v94].clone(); @@ -9784,7 +9787,7 @@ mod module_2555ccf7 { let v106: LrcPtr = LrcPtr::new(Documents::Mut6 { l0: MutCell::new(0_i32), }); - while Documents::method47(v104, v106.clone()) { + while Documents::method48(v104, v106.clone()) { let v108: i32 = v106.l0.get().clone(); let v109: string = v91[v108].clone(); v105.get_mut()[v108 as usize] = v109; @@ -9817,7 +9820,7 @@ mod module_2555ccf7 { }))) ) ); - let patternInput: (i32, string) = Documents::method66( + let patternInput: (i32, string) = Documents::method67( sprintf!( "{} {}", Documents::method26( @@ -9857,7 +9860,7 @@ mod module_2555ccf7 { l2: MutCell::new(0_i32), l3: MutCell::new(0_i32), }); - while Documents::method146(v90, v167.clone()) { + while Documents::method147(v90, v167.clone()) { let v169: i32 = v167.l0.get().clone(); let matchValue: string = v167.l1.get().clone(); let matchValue_1: i32 = v167.l2.get().clone(); @@ -9910,7 +9913,7 @@ mod module_2555ccf7 { } } } - pub fn method151(v0_1: i32, v1_1: string) -> string { + pub fn method152(v0_1: i32, v1_1: string) -> string { let v3: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -9952,7 +9955,7 @@ mod module_2555ccf7 { }; v3.l0.get().clone() } - pub fn method150( + pub fn method151( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -9964,7 +9967,7 @@ mod module_2555ccf7 { v8: i32, v9: string, ) -> string { - let v10: string = Documents::method151(v8, v9); + let v10: string = Documents::method152(v8, v9); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -9994,7 +9997,7 @@ mod module_2555ccf7 { let v22: LrcPtr = patternInput.2.clone(); let v21: LrcPtr = patternInput.1.clone(); let v20: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method150( + Documents::method19(Documents::method151( v20.clone(), v21.clone(), v22.clone(), @@ -10016,13 +10019,13 @@ mod module_2555ccf7 { v4: string, v5: string, ) -> Documents::US32 { - let patternInput: (string, string) = Documents::method128(v5, v4.clone(), v0_1); + let patternInput: (string, string) = Documents::method129(v5, v4.clone(), v0_1); let v7: string = patternInput.1.clone(); let v6: string = patternInput.0.clone(); - if if if Documents::method132(v6.clone()) == false { + if if if Documents::method133(v6.clone()) == false { true } else { - Documents::method132(v7.clone()) == false + Documents::method133(v7.clone()) == false } { false } else { @@ -10107,12 +10110,12 @@ mod module_2555ccf7 { ) } })); - let v123: string = join(Documents::method129(), toArray_1(v117)); - let v127 = Documents::method53(); + let v123: string = join(Documents::method130(), toArray_1(v117)); + let v127 = Documents::method54(); let v130: Result = Ok::(v123).map_err(|x| v127(x)); - let v141 = Documents::method130(); - let v142 = Documents::method131(); + let v141 = Documents::method131(); + let v142 = Documents::method132(); let v144: Documents::US33 = match v130 { Ok(x) => v141(x), Err(e) => v142(e), @@ -10218,12 +10221,12 @@ mod module_2555ccf7 { } })); let v261: string = - join(Documents::method129(), toArray_1(v255)); - let v265 = Documents::method53(); + join(Documents::method130(), toArray_1(v255)); + let v265 = Documents::method54(); let v268: Result = Ok::(v261).map_err(|x| v265(x)); - let v279 = Documents::method130(); - let v280 = Documents::method131(); + let v279 = Documents::method131(); + let v280 = Documents::method132(); let v282: Documents::US33 = match v268 { Ok(x) => v279(x), Err(e) => v280(e), @@ -10247,7 +10250,7 @@ mod module_2555ccf7 { } { Documents::US32::US32_1 } else { - let v292: Documents::US35 = Documents::method141(v2, v3, v6.clone(), v4); + let v292: Documents::US35 = Documents::method142(v2, v3, v6.clone(), v4); match &v292 { Documents::US35::US35_0(v292_0_0, v292_0_1) => { let v294: string = v292_0_1.clone(); @@ -10261,8 +10264,8 @@ mod module_2555ccf7 { LrcPtr::new((v6.clone(), v294)), )) } else { - if Documents::method132(v6.clone()) { - Documents::method135(v7, v6.clone()) + if Documents::method133(v6.clone()) { + Documents::method136(v7, v6.clone()) } else { panic!( "{}", @@ -10307,7 +10310,7 @@ mod module_2555ccf7 { } }) } - pub fn method154(v0_1: i32, v1_1: string, v2: string) -> string { + pub fn method155(v0_1: i32, v1_1: string, v2: string) -> string { let v4: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -10365,7 +10368,7 @@ mod module_2555ccf7 { }; v4.l0.get().clone() } - pub fn method153( + pub fn method154( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -10378,7 +10381,7 @@ mod module_2555ccf7 { v9: string, v10: string, ) -> string { - let v11: string = Documents::method154(v8, v9, v10); + let v11: string = Documents::method155(v8, v9, v10); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -10408,7 +10411,7 @@ mod module_2555ccf7 { let v23: LrcPtr = patternInput.2.clone(); let v22: LrcPtr = patternInput.1.clone(); let v21: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method153( + Documents::method19(Documents::method154( v21.clone(), v22.clone(), v23.clone(), @@ -10423,14 +10426,14 @@ mod module_2555ccf7 { )) }; } - pub fn method152( + pub fn method153( v0_1: bool, v1_1: string, v2: string, v3: string, v4: string, ) -> Documents::US35 { - let patternInput: (i32, string) = Documents::method66( + let patternInput: (i32, string) = Documents::method67( append( sprintf!("crowbook --verbose --to {}", v4.clone()), sprintf!( @@ -10487,13 +10490,13 @@ mod module_2555ccf7 { v3: string, v4: string, ) -> Documents::US32 { - let patternInput: (string, string) = Documents::method128(v4.clone(), v3.clone(), v0_1); + let patternInput: (string, string) = Documents::method129(v4.clone(), v3.clone(), v0_1); let v6: string = patternInput.1.clone(); let v5: string = patternInput.0.clone(); - if if if Documents::method132(v5.clone()) == false { + if if if Documents::method133(v5.clone()) == false { true } else { - Documents::method132(v6.clone()) == false + Documents::method133(v6.clone()) == false } { false } else { @@ -10578,12 +10581,12 @@ mod module_2555ccf7 { ) } })); - let v122: string = join(Documents::method129(), toArray_1(v116)); - let v126 = Documents::method53(); + let v122: string = join(Documents::method130(), toArray_1(v116)); + let v126 = Documents::method54(); let v129: Result = Ok::(v122).map_err(|x| v126(x)); - let v140 = Documents::method130(); - let v141 = Documents::method131(); + let v140 = Documents::method131(); + let v141 = Documents::method132(); let v143: Documents::US33 = match v129 { Ok(x) => v140(x), Err(e) => v141(e), @@ -10689,12 +10692,12 @@ mod module_2555ccf7 { } })); let v260: string = - join(Documents::method129(), toArray_1(v254)); - let v264 = Documents::method53(); + join(Documents::method130(), toArray_1(v254)); + let v264 = Documents::method54(); let v267: Result = Ok::(v260).map_err(|x| v264(x)); - let v278 = Documents::method130(); - let v279 = Documents::method131(); + let v278 = Documents::method131(); + let v279 = Documents::method132(); let v281: Documents::US33 = match v267 { Ok(x) => v278(x), Err(e) => v279(e), @@ -10718,7 +10721,7 @@ mod module_2555ccf7 { } { Documents::US32::US32_1 } else { - let v291: Documents::US35 = Documents::method152(v2, v5.clone(), v3, v1_1, v4); + let v291: Documents::US35 = Documents::method153(v2, v5.clone(), v3, v1_1, v4); match &v291 { Documents::US35::US35_0(v291_0_0, v291_0_1) => { let v293: string = v291_0_1.clone(); @@ -10732,8 +10735,8 @@ mod module_2555ccf7 { LrcPtr::new((v5.clone(), v293)), )) } else { - if Documents::method132(v5.clone()) { - Documents::method135(v6, v5.clone()) + if Documents::method133(v5.clone()) { + Documents::method136(v6, v5.clone()) } else { panic!( "{}", @@ -10767,7 +10770,7 @@ mod module_2555ccf7 { move |v: string| Documents::closure79(v0_1.clone(), v1_1.clone(), v2, v3.clone(), v) }) } - pub fn method156(v0_1: string, v1_1: string) -> string { + pub fn method157(v0_1: string, v1_1: string) -> string { let v3: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -10809,7 +10812,7 @@ mod module_2555ccf7 { }; v3.l0.get().clone() } - pub fn method155( + pub fn method156( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -10821,7 +10824,7 @@ mod module_2555ccf7 { v8: string, v9: string, ) -> string { - let v10: string = Documents::method156(v8, v9); + let v10: string = Documents::method157(v8, v9); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -10851,7 +10854,7 @@ mod module_2555ccf7 { let v22: LrcPtr = patternInput.2.clone(); let v21: LrcPtr = patternInput.1.clone(); let v20: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method155( + Documents::method19(Documents::method156( v20.clone(), v21.clone(), v22.clone(), @@ -10865,7 +10868,7 @@ mod module_2555ccf7 { )) }; } - pub fn method157( + pub fn method158( v0_1: LrcPtr, v1_1: List>, ) -> List> { @@ -10876,7 +10879,7 @@ mod module_2555ccf7 { Documents::UH4::UH4_1(x, _) => x.clone(), _ => unreachable!(), }, - Documents::method157( + Documents::method158( match v0_1.as_ref() { Documents::UH4::UH4_1(_, x) => x.clone(), _ => unreachable!(), @@ -10886,10 +10889,10 @@ mod module_2555ccf7 { ), } } - pub fn method158(v0_1: i32, v1_1: LrcPtr) -> bool { + pub fn method159(v0_1: i32, v1_1: LrcPtr) -> bool { v1_1.l0.get().clone() < v0_1 } - pub fn method159( + pub fn method160( v0_1: LrcPtr, v1_1: List<( string, @@ -10929,7 +10932,7 @@ mod module_2555ccf7 { } }), ), - Documents::method159( + Documents::method160( match v0_1.as_ref() { Documents::UH5::UH5_1(_, _, _, x) => x.clone(), _ => unreachable!(), @@ -10956,12 +10959,12 @@ mod module_2555ccf7 { _ => None::>>, } } - pub fn method160( + pub fn method161( v0_1: Vec>>>, ) -> Vec>>> { v0_1 } - pub fn method161( + pub fn method162( v0_1: Vec>>>, ) -> Vec>>> { v0_1 @@ -10992,15 +10995,15 @@ mod module_2555ccf7 { replace( fable_library_rust::String_::fromString(v93), v3.clone(), - Documents::method64() + Documents::method65() ), string("\\"), string("/") ) ); let v120: string = Documents::method40(v6); - let v122: string = Documents::method65(Documents::method26(v2.clone(), v119.clone())); - let patternInput: (i32, string) = Documents::method66( + let v122: string = Documents::method66(Documents::method26(v2.clone(), v119.clone())); + let patternInput: (i32, string) = Documents::method67( sprintf!( "git ls-tree --format=\'%(objectname)\' origin/gh-pages \"{}\"", v122.clone() @@ -11014,8 +11017,8 @@ mod module_2555ccf7 { ); let v134: string = patternInput.1.clone(); let v133: i32 = patternInput.0.clone(); - let v136: string = Documents::method65(Documents::method26(v3.clone(), v119.clone())); - let patternInput_1: (i32, string) = Documents::method66( + let v136: string = Documents::method66(Documents::method26(v3.clone(), v119.clone())); + let patternInput_1: (i32, string) = Documents::method67( sprintf!("git hash-object \"{}\"", v136.clone()), None::, new_empty::<(string, string)>(), @@ -11026,9 +11029,9 @@ mod module_2555ccf7 { ); let v148: string = patternInput_1.1.clone(); let v147: i32 = patternInput_1.0.clone(); - let v150: string = Documents::method65(Documents::method26(v4.clone(), v119.clone())); + let v150: string = Documents::method66(Documents::method26(v4.clone(), v119.clone())); let v152: string = - (Documents::method128(string("hangul.md"), v136.clone(), v4.clone())) + (Documents::method129(string("hangul.md"), v136.clone(), v4.clone())) .0 .clone(); let v593: LrcPtr = if contains(v134.clone(), v148.clone()) { @@ -11115,12 +11118,12 @@ mod module_2555ccf7 { ) } })); - let v274: string = join(Documents::method129(), toArray_1(v268)); - let v278 = Documents::method53(); + let v274: string = join(Documents::method130(), toArray_1(v268)); + let v278 = Documents::method54(); let v281: Result = Ok::(v274).map_err(|x| v278(x)); - let v292 = Documents::method130(); - let v293 = Documents::method131(); + let v292 = Documents::method131(); + let v293 = Documents::method132(); let v295: Documents::US33 = match v281 { Ok(x) => v292(x), Err(e) => v293(e), @@ -11135,7 +11138,7 @@ mod module_2555ccf7 { ), ), }; - let v443: Documents::US1 = if Documents::method132(v150.clone()) + let v443: Documents::US1 = if Documents::method133(v150.clone()) == false { Documents::US1::US1_1 @@ -11233,13 +11236,13 @@ mod module_2555ccf7 { } })); let v415: string = - join(Documents::method129(), toArray_1(v409)); - let v419 = Documents::method53(); + join(Documents::method130(), toArray_1(v409)); + let v419 = Documents::method54(); let v422: Result = Ok::(v415) .map_err(|x| v419(x)); - let v433 = Documents::method130(); - let v434 = Documents::method131(); + let v433 = Documents::method131(); + let v434 = Documents::method132(); let v436: Documents::US33 = match v422 { Ok(x) => v433(x), Err(e) => v434(e), @@ -11280,7 +11283,7 @@ mod module_2555ccf7 { ); () }; - Documents::method135(v150.clone(), v136.clone()); + Documents::method136(v150.clone(), v136.clone()); LrcPtr::new(Documents::UH4::UH4_1( LrcPtr::new(Documents::UH5::UH5_1( string("hangul.md"), @@ -11498,7 +11501,7 @@ mod module_2555ccf7 { ); () }; - Documents::method135(v150, v136.clone()); + Documents::method136(v150, v136.clone()); LrcPtr::new(Documents::UH4::UH4_1( LrcPtr::new(Documents::UH5::UH5_1( string("hangul.md"), @@ -11696,7 +11699,7 @@ mod module_2555ccf7 { } } }; - let v974: Array> = toArray(Documents::method157( + let v974: Array> = toArray(Documents::method158( if (if let Documents::UH4::UH4_0 = v593.as_ref() { true } else { @@ -11706,20 +11709,20 @@ mod module_2555ccf7 { v593 } else { let patternInput_3: (string, string) = - Documents::method128(string("epub"), v152.clone(), v4.clone()); + Documents::method129(string("epub"), v152.clone(), v4.clone()); let v598: string = patternInput_3.1.clone(); let v597: string = patternInput_3.0.clone(); - let v650: LrcPtr = if if Documents::method132(v597.clone()) { + let v650: LrcPtr = if if Documents::method133(v597.clone()) { true } else { - if Documents::method132(v598.clone()) == false { + if Documents::method133(v598.clone()) == false { true } else { let v604: () = { Documents::closure81(v598.clone(), v597.clone(), ()); () }; - Documents::method135(v597, v598); + Documents::method136(v597, v598); false } } { @@ -11745,20 +11748,20 @@ mod module_2555ccf7 { LrcPtr::new(Documents::UH5::UH5_0) }; let patternInput_4: (string, string) = - Documents::method128(string("pdf"), v152.clone(), v4.clone()); + Documents::method129(string("pdf"), v152.clone(), v4.clone()); let v653: string = patternInput_4.1.clone(); let v652: string = patternInput_4.0.clone(); - let v703: LrcPtr = if if Documents::method132(v652.clone()) { + let v703: LrcPtr = if if Documents::method133(v652.clone()) { true } else { - if Documents::method132(v653.clone()) == false { + if Documents::method133(v653.clone()) == false { true } else { let v659: () = { Documents::closure81(v653.clone(), v652.clone(), ()); () }; - Documents::method135(v652, v653); + Documents::method136(v652, v653); false } } { @@ -11784,20 +11787,20 @@ mod module_2555ccf7 { v650 }; let patternInput_5: (string, string) = - Documents::method128(string("html"), v152.clone(), v4.clone()); + Documents::method129(string("html"), v152.clone(), v4.clone()); let v706: string = patternInput_5.1.clone(); let v705: string = patternInput_5.0.clone(); - let v756: LrcPtr = if if Documents::method132(v705.clone()) { + let v756: LrcPtr = if if Documents::method133(v705.clone()) { true } else { - if Documents::method132(v706.clone()) == false { + if Documents::method133(v706.clone()) == false { true } else { let v712: () = { Documents::closure81(v706.clone(), v705.clone(), ()); () }; - Documents::method135(v705, v706); + Documents::method136(v705, v706); false } } { @@ -11823,20 +11826,20 @@ mod module_2555ccf7 { v703 }; let patternInput_6: (string, string) = - Documents::method128(string("epub"), v136.clone(), v4.clone()); + Documents::method129(string("epub"), v136.clone(), v4.clone()); let v758: string = patternInput_6.1.clone(); let v757: string = patternInput_6.0.clone(); - let v808: LrcPtr = if if Documents::method132(v757.clone()) { + let v808: LrcPtr = if if Documents::method133(v757.clone()) { true } else { - if Documents::method132(v758.clone()) == false { + if Documents::method133(v758.clone()) == false { true } else { let v764: () = { Documents::closure81(v758.clone(), v757.clone(), ()); () }; - Documents::method135(v757, v758); + Documents::method136(v757, v758); false } } { @@ -11867,20 +11870,20 @@ mod module_2555ccf7 { v756 }; let patternInput_7: (string, string) = - Documents::method128(string("pdf"), v136.clone(), v4.clone()); + Documents::method129(string("pdf"), v136.clone(), v4.clone()); let v810: string = patternInput_7.1.clone(); let v809: string = patternInput_7.0.clone(); - let v860: LrcPtr = if if Documents::method132(v809.clone()) { + let v860: LrcPtr = if if Documents::method133(v809.clone()) { true } else { - if Documents::method132(v810.clone()) == false { + if Documents::method133(v810.clone()) == false { true } else { let v816: () = { Documents::closure81(v810.clone(), v809.clone(), ()); () }; - Documents::method135(v809, v810); + Documents::method136(v809, v810); false } } { @@ -11911,20 +11914,20 @@ mod module_2555ccf7 { v808 }; let patternInput_8: (string, string) = - Documents::method128(string("html"), v136.clone(), v4.clone()); + Documents::method129(string("html"), v136.clone(), v4.clone()); let v862: string = patternInput_8.1.clone(); let v861: string = patternInput_8.0.clone(); - let v912: LrcPtr = if if Documents::method132(v861.clone()) { + let v912: LrcPtr = if if Documents::method133(v861.clone()) { true } else { - if Documents::method132(v862.clone()) == false { + if Documents::method133(v862.clone()) == false { true } else { let v868: () = { Documents::closure81(v862.clone(), v861.clone(), ()); () }; - Documents::method135(v861, v862); + Documents::method136(v861, v862); false } } { @@ -11955,21 +11958,21 @@ mod module_2555ccf7 { v860 }; let patternInput_9: (string, string) = - Documents::method128(string("hangul.md"), v136.clone(), v4.clone()); + Documents::method129(string("hangul.md"), v136.clone(), v4.clone()); let v914: string = patternInput_9.1.clone(); let v913: string = patternInput_9.0.clone(); LrcPtr::new(Documents::UH4::UH4_1( - if if Documents::method132(v913.clone()) { + if if Documents::method133(v913.clone()) { true } else { - if Documents::method132(v914.clone()) == false { + if Documents::method133(v914.clone()) == false { true } else { let v920: () = { Documents::closure81(v914.clone(), v913.clone(), ()); () }; - Documents::method135(v913, v914); + Documents::method136(v913, v914); false } } { @@ -12022,11 +12025,11 @@ mod module_2555ccf7 { l0: MutCell::new(0_i32), l1: MutCell::new(v981), }); - while Documents::method158(v984, v985.clone()) { + while Documents::method159(v984, v985.clone()) { let v987: i32 = v985.l0.get().clone(); let v988: Vec>>> = v985.l1.get().clone(); - let v993 = toArray(Documents::method159( + let v993 = toArray(Documents::method160( v983[v987].clone(), empty::<( string, @@ -12046,9 +12049,9 @@ mod module_2555ccf7 { )(x) }); let v1005: Vec>>> = - Documents::method160(rayon::iter::ParallelIterator::collect(v1002)); + Documents::method161(rayon::iter::ParallelIterator::collect(v1002)); let v1006: Vec>>> = - Documents::method161(v988); + Documents::method162(v988); let v1008: bool = true; let mut v1006 = v1006; let v1010: bool = true; @@ -12067,7 +12070,7 @@ mod module_2555ccf7 { std::string::String, >(LrcPtr::new((v120, v985.l1.get().clone()))) } - pub fn method162( + pub fn method163( v0_1: Result< Vec< Result< @@ -12178,10 +12181,10 @@ mod module_2555ccf7 { let v168: async_walkdir::WalkDir = async_walkdir::WalkDir::filter(v165, |x| { Func1::new(move |v: async_walkdir::DirEntry| Documents::closure20((), v))(x) }); - let v169 = Documents::method57(); - let v171 = tokio_stream::StreamExt::filter_map(v168, |x| v169(x)); + let v169 = Documents::method58(); + let v171 = futures::stream::StreamExt::filter_map(v168, |x| async { v169(x) }); let v173: std::pin::Pin>>> = - Box::pin(tokio_stream::StreamExt::collect(v171)); + Box::pin(futures::stream::StreamExt::collect(v171)); let v175: Vec = v173.await; let v178: () = { Documents::closure29(v175.clone(), ()); @@ -12220,7 +12223,7 @@ mod module_2555ccf7 { >, >, std::string::String, - > = Documents::method162(Ok::< + > = Documents::method163(Ok::< Vec< Result< LrcPtr<( @@ -12267,7 +12270,7 @@ mod module_2555ccf7 { pub fn closure84(unitVar: (), v0_1: std::string::String) -> Documents::US36 { Documents::US36::US36_1(v0_1) } - pub fn method163( + pub fn method164( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -12278,7 +12281,7 @@ mod module_2555ccf7 { v7: string, v8: std::string::String, ) -> string { - let v9: string = Documents::method61(v8); + let v9: string = Documents::method62(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -12308,7 +12311,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method163( + Documents::method19(Documents::method164( v19.clone(), v20.clone(), v21.clone(), @@ -12316,12 +12319,12 @@ mod module_2555ccf7 { v23.clone(), v24.clone(), Documents::method8(v19, v20, v21, v22, v23, v24), - Documents::method59(), + Documents::method60(), v0_1, )) }; } - pub fn method165(v0_1: usize) -> string { + pub fn method166(v0_1: usize) -> string { let v2: LrcPtr = LrcPtr::new(Documents::Mut3 { l0: MutCell::new(Documents::method14()), }); @@ -12352,7 +12355,7 @@ mod module_2555ccf7 { }; v2.l0.get().clone() } - pub fn method164( + pub fn method165( v0_1: LrcPtr, v1_1: LrcPtr, v2: LrcPtr, @@ -12363,7 +12366,7 @@ mod module_2555ccf7 { v7: string, v8: usize, ) -> string { - let v9: string = Documents::method165(v8); + let v9: string = Documents::method166(v8); Documents::method18(sprintf!( "{} {} #{} {} / {}", v6, @@ -12404,7 +12407,7 @@ mod module_2555ccf7 { let v21: LrcPtr = patternInput.2.clone(); let v20: LrcPtr = patternInput.1.clone(); let v19: LrcPtr = patternInput.0.clone(); - Documents::method19(Documents::method164( + Documents::method19(Documents::method165( v19.clone(), v20.clone(), v21.clone(), @@ -12505,11 +12508,7 @@ mod module_2555ccf7 { v155, v108, ); - let v252 = tokio::runtime::Builder::new_multi_thread() - .enable_all() - .build() - .unwrap(); - let v254: Result< + let v252: Result< Vec< Result< LrcPtr<( @@ -12520,22 +12519,22 @@ mod module_2555ccf7 { >, >, std::string::String, - > = v252.handle().block_on(v250); - let v257: Documents::US36 = match &v254 { - Err(v254_1_0) => Documents::closure84((), v254_1_0.clone()), - Ok(v254_0_0) => Documents::closure83((), v254_0_0.clone()), - }; - match &v257 { - Documents::US36::US36_0(v257_0_0) => { - let v261: () = { - Documents::closure86(v257_0_0.clone(), ()); + > = futures::executor::block_on(v250); + let v255: Documents::US36 = match &v252 { + Err(v252_1_0) => Documents::closure84((), v252_1_0.clone()), + Ok(v252_0_0) => Documents::closure83((), v252_0_0.clone()), + }; + match &v255 { + Documents::US36::US36_0(v255_0_0) => { + let v259: () = { + Documents::closure86(v255_0_0.clone(), ()); () }; 0_i32 } - Documents::US36::US36_1(v257_1_0) => { - let v306: () = { - Documents::closure85(v257_1_0.clone(), ()); + Documents::US36::US36_1(v255_1_0) => { + let v304: () = { + Documents::closure85(v255_1_0.clone(), ()); () }; 1_i32 diff --git a/apps/documents/documents.spi b/apps/documents/documents.spi index f678a5f2..ab059c54 100644 --- a/apps/documents/documents.spi +++ b/apps/documents/documents.spi @@ -50,7 +50,6 @@ let crowbook hangul { ext dist_dir dist_path output_path } = $'$"--set"' +. $'$" tex.paper.size a4paper"' +. $'$" tex.template.add \\\"\\\\pagenumbering{{gobble}}\\\""' - // +. $'$" tex.template.add \\\"\\\\pagestyle{{empty}}\\\""' +. ( if hangul |> not then "" @@ -242,7 +241,7 @@ let run { source_dir dist_dir cache_dir hangul_spec } if (path |> sm'.ends_with ".md" |> not) || (path |> sm'.ends_with ".hangul.md") then file_system.Ignore else file_system.Continue - |> async.stream_filter_map fun (entry : _ _ file_system.async_walkdir_error) => + |> async.stream_filter_map_futures fun (entry : _ _ file_system.async_walkdir_error) => match entry |> resultm.map_error' sm'.format' |> resultm.unbox with | Ok entry => entry @@ -257,7 +256,7 @@ let run { source_dir dist_dir cache_dir hangul_spec } fun () => { error } None |> optionm'.box - |> async.stream_collect + |> async.stream_collect_futures |> async.await trace Debug @@ -445,7 +444,7 @@ inl main (args : array_base string) = inl result = run { source_dir dist_dir cache_dir hangul_spec } - |> async.block_on + |> async.block_on_futures |> resultm.unbox match result with