├── .cargo └── config.toml ├── .devcontainer └── devcontainer.json ├── .gitattributes ├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── alwayscheck.yml │ ├── basic_cli_build_release.yml │ ├── basic_cli_test_arm64.yml │ ├── basic_webserver_build_release.yml │ ├── benchmarks.yml │ ├── ci_cleanup.yml │ ├── ci_cleanup_nix_mac.yml │ ├── ci_manager.yml │ ├── ci_manager_old.yml │ ├── ci_zig.yml │ ├── devtools_test_linux_x86_64.yml │ ├── devtools_test_macos_apple_silicon.yml │ ├── docker.yml │ ├── fuzzer.yml │ ├── macos_x86_64.yml │ ├── markdown_link_check.yml │ ├── nightly_linux_arm64.yml │ ├── nightly_linux_x86_64.yml │ ├── nightly_macos_apple_silicon.yml │ ├── nightly_macos_x86_64.yml │ ├── nightly_netlify_build_deploy.yml │ ├── nix_linux_arm64_cargo.yml │ ├── nix_linux_arm64_default.yml │ ├── nix_linux_x86_64.yml │ ├── nix_macos_apple_silicon.yml │ ├── nix_macos_x86_64.yml │ ├── stale.yml │ ├── test_alpha_many_os.yml │ ├── test_nightly_many_os.yml │ ├── ubuntu_x86_64.yml │ ├── ubuntu_x86_64_nix_debug.yml │ ├── windows_release_build.yml │ ├── windows_tests.yml │ ├── www.yml │ └── zulip_bot_high_p_issues.yml ├── .gitignore ├── .llvmenv ├── .reuse └── dep5 ├── BUILDING_FROM_SOURCE.md ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── Glossary.md ├── LICENSE ├── README.md ├── authors ├── build.zig ├── build.zig.zon ├── ci ├── basic_release_test.sh ├── benchmarks │ ├── bench-runner │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ └── prep_folder.sh ├── build_basic_cli.sh ├── build_basic_webserver.sh ├── check_debug_vars.sh ├── earthly-conf.yml ├── enable-lld.sh ├── glossary-link-checker.roc ├── package_release.sh ├── repl_basic_test │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── retry_flaky.sh ├── roc_test_builtins.sh ├── update_basic_cli_url.sh ├── write_version.sh ├── www-repl.sh └── zig_lints.sh ├── code_of_conduct.md ├── crates ├── README.md ├── build │ └── specialize_types │ │ ├── Cargo.toml │ │ ├── src │ │ ├── debug_info.rs │ │ ├── expr.rs │ │ ├── foreign_symbol.rs │ │ ├── lib.rs │ │ ├── mono_expr.rs │ │ ├── mono_ir.rs │ │ ├── mono_module.rs │ │ ├── mono_num.rs │ │ ├── mono_pattern.rs │ │ ├── mono_struct.rs │ │ ├── mono_type.rs │ │ └── specialize_type.rs │ │ └── tests │ │ ├── helpers │ │ └── mod.rs │ │ ├── specialize_if.rs │ │ ├── specialize_primitives.rs │ │ ├── specialize_structs.rs │ │ └── specialize_when.rs ├── building_a_roc_application.svg ├── check │ └── can_solo │ │ ├── Cargo.toml │ │ └── src │ │ ├── desugar.rs │ │ ├── env.rs │ │ ├── lib.rs │ │ ├── module.rs │ │ └── scope.rs ├── cli │ ├── Cargo.toml │ ├── benches │ │ ├── README.md │ │ └── time_bench.rs │ ├── build.rs │ ├── src │ │ ├── format.rs │ │ ├── lib.rs │ │ └── main.rs │ └── tests │ │ ├── benchmarks │ │ ├── AStar.roc │ │ ├── Base64.roc │ │ ├── Base64 │ │ │ ├── Decode.roc │ │ │ └── Encode.roc │ │ ├── Bytes │ │ │ ├── Decode.roc │ │ │ └── Encode.roc │ │ ├── Issue2279Help.roc │ │ ├── Quicksort.roc │ │ ├── c_fold.roc │ │ ├── closure.roc │ │ ├── deriv.roc │ │ ├── issue2279.roc │ │ ├── n_queens.roc │ │ ├── platform │ │ │ ├── Host.roc │ │ │ ├── app.roc │ │ │ ├── host.zig │ │ │ └── main.roc │ │ ├── quicksort_app.roc │ │ ├── r_b_tree_ck.roc │ │ ├── r_b_tree_insert.roc │ │ ├── test_a_star.roc │ │ └── test_base64.roc │ │ ├── cli_tests.rs │ │ ├── markdown │ │ └── form.md │ │ ├── platform-switching │ │ ├── README.md │ │ ├── c-platform │ │ │ ├── host.c │ │ │ └── main.roc │ │ ├── roc_loves_c.roc │ │ ├── roc_loves_rust.roc │ │ ├── roc_loves_web_assembly.roc │ │ ├── roc_loves_zig.roc │ │ ├── rust-platform │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── build.sh │ │ │ ├── main.roc │ │ │ ├── rust-toolchain.toml │ │ │ └── src │ │ │ │ └── lib.rs │ │ ├── web-assembly-platform │ │ │ ├── README.md │ │ │ ├── host.js │ │ │ ├── host.test.js │ │ │ ├── host.zig │ │ │ ├── index.html │ │ │ └── main.roc │ │ └── zig-platform │ │ │ ├── host.zig │ │ │ └── main.roc │ │ ├── snapshots │ │ ├── cli_tests__cli_tests__exposed_not_defined.snap │ │ ├── cli_tests__cli_tests__known_type_error.snap │ │ ├── cli_tests__cli_tests__known_type_error_with_long_path.snap │ │ ├── cli_tests__cli_tests__module_imports_pkg_no_flag.snap │ │ ├── cli_tests__cli_tests__module_imports_unknown_pkg.snap │ │ ├── cli_tests__cli_tests__test_platform_effects_zig__inspect_logging.snap │ │ ├── cli_tests__cli_tests__test_platform_simple_zig__expects_dev_failure.snap │ │ ├── cli_tests__cli_tests__test_platform_simple_zig__expects_test_failure.snap │ │ ├── cli_tests__cli_tests__test_platform_simple_zig__module_params.snap │ │ ├── cli_tests__cli_tests__test_platform_simple_zig__module_params_arity_mismatch.snap │ │ ├── cli_tests__cli_tests__test_platform_simple_zig__module_params_bad_ann.snap │ │ ├── cli_tests__cli_tests__test_platform_simple_zig__module_params_unexpected_fn.snap │ │ ├── cli_tests__cli_tests__transitive_expects_verbose.snap │ │ └── cli_tests__cli_tests__unused_import.snap │ │ └── test-projects │ │ ├── algorithms │ │ ├── README.md │ │ ├── fibonacci-platform │ │ │ ├── host.zig │ │ │ └── main.roc │ │ ├── fibonacci.roc │ │ ├── quicksort-platform │ │ │ ├── host.zig │ │ │ └── main.roc │ │ └── quicksort.roc │ │ ├── effectful │ │ ├── Community.roc │ │ ├── combine_tasks.roc │ │ ├── echo.roc │ │ ├── for_each_try.roc │ │ ├── form.roc │ │ ├── hello.roc │ │ ├── ignore_result.roc │ │ ├── inspect_logging.roc │ │ ├── keep_if_try.roc │ │ ├── loops.roc │ │ ├── map_try.roc │ │ ├── on_err.roc │ │ ├── print_line.roc │ │ ├── suffixed_record_field.roc │ │ ├── untyped_passed_fx.roc │ │ └── walk_try.roc │ │ ├── expects │ │ └── expects.roc │ │ ├── expects_transitive │ │ ├── Direct.roc │ │ ├── Transitive.roc │ │ └── main.roc │ │ ├── false-interpreter │ │ ├── Context.roc │ │ ├── README.md │ │ ├── Variable.roc │ │ ├── examples │ │ │ ├── bottles.false │ │ │ ├── cksum.false │ │ │ ├── copy.false │ │ │ ├── crc32.false │ │ │ ├── hello.false │ │ │ ├── in.txt │ │ │ ├── odd_words.false │ │ │ ├── primes.false │ │ │ ├── queens.false │ │ │ ├── sqrt.false │ │ │ └── test.false │ │ ├── main.roc │ │ └── platform │ │ │ ├── Cargo.toml │ │ │ ├── File.roc │ │ │ ├── Host.roc │ │ │ ├── Stdin.roc │ │ │ ├── Stdout.roc │ │ │ ├── build.rs │ │ │ ├── host.c │ │ │ ├── main.roc │ │ │ └── src │ │ │ ├── lib.rs │ │ │ └── main.rs │ │ ├── fixtures │ │ ├── format │ │ │ ├── NotARocFile.txt │ │ │ ├── formatted.roc │ │ │ ├── formatted_directory │ │ │ │ ├── Formatted.roc │ │ │ │ ├── NestedNotARocFile.txt │ │ │ │ ├── NotARocFile │ │ │ │ └── ignored │ │ │ │ │ └── NotARocFile.txt │ │ │ └── not_formatted.roc │ │ ├── multi-dep-str │ │ │ ├── Dep1.roc │ │ │ ├── Dep2.roc │ │ │ └── main.roc │ │ ├── multi-dep-thunk │ │ │ ├── Dep1.roc │ │ │ ├── Dep2.roc │ │ │ └── main.roc │ │ ├── packages │ │ │ ├── csv │ │ │ │ ├── Csv.roc │ │ │ │ └── main.roc │ │ │ ├── json │ │ │ │ ├── JsonParser.roc │ │ │ │ └── main.roc │ │ │ └── main.roc │ │ └── transitive-deps │ │ │ ├── direct_one.roc │ │ │ ├── direct_one_and_two.roc │ │ │ ├── direct_zero.roc │ │ │ ├── one │ │ │ ├── One.roc │ │ │ └── main.roc │ │ │ ├── two │ │ │ ├── Two.roc │ │ │ └── main.roc │ │ │ └── zero │ │ │ ├── Zero.roc │ │ │ └── main.roc │ │ ├── issue7461.roc │ │ ├── known_bad │ │ ├── ExposedNotDefined.roc │ │ ├── Symbol.roc │ │ ├── TypeError.roc │ │ ├── UnusedImport.roc │ │ └── UnusedImportButWithALongFileNameForTesting.roc │ │ ├── module_imports_pkg │ │ ├── ImportsUnknownPkg.roc │ │ ├── Module.roc │ │ ├── app.roc │ │ └── pkg │ │ │ ├── Foo.roc │ │ │ └── main.roc │ │ ├── module_params │ │ ├── Alias.roc │ │ ├── Api.roc │ │ ├── BadAnn.roc │ │ ├── ImportInExpect.roc │ │ ├── Menu.roc │ │ ├── MultilineParams.roc │ │ ├── NoParams.roc │ │ ├── app.roc │ │ ├── arity_mismatch.roc │ │ ├── bad_ann.roc │ │ ├── different_types.roc │ │ ├── effect_module.roc │ │ ├── issue_7116.roc │ │ ├── multiline_params.roc │ │ ├── pass_task.roc │ │ └── unexpected_fn.roc │ │ ├── multiple_exposed │ │ ├── main.roc │ │ └── platform │ │ │ ├── host.zig │ │ │ └── main.roc │ │ ├── platform_requires_pkg │ │ ├── app.roc │ │ ├── foo │ │ │ ├── Foo.roc │ │ │ └── main.roc │ │ └── platform │ │ │ ├── host.zig │ │ │ └── main.roc │ │ ├── test-platform-effects-zig │ │ ├── Effect.roc │ │ ├── app_stub.roc │ │ ├── host.zig │ │ └── main.roc │ │ ├── test-platform-simple-zig │ │ ├── app.roc │ │ ├── host.zig │ │ └── main.roc │ │ └── tui │ │ ├── main.roc │ │ └── platform │ │ ├── Program.roc │ │ ├── host.zig │ │ └── main.roc ├── cli_test_utils │ ├── Cargo.toml │ └── src │ │ ├── bench_utils.rs │ │ ├── command.rs │ │ ├── exec_cli.rs │ │ ├── helpers.rs │ │ └── lib.rs ├── compiler │ ├── DESIGN.md │ ├── README.md │ ├── alias_analysis │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── build │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── link.rs │ │ │ ├── llvm_passes.rs │ │ │ ├── program.rs │ │ │ └── target.rs │ ├── builtins │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── benchmark-dec.zig │ │ ├── benchmark.sh │ │ ├── bitcode │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ ├── bc │ │ │ │ ├── Cargo.toml │ │ │ │ ├── build.rs │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ ├── build.rs │ │ │ ├── build.zig │ │ │ ├── fuzz_in_tmux.sh │ │ │ ├── run-tests.sh │ │ │ ├── run-wasm-tests.sh │ │ │ └── src │ │ │ │ ├── dbg.zig │ │ │ │ ├── dec.zig │ │ │ │ ├── expect.zig │ │ │ │ ├── fuzz_sort.zig │ │ │ │ ├── hash.zig │ │ │ │ ├── lib.rs │ │ │ │ ├── list.zig │ │ │ │ ├── main.zig │ │ │ │ ├── num.zig │ │ │ │ ├── panic.zig │ │ │ │ ├── sort.zig │ │ │ │ ├── str.zig │ │ │ │ └── utils.zig │ │ ├── roc │ │ │ ├── Bool.roc │ │ │ ├── Box.roc │ │ │ ├── Decode.roc │ │ │ ├── Dict.roc │ │ │ ├── Encode.roc │ │ │ ├── Hash.roc │ │ │ ├── Inspect.roc │ │ │ ├── List.roc │ │ │ ├── Num.roc │ │ │ ├── Result.roc │ │ │ ├── Set.roc │ │ │ ├── Str.roc │ │ │ └── main.roc │ │ └── src │ │ │ ├── bitcode.rs │ │ │ ├── lib.rs │ │ │ └── roc.rs │ ├── can │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── abilities.rs │ │ │ ├── annotation.rs │ │ │ ├── builtins.rs │ │ │ ├── constraint.rs │ │ │ ├── copy.rs │ │ │ ├── debug.rs │ │ │ ├── debug │ │ │ │ └── pretty_print.rs │ │ │ ├── def.rs │ │ │ ├── derive.rs │ │ │ ├── desugar.rs │ │ │ ├── effect_module.rs │ │ │ ├── env.rs │ │ │ ├── exhaustive.rs │ │ │ ├── expected.rs │ │ │ ├── expr.rs │ │ │ ├── lib.rs │ │ │ ├── module.rs │ │ │ ├── num.rs │ │ │ ├── pattern.rs │ │ │ ├── procedure.rs │ │ │ ├── scope.rs │ │ │ └── traverse.rs │ │ └── tests │ │ │ ├── helpers │ │ │ └── mod.rs │ │ │ ├── test_can.rs │ │ │ └── test_can_expr.rs │ ├── checkmate │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── build.rs │ │ ├── schema.json │ │ ├── src │ │ │ ├── collector.rs │ │ │ ├── convert.rs │ │ │ └── lib.rs │ │ └── www │ │ │ ├── .vim │ │ │ └── coc-settings.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ └── index.html │ │ │ ├── scripts │ │ │ └── gen_schema_dts.js │ │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── checkmate.json │ │ │ ├── components │ │ │ │ ├── Common │ │ │ │ │ ├── EpochCell.tsx │ │ │ │ │ ├── UnknownVariable.tsx │ │ │ │ │ ├── Variable.tsx │ │ │ │ │ ├── VariableLink.tsx │ │ │ │ │ └── VariableName.tsx │ │ │ │ ├── Content │ │ │ │ │ ├── HeadConstructor.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── EventItem │ │ │ │ │ ├── Variable.tsx │ │ │ │ │ └── types.ts │ │ │ │ ├── EventList │ │ │ │ │ ├── depthGroup.ts │ │ │ │ │ └── index.tsx │ │ │ │ ├── FileInput.tsx │ │ │ │ ├── Graph │ │ │ │ │ ├── VariableNode.tsx │ │ │ │ │ └── VariablesGraph.tsx │ │ │ │ └── Ui.tsx │ │ │ ├── engine │ │ │ │ ├── engine.tsx │ │ │ │ ├── event_util.tsx │ │ │ │ └── subs.tsx │ │ │ ├── hooks │ │ │ │ └── useFocusOutlineEvent.ts │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ ├── schema.d.ts │ │ │ └── utils │ │ │ │ ├── events.ts │ │ │ │ ├── exhaustive.ts │ │ │ │ └── refine.ts │ │ │ ├── tailwind.config.js │ │ │ └── tsconfig.json │ ├── checkmate_schema │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── collections │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── all.rs │ │ │ ├── lib.rs │ │ │ ├── push.rs │ │ │ ├── reference_matrix.rs │ │ │ ├── small_string_interner.rs │ │ │ ├── small_vec.rs │ │ │ ├── soa.rs │ │ │ ├── vec_map.rs │ │ │ └── vec_set.rs │ ├── constrain │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── builtins.rs │ │ │ ├── expr.rs │ │ │ ├── lib.rs │ │ │ ├── module.rs │ │ │ └── pattern.rs │ ├── debug_flags │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── derive │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── decoding.rs │ │ │ ├── decoding │ │ │ ├── list.rs │ │ │ ├── record.rs │ │ │ └── tuple.rs │ │ │ ├── encoding.rs │ │ │ ├── hash.rs │ │ │ ├── inspect.rs │ │ │ ├── lib.rs │ │ │ └── util.rs │ ├── derive_key │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── decoding.rs │ │ │ ├── encoding.rs │ │ │ ├── hash.rs │ │ │ ├── inspect.rs │ │ │ ├── lib.rs │ │ │ └── util.rs │ ├── exhaustive │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── fmt │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── annotation.rs │ │ │ ├── collection.rs │ │ │ ├── def.rs │ │ │ ├── expr.rs │ │ │ ├── header.rs │ │ │ ├── lib.rs │ │ │ ├── migrate.rs │ │ │ ├── node.rs │ │ │ ├── pattern.rs │ │ │ └── spaces.rs │ ├── gen_dev │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── generic64 │ │ │ ├── aarch64.rs │ │ │ ├── disassembler_test_macro.rs │ │ │ ├── mod.rs │ │ │ ├── storage.rs │ │ │ └── x86_64.rs │ │ │ ├── lib.rs │ │ │ ├── object_builder.rs │ │ │ ├── run_roc.rs │ │ │ └── todo.md │ ├── gen_llvm │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── llvm │ │ │ ├── align.rs │ │ │ ├── bitcode.rs │ │ │ ├── build.rs │ │ │ ├── build_list.rs │ │ │ ├── build_str.rs │ │ │ ├── compare.rs │ │ │ ├── convert.rs │ │ │ ├── erased.rs │ │ │ ├── expect.rs │ │ │ ├── externs.rs │ │ │ ├── fn_ptr.rs │ │ │ ├── intrinsics.rs │ │ │ ├── lowlevel.rs │ │ │ ├── memcpy.rs │ │ │ ├── mod.rs │ │ │ ├── refcounting.rs │ │ │ ├── scope.rs │ │ │ └── struct_.rs │ │ │ └── run_roc.rs │ ├── gen_wasm │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── docs │ │ │ └── host-to-app-calls.svg │ │ └── src │ │ │ ├── backend.rs │ │ │ ├── code_builder.rs │ │ │ ├── layout.rs │ │ │ ├── lib.rs │ │ │ ├── low_level.rs │ │ │ ├── storage.rs │ │ │ ├── wasm32_result.rs │ │ │ └── wasm32_sized.rs │ ├── ident │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── late_solve │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ └── storage.rs │ ├── load │ │ ├── Cargo.toml │ │ ├── build.rs │ │ ├── src │ │ │ └── lib.rs │ │ └── tests │ │ │ ├── helpers │ │ │ └── mod.rs │ │ │ ├── platform.roc │ │ │ └── test_reporting.rs │ ├── load_internal │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── docs.rs │ │ │ ├── file.rs │ │ │ ├── lib.rs │ │ │ ├── module.rs │ │ │ ├── module_cache.rs │ │ │ └── wasm_instant.rs │ │ └── tests │ │ │ ├── fixtures │ │ │ └── build │ │ │ │ ├── app_with_deps │ │ │ │ ├── AStar.roc │ │ │ │ ├── Dep1.roc │ │ │ │ ├── Dep2.roc │ │ │ │ ├── Dep3Blah.roc │ │ │ │ ├── Dep3Other.roc │ │ │ │ ├── ImportAlias.roc │ │ │ │ ├── ManualAttr.roc │ │ │ │ ├── OneDep.roc │ │ │ │ ├── Primary.roc │ │ │ │ ├── Quicksort.roc │ │ │ │ ├── QuicksortMultiDef.roc │ │ │ │ ├── Records.roc │ │ │ │ ├── Res.roc │ │ │ │ └── WithBuiltins.roc │ │ │ │ ├── module_with_deps │ │ │ │ ├── AStar.roc │ │ │ │ ├── Dep1.roc │ │ │ │ ├── Dep2.roc │ │ │ │ ├── Dep3.roc │ │ │ │ ├── ExposedUsedOutsideScope.roc │ │ │ │ ├── ImportAlias.roc │ │ │ │ ├── ImportInsideDef.roc │ │ │ │ ├── ImportUsedOutsideScope.roc │ │ │ │ ├── IngestedFile.roc │ │ │ │ ├── IngestedFileBytes.roc │ │ │ │ ├── ManualAttr.roc │ │ │ │ ├── OneDep.roc │ │ │ │ ├── Primary.roc │ │ │ │ ├── Quicksort.roc │ │ │ │ ├── Records.roc │ │ │ │ ├── Res.roc │ │ │ │ └── WithBuiltins.roc │ │ │ │ └── no_deps │ │ │ │ ├── Docs.roc │ │ │ │ ├── MissingDep.roc │ │ │ │ ├── MissingIngestedFile.roc │ │ │ │ ├── Principal.roc │ │ │ │ └── Unit.roc │ │ │ ├── helpers │ │ │ └── mod.rs │ │ │ └── test_load.rs │ ├── lower_params │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── lower.rs │ │ │ └── type_error.rs │ ├── module │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── called_via.rs │ │ │ ├── ident.rs │ │ │ ├── lib.rs │ │ │ ├── low_level.rs │ │ │ ├── module_err.rs │ │ │ └── symbol.rs │ ├── mono │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── borrow.rs │ │ │ ├── code_gen_help │ │ │ ├── copy.rs │ │ │ ├── equality.rs │ │ │ ├── mod.rs │ │ │ └── refcount.rs │ │ │ ├── debug.rs │ │ │ ├── debug │ │ │ ├── checker.rs │ │ │ └── report.rs │ │ │ ├── drop_specialization.rs │ │ │ ├── expand_rc.rs │ │ │ ├── inc_dec.rs │ │ │ ├── ir.rs │ │ │ ├── ir │ │ │ ├── boxed.rs │ │ │ ├── decision_tree.rs │ │ │ ├── erased.rs │ │ │ ├── literal.rs │ │ │ └── pattern.rs │ │ │ ├── layout.rs │ │ │ ├── layout │ │ │ ├── erased.rs │ │ │ ├── intern.rs │ │ │ └── semantic.rs │ │ │ ├── lib.rs │ │ │ ├── low_level.rs │ │ │ ├── reset_reuse.rs │ │ │ └── tail_recursion.rs │ ├── parse │ │ ├── Cargo.toml │ │ ├── benches │ │ │ └── bench_parse.rs │ │ ├── src │ │ │ ├── ast.rs │ │ │ ├── blankspace.rs │ │ │ ├── expr.rs │ │ │ ├── header.rs │ │ │ ├── highlight.rs │ │ │ ├── ident.rs │ │ │ ├── keyword.rs │ │ │ ├── lib.rs │ │ │ ├── normalize.rs │ │ │ ├── number_literal.rs │ │ │ ├── parser.rs │ │ │ ├── pattern.rs │ │ │ ├── src64.rs │ │ │ ├── state.rs │ │ │ ├── string_literal.rs │ │ │ ├── test_helpers.rs │ │ │ └── type_annotation.rs │ │ └── tests │ │ │ └── test_parse.rs │ ├── problem │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── can.rs │ │ │ └── lib.rs │ ├── region │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── all.rs │ │ │ └── lib.rs │ ├── roc_target │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── serialize │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── bytes.rs │ │ │ └── lib.rs │ ├── solve │ │ ├── Cargo.toml │ │ ├── docs │ │ │ └── ambient_lambda_set_specialization.md │ │ ├── src │ │ │ ├── ability.rs │ │ │ ├── aliases.rs │ │ │ ├── deep_copy.rs │ │ │ ├── env.rs │ │ │ ├── kinds.rs │ │ │ ├── lib.rs │ │ │ ├── module.rs │ │ │ ├── pools.rs │ │ │ ├── solve.rs │ │ │ ├── solve │ │ │ │ └── scope.rs │ │ │ ├── specialize.rs │ │ │ └── to_var.rs │ │ └── tests │ │ │ └── solve_expr.rs │ ├── solve_problem │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── solve_schema │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ └── unify.rs │ ├── test_derive │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── decoding.rs │ │ │ ├── encoding.rs │ │ │ ├── eq.rs │ │ │ ├── hash.rs │ │ │ ├── tests.rs │ │ │ └── util.rs │ ├── test_gen │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── benches │ │ │ ├── list_map.rs │ │ │ └── quicksort.rs │ │ ├── build.rs │ │ └── src │ │ │ ├── gen_abilities.rs │ │ │ ├── gen_compare.rs │ │ │ ├── gen_definitions.rs │ │ │ ├── gen_dict.rs │ │ │ ├── gen_erased.rs │ │ │ ├── gen_list.rs │ │ │ ├── gen_num.rs │ │ │ ├── gen_panic.rs │ │ │ ├── gen_primitives.rs │ │ │ ├── gen_records.rs │ │ │ ├── gen_refcount.rs │ │ │ ├── gen_result.rs │ │ │ ├── gen_return.rs │ │ │ ├── gen_set.rs │ │ │ ├── gen_str.rs │ │ │ ├── gen_tags.rs │ │ │ ├── gen_tuples.rs │ │ │ ├── helpers │ │ │ ├── debug-wasm-test.html │ │ │ ├── dev.rs │ │ │ ├── from_wasm32_memory.rs │ │ │ ├── llvm.rs │ │ │ ├── mod.rs │ │ │ ├── platform_functions.rs │ │ │ ├── wasm.rs │ │ │ ├── wasm_linking_host_imports.zig │ │ │ ├── wasm_linking_test_host.zig │ │ │ └── wasm_test_platform.c │ │ │ ├── tests.rs │ │ │ └── wasm_linking.rs │ ├── test_mono │ │ ├── Cargo.toml │ │ ├── generated │ │ │ ├── alias_variable.txt │ │ │ ├── alias_variable_and_return_it.txt │ │ │ ├── anonymous_closure_in_polymorphic_expression_issue_4717.txt │ │ │ ├── anonymous_closure_lifted_to_named_issue_2403.txt │ │ │ ├── binary_tree_fbip.txt │ │ │ ├── branch_store_variable.txt │ │ │ ├── call_function_in_empty_list.txt │ │ │ ├── call_function_in_empty_list_unbound.txt │ │ │ ├── capture_void_layout_task.txt │ │ │ ├── choose_correct_recursion_var_under_record.txt │ │ │ ├── choose_i128_layout.txt │ │ │ ├── choose_u128_layout.txt │ │ │ ├── choose_u64_layout.txt │ │ │ ├── closure_in_list.txt │ │ │ ├── compose_recursive_lambda_set_productive_nullable_wrapped.txt │ │ │ ├── crash.txt │ │ │ ├── dbg_expr.txt │ │ │ ├── dbg_in_expect.txt │ │ │ ├── dbg_inside_string.txt │ │ │ ├── dbg_nested_expr.txt │ │ │ ├── dbg_str_followed_by_number.txt │ │ │ ├── dec_refcount_for_usage_after_early_return_in_if.txt │ │ │ ├── dict.txt │ │ │ ├── drop_specialize_after_jump.txt │ │ │ ├── drop_specialize_after_struct.txt │ │ │ ├── drop_specialize_before_jump.txt │ │ │ ├── empty_list_of_function_type.txt │ │ │ ├── encode.txt │ │ │ ├── encode_derived_nested_record_string.txt │ │ │ ├── encode_derived_record_one_field_string.txt │ │ │ ├── encode_derived_record_two_field_strings.txt │ │ │ ├── encode_derived_string.txt │ │ │ ├── encode_derived_tag_one_field_string.txt │ │ │ ├── encode_derived_tag_two_payloads_string.txt │ │ │ ├── error_on_erroneous_condition.txt │ │ │ ├── factorial.txt │ │ │ ├── fst.txt │ │ │ ├── function_pointer_lambda_set.txt │ │ │ ├── function_specialization_information_in_lambda_set_thunk.txt │ │ │ ├── function_specialization_information_in_lambda_set_thunk_independent_defs.txt │ │ │ ├── guard_pattern_true.txt │ │ │ ├── if_guard_bind_variable_false.txt │ │ │ ├── if_multi_branch.txt │ │ │ ├── inline_return_joinpoints_in_bool_lambda_set.txt │ │ │ ├── inline_return_joinpoints_in_enum_lambda_set.txt │ │ │ ├── inline_return_joinpoints_in_union_lambda_set.txt │ │ │ ├── inspect_derived_dict.txt │ │ │ ├── inspect_derived_list.txt │ │ │ ├── inspect_derived_nested_record_string.txt │ │ │ ├── inspect_derived_record.txt │ │ │ ├── inspect_derived_record_one_field_string.txt │ │ │ ├── inspect_derived_record_two_field_strings.txt │ │ │ ├── inspect_derived_string.txt │ │ │ ├── inspect_derived_tag_one_field_string.txt │ │ │ ├── inspect_derived_tag_two_payloads_string.txt │ │ │ ├── instantiate_annotated_as_recursive_alias_multiple_polymorphic_expr.txt │ │ │ ├── instantiate_annotated_as_recursive_alias_polymorphic_expr.txt │ │ │ ├── instantiate_annotated_as_recursive_alias_toplevel.txt │ │ │ ├── ir_assignment.txt │ │ │ ├── ir_int_add.txt │ │ │ ├── ir_int_literal.txt │ │ │ ├── ir_plus.txt │ │ │ ├── ir_round.txt │ │ │ ├── ir_two_defs.txt │ │ │ ├── ir_when_idiv.txt │ │ │ ├── ir_when_just.txt │ │ │ ├── ir_when_maybe.txt │ │ │ ├── ir_when_record.txt │ │ │ ├── ir_when_these.txt │ │ │ ├── is_nil.txt │ │ │ ├── issue_2535_let_weakened_fields_referenced_in_list.txt │ │ │ ├── issue_2583_specialize_errors_behind_unified_branches.txt │ │ │ ├── issue_2725_alias_polymorphic_lambda.txt │ │ │ ├── issue_2810.txt │ │ │ ├── issue_2811.txt │ │ │ ├── issue_3560_nested_tag_constructor_is_newtype.txt │ │ │ ├── issue_3669.txt │ │ │ ├── issue_4557.txt │ │ │ ├── issue_4705.txt │ │ │ ├── issue_4749.txt │ │ │ ├── issue_4759.txt │ │ │ ├── issue_4770.txt │ │ │ ├── issue_4772_weakened_monomorphic_destructure.txt │ │ │ ├── issue_5513.txt │ │ │ ├── issue_6174.txt │ │ │ ├── issue_6196.txt │ │ │ ├── issue_6606_1.txt │ │ │ ├── issue_6606_2.txt │ │ │ ├── lambda_capture_niche_u8_vs_u64.txt │ │ │ ├── lambda_capture_niches_have_captured_function_in_closure.txt │ │ │ ├── lambda_capture_niches_with_non_capturing_function.txt │ │ │ ├── lambda_capture_niches_with_other_lambda_capture.txt │ │ │ ├── lambda_set_niche_same_layout_different_constructor.txt │ │ │ ├── lambda_set_with_imported_toplevels_issue_4733.txt │ │ │ ├── layout_cache_structure_with_multiple_recursive_structures.txt │ │ │ ├── let_with_record_pattern.txt │ │ │ ├── let_with_record_pattern_list.txt │ │ │ ├── let_x_in_x.txt │ │ │ ├── let_x_in_x_indirect.txt │ │ │ ├── linked_list_filter.txt │ │ │ ├── linked_list_map.txt │ │ │ ├── linked_list_reverse.txt │ │ │ ├── list_append.txt │ │ │ ├── list_append_closure.txt │ │ │ ├── list_cannot_update_inplace.txt │ │ │ ├── list_get.txt │ │ │ ├── list_len.txt │ │ │ ├── list_map_closure_borrows.txt │ │ │ ├── list_map_closure_owns.txt │ │ │ ├── list_map_take_capturing_or_noncapturing.txt │ │ │ ├── list_one_vs_one_spread_issue_4685.txt │ │ │ ├── list_pass_to_function.txt │ │ │ ├── list_sort_asc.txt │ │ │ ├── match_list.txt │ │ │ ├── match_on_result_with_uninhabited_error_branch.txt │ │ │ ├── mk_pair_of.txt │ │ │ ├── monomorphized_applied_tag.txt │ │ │ ├── monomorphized_floats.txt │ │ │ ├── monomorphized_ints.txt │ │ │ ├── monomorphized_list.txt │ │ │ ├── monomorphized_tag.txt │ │ │ ├── monomorphized_tag_with_aliased_args.txt │ │ │ ├── multiline_record_pattern.txt │ │ │ ├── nested_closure.txt │ │ │ ├── nested_optional_field_with_binary_op.txt │ │ │ ├── nested_pattern_match.txt │ │ │ ├── non_nullable_unwrapped_instead_of_nullable_wrapped.txt │ │ │ ├── nullable_wrapped_with_nullable_not_last_index.txt │ │ │ ├── num_width_gt_u8_layout_as_float.txt │ │ │ ├── one_element_tag.txt │ │ │ ├── opaque_as_pattern_in_closure_arg.txt │ │ │ ├── opaque_assign_to_symbol.txt │ │ │ ├── optional_field_with_binary_op.txt │ │ │ ├── optional_when.txt │ │ │ ├── order_list_size_tests_issue_4732.txt │ │ │ ├── pattern_as_nested.txt │ │ │ ├── pattern_as_of_symbol.txt │ │ │ ├── pattern_as_toplevel.txt │ │ │ ├── peano.txt │ │ │ ├── peano1.txt │ │ │ ├── peano2.txt │ │ │ ├── pizza_dbg.txt │ │ │ ├── polymorphic_expression_unification.txt │ │ │ ├── quicksort_help.txt │ │ │ ├── quicksort_swap.txt │ │ │ ├── rb_tree_fbip.txt │ │ │ ├── record_as_pattern_in_closure_arg.txt │ │ │ ├── record_optional_field_function_no_use_default.txt │ │ │ ├── record_optional_field_function_use_default.txt │ │ │ ├── record_optional_field_let_no_use_default.txt │ │ │ ├── record_optional_field_let_use_default.txt │ │ │ ├── record_update.txt │ │ │ ├── recursive_call_capturing_function.txt │ │ │ ├── recursive_closure_with_transiently_used_capture.txt │ │ │ ├── recursive_function_and_union_with_inference_hole.txt │ │ │ ├── recursive_lambda_set_has_nested_non_recursive_lambda_sets_issue_5026.txt │ │ │ ├── recursive_lambda_set_resolved_only_upon_specialization.txt │ │ │ ├── recursively_build_effect.txt │ │ │ ├── return_annotated.txt │ │ │ ├── rigids.txt │ │ │ ├── simple_if.txt │ │ │ ├── specialize_ability_call.txt │ │ │ ├── specialize_after_match.txt │ │ │ ├── specialize_closures.txt │ │ │ ├── specialize_lowlevel.txt │ │ │ ├── tail_call_elimination.txt │ │ │ ├── tail_call_with_different_layout.txt │ │ │ ├── tail_call_with_same_layout_different_lambda_sets.txt │ │ │ ├── toplevel_accessor_fn_thunk.txt │ │ │ ├── tuple_pattern_match.txt │ │ │ ├── unreachable_branch_is_eliminated_but_produces_lambda_specializations.txt │ │ │ ├── unreachable_void_constructor.txt │ │ │ ├── unspecialized_lambda_set_unification_does_not_duplicate_identical_concrete_types.txt │ │ │ ├── unspecialized_lambda_set_unification_keeps_all_concrete_types_without_unification.txt │ │ │ ├── unspecialized_lambda_set_unification_keeps_all_concrete_types_without_unification_of_unifiable.txt │ │ │ ├── weakening_avoids_overspecialization.txt │ │ │ ├── when_guard_appears_multiple_times_in_compiled_decision_tree_issue_5176.txt │ │ │ ├── when_joinpoint.txt │ │ │ ├── when_nested_maybe.txt │ │ │ ├── when_on_record.txt │ │ │ ├── when_on_result.txt │ │ │ └── when_on_two_values.txt │ │ └── src │ │ │ └── tests.rs │ ├── test_mono_macros │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── test_solve_helpers │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── test_syntax │ │ ├── Cargo.toml │ │ ├── fuzz │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ ├── dict.txt │ │ │ ├── fuzz.nix │ │ │ └── fuzz_targets │ │ │ │ ├── fuzz_expr.rs │ │ │ │ └── fuzz_module.rs │ │ ├── src │ │ │ ├── bin │ │ │ │ ├── dump_syntax.rs │ │ │ │ └── minimize.rs │ │ │ ├── lib.rs │ │ │ ├── minimize.rs │ │ │ └── test_helpers.rs │ │ └── tests │ │ │ ├── snapshots │ │ │ ├── fail │ │ │ │ ├── ability_demand_value_has_args.expr.result-ast │ │ │ │ ├── ability_demand_value_has_args.expr.roc │ │ │ │ ├── ability_demands_not_indented_with_first.expr.result-ast │ │ │ │ ├── ability_demands_not_indented_with_first.expr.roc │ │ │ │ ├── ability_first_demand_not_indented_enough.expr.result-ast │ │ │ │ ├── ability_first_demand_not_indented_enough.expr.roc │ │ │ │ ├── ability_non_signature_expression.expr.result-ast │ │ │ │ ├── ability_non_signature_expression.expr.roc │ │ │ │ ├── alias_or_opaque_fail.expr.result-ast │ │ │ │ ├── alias_or_opaque_fail.expr.roc │ │ │ │ ├── all_the_bangs.expr.result-ast │ │ │ │ ├── all_the_bangs.expr.roc │ │ │ │ ├── bound_variable.expr.formatted.roc │ │ │ │ ├── bound_variable.expr.result-ast │ │ │ │ ├── bound_variable.expr.roc │ │ │ │ ├── comment_with_tab.expr.result-ast │ │ │ │ ├── comment_with_tab.expr.roc │ │ │ │ ├── d_assign_return_bang.expr.result-ast │ │ │ │ ├── d_assign_return_bang.expr.roc │ │ │ │ ├── dbg_bang_neg_bang_if_bang.expr.result-ast │ │ │ │ ├── dbg_bang_neg_bang_if_bang.expr.roc │ │ │ │ ├── def_missing_final_expression.expr.result-ast │ │ │ │ ├── def_missing_final_expression.expr.roc │ │ │ │ ├── def_without_newline.expr.formatted.roc │ │ │ │ ├── def_without_newline.expr.result-ast │ │ │ │ ├── def_without_newline.expr.roc │ │ │ │ ├── deprecated_interpolated_string.expr.result-ast │ │ │ │ ├── deprecated_interpolated_string.expr.roc │ │ │ │ ├── double_plus.expr.result-ast │ │ │ │ ├── double_plus.expr.roc │ │ │ │ ├── elm_function_syntax.expr.result-ast │ │ │ │ ├── elm_function_syntax.expr.roc │ │ │ │ ├── empty_or_pattern.expr.result-ast │ │ │ │ ├── empty_or_pattern.expr.roc │ │ │ │ ├── empty_record_assign_expect_bang.expr.result-ast │ │ │ │ ├── empty_record_assign_expect_bang.expr.roc │ │ │ │ ├── empty_record_assignment_d_when_bang.expr.result-ast │ │ │ │ ├── empty_record_assignment_d_when_bang.expr.roc │ │ │ │ ├── empty_return.expr.result-ast │ │ │ │ ├── empty_return.expr.roc │ │ │ │ ├── error_inline_alias_argument_uppercase.expr.result-ast │ │ │ │ ├── error_inline_alias_argument_uppercase.expr.roc │ │ │ │ ├── error_inline_alias_not_an_alias.expr.result-ast │ │ │ │ ├── error_inline_alias_not_an_alias.expr.roc │ │ │ │ ├── error_inline_alias_qualified.expr.result-ast │ │ │ │ ├── error_inline_alias_qualified.expr.roc │ │ │ │ ├── exponential_else_branch_parsing_repro.expr.result-ast │ │ │ │ ├── exponential_else_branch_parsing_repro.expr.roc │ │ │ │ ├── exposed_type_bang.header.result-ast │ │ │ │ ├── exposed_type_bang.header.roc │ │ │ │ ├── expr_to_pattern_fail.expr.result-ast │ │ │ │ ├── expr_to_pattern_fail.expr.roc │ │ │ │ ├── if_guard_without_condition.expr.result-ast │ │ │ │ ├── if_guard_without_condition.expr.roc │ │ │ │ ├── if_missing_else.expr.result-ast │ │ │ │ ├── if_missing_else.expr.roc │ │ │ │ ├── if_outdented_else_branch.expr.result-ast │ │ │ │ ├── if_outdented_else_branch.expr.roc │ │ │ │ ├── if_outdented_then.expr.result-ast │ │ │ │ ├── if_outdented_then.expr.roc │ │ │ │ ├── ifbang_eqeq.expr.result-ast │ │ │ │ ├── ifbang_eqeq.expr.roc │ │ │ │ ├── import_with_lowercase_alias.moduledefs.result-ast │ │ │ │ ├── import_with_lowercase_alias.moduledefs.roc │ │ │ │ ├── imports_missing_comma.header.result-ast │ │ │ │ ├── imports_missing_comma.header.roc │ │ │ │ ├── inline_hastype.expr.result-ast │ │ │ │ ├── inline_hastype.expr.roc │ │ │ │ ├── invalid_operator.expr.result-ast │ │ │ │ ├── invalid_operator.expr.roc │ │ │ │ ├── lambda_double_comma.expr.result-ast │ │ │ │ ├── lambda_double_comma.expr.roc │ │ │ │ ├── lambda_extra_comma.expr.result-ast │ │ │ │ ├── lambda_extra_comma.expr.roc │ │ │ │ ├── lambda_leading_comma.expr.result-ast │ │ │ │ ├── lambda_leading_comma.expr.roc │ │ │ │ ├── lambda_missing_indent.expr.result-ast │ │ │ │ ├── lambda_missing_indent.expr.roc │ │ │ │ ├── list_double_comma.expr.result-ast │ │ │ │ ├── list_double_comma.expr.roc │ │ │ │ ├── list_pattern_not_terminated.expr.result-ast │ │ │ │ ├── list_pattern_not_terminated.expr.roc │ │ │ │ ├── list_pattern_weird_rest_pattern.expr.result-ast │ │ │ │ ├── list_pattern_weird_rest_pattern.expr.roc │ │ │ │ ├── list_without_end.expr.result-ast │ │ │ │ ├── list_without_end.expr.roc │ │ │ │ ├── m_at_s_minus_s_implements.expr.formatted.roc │ │ │ │ ├── m_at_s_minus_s_implements.expr.result-ast │ │ │ │ ├── m_at_s_minus_s_implements.expr.roc │ │ │ │ ├── module_params_with_missing_arrow.header.result-ast │ │ │ │ ├── module_params_with_missing_arrow.header.roc │ │ │ │ ├── module_with_unfinished_params.header.result-ast │ │ │ │ ├── module_with_unfinished_params.header.roc │ │ │ │ ├── multi_no_end.expr.result-ast │ │ │ │ ├── multi_no_end.expr.roc │ │ │ │ ├── nested_tuples_annotation_terrible_perf.expr.result-ast │ │ │ │ ├── nested_tuples_annotation_terrible_perf.expr.roc │ │ │ │ ├── nested_when_expect_binop_when.expr.result-ast │ │ │ │ ├── nested_when_expect_binop_when.expr.roc │ │ │ │ ├── newline_before_operator_with_defs.expr.formatted.roc │ │ │ │ ├── newline_before_operator_with_defs.expr.result-ast │ │ │ │ ├── newline_before_operator_with_defs.expr.roc │ │ │ │ ├── oom_repro.expr.result-ast │ │ │ │ ├── oom_repro.expr.roc │ │ │ │ ├── opaque_type_def_with_newline.expr.formatted.roc │ │ │ │ ├── opaque_type_def_with_newline.expr.result-ast │ │ │ │ ├── opaque_type_def_with_newline.expr.roc │ │ │ │ ├── pattern_binds_keyword.expr.result-ast │ │ │ │ ├── pattern_binds_keyword.expr.roc │ │ │ │ ├── pattern_in_parens_end.expr.result-ast │ │ │ │ ├── pattern_in_parens_end.expr.roc │ │ │ │ ├── pattern_in_parens_end_comma.expr.result-ast │ │ │ │ ├── pattern_in_parens_end_comma.expr.roc │ │ │ │ ├── pattern_in_parens_indent_open.expr.result-ast │ │ │ │ ├── pattern_in_parens_indent_open.expr.roc │ │ │ │ ├── pattern_in_parens_open.expr.result-ast │ │ │ │ ├── pattern_in_parens_open.expr.roc │ │ │ │ ├── record_destructure_field_bang_no_space.expr.result-ast │ │ │ │ ├── record_destructure_field_bang_no_space.expr.roc │ │ │ │ ├── record_type_end.expr.result-ast │ │ │ │ ├── record_type_end.expr.roc │ │ │ │ ├── record_type_keyword_field_name.expr.result-ast │ │ │ │ ├── record_type_keyword_field_name.expr.roc │ │ │ │ ├── record_type_missing_comma.expr.result-ast │ │ │ │ ├── record_type_missing_comma.expr.roc │ │ │ │ ├── record_type_open.expr.result-ast │ │ │ │ ├── record_type_open.expr.roc │ │ │ │ ├── record_type_open_indent.expr.result-ast │ │ │ │ ├── record_type_open_indent.expr.roc │ │ │ │ ├── record_type_tab.expr.result-ast │ │ │ │ ├── record_type_tab.expr.roc │ │ │ │ ├── return_as_single_line_expr.expr.result-ast │ │ │ │ ├── return_as_single_line_expr.expr.roc │ │ │ │ ├── return_in_pat.expr.result-ast │ │ │ │ ├── return_in_pat.expr.roc │ │ │ │ ├── single_no_end.expr.result-ast │ │ │ │ ├── single_no_end.expr.roc │ │ │ │ ├── str_over_large_unicode_escape.expr.result-ast │ │ │ │ ├── str_over_large_unicode_escape.expr.roc │ │ │ │ ├── sub_minus_o_apply_minus_crash_bang.expr.result-ast │ │ │ │ ├── sub_minus_o_apply_minus_crash_bang.expr.roc │ │ │ │ ├── tab_crash.header.result-ast │ │ │ │ ├── tab_crash.header.roc │ │ │ │ ├── tag_union_end.expr.result-ast │ │ │ │ ├── tag_union_end.expr.roc │ │ │ │ ├── tag_union_lowercase_tag_name.expr.result-ast │ │ │ │ ├── tag_union_lowercase_tag_name.expr.roc │ │ │ │ ├── tag_union_open.expr.result-ast │ │ │ │ ├── tag_union_open.expr.roc │ │ │ │ ├── tag_union_second_lowercase_tag_name.expr.result-ast │ │ │ │ ├── tag_union_second_lowercase_tag_name.expr.roc │ │ │ │ ├── trailing_operator.expr.result-ast │ │ │ │ ├── trailing_operator.expr.roc │ │ │ │ ├── triple_quote_newline_after_dollar.expr.result-ast │ │ │ │ ├── triple_quote_newline_after_dollar.expr.roc │ │ │ │ ├── type_annotation_double_colon.expr.result-ast │ │ │ │ ├── type_annotation_double_colon.expr.roc │ │ │ │ ├── type_apply_stray_dot.expr.result-ast │ │ │ │ ├── type_apply_stray_dot.expr.roc │ │ │ │ ├── type_argument_arrow_then_nothing.expr.result-ast │ │ │ │ ├── type_argument_arrow_then_nothing.expr.roc │ │ │ │ ├── type_argument_no_arrow.expr.result-ast │ │ │ │ ├── type_argument_no_arrow.expr.roc │ │ │ │ ├── type_double_comma.expr.result-ast │ │ │ │ ├── type_double_comma.expr.roc │ │ │ │ ├── type_in_parens_end.expr.result-ast │ │ │ │ ├── type_in_parens_end.expr.roc │ │ │ │ ├── type_in_parens_start.expr.result-ast │ │ │ │ ├── type_in_parens_start.expr.roc │ │ │ │ ├── type_inline_alias.expr.result-ast │ │ │ │ ├── type_inline_alias.expr.roc │ │ │ │ ├── underscore_name_type_annotation.expr.result-ast │ │ │ │ ├── underscore_name_type_annotation.expr.roc │ │ │ │ ├── unfinished_closure_pattern_in_parens.expr.result-ast │ │ │ │ ├── unfinished_closure_pattern_in_parens.expr.roc │ │ │ │ ├── unfinished_import_as_or_exposing.moduledefs.result-ast │ │ │ │ ├── unfinished_import_as_or_exposing.moduledefs.roc │ │ │ │ ├── unicode_not_hex.expr.result-ast │ │ │ │ ├── unicode_not_hex.expr.roc │ │ │ │ ├── weird_escape.expr.result-ast │ │ │ │ ├── weird_escape.expr.roc │ │ │ │ ├── when_missing_arrow.expr.result-ast │ │ │ │ ├── when_missing_arrow.expr.roc │ │ │ │ ├── when_outdented_branch.expr.result-ast │ │ │ │ ├── when_outdented_branch.expr.roc │ │ │ │ ├── when_over_indented_int.expr.result-ast │ │ │ │ ├── when_over_indented_int.expr.roc │ │ │ │ ├── when_over_indented_underscore.expr.result-ast │ │ │ │ ├── when_over_indented_underscore.expr.roc │ │ │ │ ├── where_type_variable.expr.result-ast │ │ │ │ ├── where_type_variable.expr.roc │ │ │ │ ├── wherem_implementsf.expr.result-ast │ │ │ │ ├── wherem_implementsf.expr.roc │ │ │ │ ├── wild_case_arrow.expr.result-ast │ │ │ │ └── wild_case_arrow.expr.roc │ │ │ ├── malformed │ │ │ │ ├── bad_opaque_ref.expr.formatted.roc │ │ │ │ ├── bad_opaque_ref.expr.migrated.roc │ │ │ │ ├── bad_opaque_ref.expr.result-ast │ │ │ │ ├── bad_opaque_ref.expr.roc │ │ │ │ ├── if_in_record_field_opt_pat.expr.formatted.roc │ │ │ │ ├── if_in_record_field_opt_pat.expr.migrated.roc │ │ │ │ ├── if_in_record_field_opt_pat.expr.result-ast │ │ │ │ ├── if_in_record_field_opt_pat.expr.roc │ │ │ │ ├── implements_after_comment_with_newline.expr.formatted.roc │ │ │ │ ├── implements_after_comment_with_newline.expr.migrated.roc │ │ │ │ ├── implements_after_comment_with_newline.expr.result-ast │ │ │ │ ├── implements_after_comment_with_newline.expr.roc │ │ │ │ ├── looks_like_implements.expr.formatted.roc │ │ │ │ ├── looks_like_implements.expr.migrated.roc │ │ │ │ ├── looks_like_implements.expr.result-ast │ │ │ │ ├── looks_like_implements.expr.roc │ │ │ │ ├── malformed_pattern_field_access.expr.formatted.roc │ │ │ │ ├── malformed_pattern_field_access.expr.result-ast │ │ │ │ ├── malformed_pattern_field_access.expr.roc │ │ │ │ ├── malformed_pattern_module_name.expr.formatted.roc │ │ │ │ ├── malformed_pattern_module_name.expr.result-ast │ │ │ │ ├── malformed_pattern_module_name.expr.roc │ │ │ │ ├── module_dot_tuple.expr.migrated.roc │ │ │ │ ├── module_dot_tuple.expr.result-ast │ │ │ │ ├── module_dot_tuple.expr.roc │ │ │ │ ├── negative_number_in_pattern.expr.formatted.roc │ │ │ │ ├── negative_number_in_pattern.expr.migrated.roc │ │ │ │ ├── negative_number_in_pattern.expr.result-ast │ │ │ │ ├── negative_number_in_pattern.expr.roc │ │ │ │ ├── opaque_in_ann_apply_arg.expr.formatted.roc │ │ │ │ ├── opaque_in_ann_apply_arg.expr.migrated.roc │ │ │ │ ├── opaque_in_ann_apply_arg.expr.result-ast │ │ │ │ ├── opaque_in_ann_apply_arg.expr.roc │ │ │ │ ├── parens_comment_in_ty_annotation.expr.formatted.roc │ │ │ │ ├── parens_comment_in_ty_annotation.expr.migrated.roc │ │ │ │ ├── parens_comment_in_ty_annotation.expr.result-ast │ │ │ │ ├── parens_comment_in_ty_annotation.expr.roc │ │ │ │ ├── parens_in_type_def_apply.expr.formatted.roc │ │ │ │ ├── parens_in_type_def_apply.expr.migrated.roc │ │ │ │ ├── parens_in_type_def_apply.expr.result-ast │ │ │ │ ├── parens_in_type_def_apply.expr.roc │ │ │ │ ├── pattern_opt_field_bonanza.expr.formatted.roc │ │ │ │ ├── pattern_opt_field_bonanza.expr.migrated.roc │ │ │ │ ├── pattern_opt_field_bonanza.expr.result-ast │ │ │ │ ├── pattern_opt_field_bonanza.expr.roc │ │ │ │ ├── qualified_tag.expr.migrated.roc │ │ │ │ ├── qualified_tag.expr.result-ast │ │ │ │ ├── qualified_tag.expr.roc │ │ │ │ ├── quotes_in_parens_in_pat.expr.formatted.roc │ │ │ │ ├── quotes_in_parens_in_pat.expr.migrated.roc │ │ │ │ ├── quotes_in_parens_in_pat.expr.result-ast │ │ │ │ ├── quotes_in_parens_in_pat.expr.roc │ │ │ │ ├── repr_7346.expr.formatted.roc │ │ │ │ ├── repr_7346.expr.migrated.roc │ │ │ │ ├── repr_7346.expr.result-ast │ │ │ │ └── repr_7346.expr.roc │ │ │ └── pass │ │ │ │ ├── ability_demand_signature_is_multiline.expr.formatted.roc │ │ │ │ ├── ability_demand_signature_is_multiline.expr.migrated.roc │ │ │ │ ├── ability_demand_signature_is_multiline.expr.result-ast │ │ │ │ ├── ability_demand_signature_is_multiline.expr.roc │ │ │ │ ├── ability_multi_line.expr.formatted.roc │ │ │ │ ├── ability_multi_line.expr.migrated.roc │ │ │ │ ├── ability_multi_line.expr.result-ast │ │ │ │ ├── ability_multi_line.expr.roc │ │ │ │ ├── ability_single_line.expr.formatted.roc │ │ │ │ ├── ability_single_line.expr.migrated.roc │ │ │ │ ├── ability_single_line.expr.result-ast │ │ │ │ ├── ability_single_line.expr.roc │ │ │ │ ├── ability_two_in_a_row.expr.formatted.roc │ │ │ │ ├── ability_two_in_a_row.expr.migrated.roc │ │ │ │ ├── ability_two_in_a_row.expr.result-ast │ │ │ │ ├── ability_two_in_a_row.expr.roc │ │ │ │ ├── accidentally_indented_else.expr.formatted.roc │ │ │ │ ├── accidentally_indented_else.expr.migrated.roc │ │ │ │ ├── accidentally_indented_else.expr.result-ast │ │ │ │ ├── accidentally_indented_else.expr.roc │ │ │ │ ├── add_var_with_spaces.expr.migrated.roc │ │ │ │ ├── add_var_with_spaces.expr.result-ast │ │ │ │ ├── add_var_with_spaces.expr.roc │ │ │ │ ├── add_with_spaces.expr.formatted.roc │ │ │ │ ├── add_with_spaces.expr.migrated.roc │ │ │ │ ├── add_with_spaces.expr.result-ast │ │ │ │ ├── add_with_spaces.expr.roc │ │ │ │ ├── alias_ann_in_parens.expr.formatted.roc │ │ │ │ ├── alias_ann_in_parens.expr.migrated.roc │ │ │ │ ├── alias_ann_in_parens.expr.result-ast │ │ │ │ ├── alias_ann_in_parens.expr.roc │ │ │ │ ├── alias_comment_after_head.expr.formatted.roc │ │ │ │ ├── alias_comment_after_head.expr.migrated.roc │ │ │ │ ├── alias_comment_after_head.expr.result-ast │ │ │ │ ├── alias_comment_after_head.expr.roc │ │ │ │ ├── alias_parens_comment.expr.formatted.roc │ │ │ │ ├── alias_parens_comment.expr.migrated.roc │ │ │ │ ├── alias_parens_comment.expr.result-ast │ │ │ │ ├── alias_parens_comment.expr.roc │ │ │ │ ├── alias_parens_comment_indent.expr.formatted.roc │ │ │ │ ├── alias_parens_comment_indent.expr.migrated.roc │ │ │ │ ├── alias_parens_comment_indent.expr.result-ast │ │ │ │ ├── alias_parens_comment_indent.expr.roc │ │ │ │ ├── ann_apply_record_with_newlines.expr.formatted.roc │ │ │ │ ├── ann_apply_record_with_newlines.expr.migrated.roc │ │ │ │ ├── ann_apply_record_with_newlines.expr.result-ast │ │ │ │ ├── ann_apply_record_with_newlines.expr.roc │ │ │ │ ├── ann_closed_union.expr.migrated.roc │ │ │ │ ├── ann_closed_union.expr.result-ast │ │ │ │ ├── ann_closed_union.expr.roc │ │ │ │ ├── ann_effectful_fn.expr.formatted.roc │ │ │ │ ├── ann_effectful_fn.expr.migrated.roc │ │ │ │ ├── ann_effectful_fn.expr.result-ast │ │ │ │ ├── ann_effectful_fn.expr.roc │ │ │ │ ├── ann_extra_indented_implements.expr.formatted.roc │ │ │ │ ├── ann_extra_indented_implements.expr.migrated.roc │ │ │ │ ├── ann_extra_indented_implements.expr.result-ast │ │ │ │ ├── ann_extra_indented_implements.expr.roc │ │ │ │ ├── ann_open_union.expr.migrated.roc │ │ │ │ ├── ann_open_union.expr.result-ast │ │ │ │ ├── ann_open_union.expr.roc │ │ │ │ ├── ann_parens_comments.expr.formatted.roc │ │ │ │ ├── ann_parens_comments.expr.migrated.roc │ │ │ │ ├── ann_parens_comments.expr.result-ast │ │ │ │ ├── ann_parens_comments.expr.roc │ │ │ │ ├── ann_parens_where_implements_func.expr.formatted.roc │ │ │ │ ├── ann_parens_where_implements_func.expr.migrated.roc │ │ │ │ ├── ann_parens_where_implements_func.expr.result-ast │ │ │ │ ├── ann_parens_where_implements_func.expr.roc │ │ │ │ ├── ann_pattern_comment_before_body.expr.formatted.roc │ │ │ │ ├── ann_pattern_comment_before_body.expr.migrated.roc │ │ │ │ ├── ann_pattern_comment_before_body.expr.result-ast │ │ │ │ ├── ann_pattern_comment_before_body.expr.roc │ │ │ │ ├── ann_record_pat_with_comment.expr.formatted.roc │ │ │ │ ├── ann_record_pat_with_comment.expr.migrated.roc │ │ │ │ ├── ann_record_pat_with_comment.expr.result-ast │ │ │ │ ├── ann_record_pat_with_comment.expr.roc │ │ │ │ ├── ann_tag_union_newline_comment.expr.formatted.roc │ │ │ │ ├── ann_tag_union_newline_comment.expr.migrated.roc │ │ │ │ ├── ann_tag_union_newline_comment.expr.result-ast │ │ │ │ ├── ann_tag_union_newline_comment.expr.roc │ │ │ │ ├── ann_where_e_newline_implements.expr.formatted.roc │ │ │ │ ├── ann_where_e_newline_implements.expr.migrated.roc │ │ │ │ ├── ann_where_e_newline_implements.expr.result-ast │ │ │ │ ├── ann_where_e_newline_implements.expr.roc │ │ │ │ ├── annotate_tuple_func.expr.formatted.roc │ │ │ │ ├── annotate_tuple_func.expr.migrated.roc │ │ │ │ ├── annotate_tuple_func.expr.result-ast │ │ │ │ ├── annotate_tuple_func.expr.roc │ │ │ │ ├── annotated_empty_record_destructure.expr.formatted.roc │ │ │ │ ├── annotated_empty_record_destructure.expr.migrated.roc │ │ │ │ ├── annotated_empty_record_destructure.expr.result-ast │ │ │ │ ├── annotated_empty_record_destructure.expr.roc │ │ │ │ ├── annotated_record_destructure.expr.formatted.roc │ │ │ │ ├── annotated_record_destructure.expr.migrated.roc │ │ │ │ ├── annotated_record_destructure.expr.result-ast │ │ │ │ ├── annotated_record_destructure.expr.roc │ │ │ │ ├── annotated_tag_destructure.expr.formatted.roc │ │ │ │ ├── annotated_tag_destructure.expr.migrated.roc │ │ │ │ ├── annotated_tag_destructure.expr.result-ast │ │ │ │ ├── annotated_tag_destructure.expr.roc │ │ │ │ ├── annotated_tuple_destructure.expr.formatted.roc │ │ │ │ ├── annotated_tuple_destructure.expr.migrated.roc │ │ │ │ ├── annotated_tuple_destructure.expr.result-ast │ │ │ │ ├── annotated_tuple_destructure.expr.roc │ │ │ │ ├── annotation_apply_newlines.expr.formatted.roc │ │ │ │ ├── annotation_apply_newlines.expr.migrated.roc │ │ │ │ ├── annotation_apply_newlines.expr.result-ast │ │ │ │ ├── annotation_apply_newlines.expr.roc │ │ │ │ ├── annotation_comment_before_as.expr.formatted.roc │ │ │ │ ├── annotation_comment_before_as.expr.migrated.roc │ │ │ │ ├── annotation_comment_before_as.expr.result-ast │ │ │ │ ├── annotation_comment_before_as.expr.roc │ │ │ │ ├── annotation_comment_before_colon.expr.formatted.roc │ │ │ │ ├── annotation_comment_before_colon.expr.migrated.roc │ │ │ │ ├── annotation_comment_before_colon.expr.result-ast │ │ │ │ ├── annotation_comment_before_colon.expr.roc │ │ │ │ ├── annotation_double_as.expr.formatted.roc │ │ │ │ ├── annotation_double_as.expr.migrated.roc │ │ │ │ ├── annotation_double_as.expr.result-ast │ │ │ │ ├── annotation_double_as.expr.roc │ │ │ │ ├── annotation_tag_parens_comment.expr.formatted.roc │ │ │ │ ├── annotation_tag_parens_comment.expr.migrated.roc │ │ │ │ ├── annotation_tag_parens_comment.expr.result-ast │ │ │ │ ├── annotation_tag_parens_comment.expr.roc │ │ │ │ ├── annotation_tuple_comment.expr.formatted.roc │ │ │ │ ├── annotation_tuple_comment.expr.migrated.roc │ │ │ │ ├── annotation_tuple_comment.expr.result-ast │ │ │ │ ├── annotation_tuple_comment.expr.roc │ │ │ │ ├── annotation_tuple_newline.expr.formatted.roc │ │ │ │ ├── annotation_tuple_newline.expr.migrated.roc │ │ │ │ ├── annotation_tuple_newline.expr.result-ast │ │ │ │ ├── annotation_tuple_newline.expr.roc │ │ │ │ ├── annotation_tuple_parens_newlines.expr.formatted.roc │ │ │ │ ├── annotation_tuple_parens_newlines.expr.migrated.roc │ │ │ │ ├── annotation_tuple_parens_newlines.expr.result-ast │ │ │ │ ├── annotation_tuple_parens_newlines.expr.roc │ │ │ │ ├── annotation_tuples_ext_galore.expr.formatted.roc │ │ │ │ ├── annotation_tuples_ext_galore.expr.migrated.roc │ │ │ │ ├── annotation_tuples_ext_galore.expr.result-ast │ │ │ │ ├── annotation_tuples_ext_galore.expr.roc │ │ │ │ ├── applies_in_binop.expr.formatted.roc │ │ │ │ ├── applies_in_binop.expr.migrated.roc │ │ │ │ ├── applies_in_binop.expr.result-ast │ │ │ │ ├── applies_in_binop.expr.roc │ │ │ │ ├── apply_bang_bang_closure.expr.formatted.roc │ │ │ │ ├── apply_bang_bang_closure.expr.migrated.roc │ │ │ │ ├── apply_bang_bang_closure.expr.result-ast │ │ │ │ ├── apply_bang_bang_closure.expr.roc │ │ │ │ ├── apply_binop_switch.expr.formatted.roc │ │ │ │ ├── apply_binop_switch.expr.migrated.roc │ │ │ │ ├── apply_binop_switch.expr.result-ast │ │ │ │ ├── apply_binop_switch.expr.roc │ │ │ │ ├── apply_closure_pizza.expr.formatted.roc │ │ │ │ ├── apply_closure_pizza.expr.migrated.roc │ │ │ │ ├── apply_closure_pizza.expr.result-ast │ │ │ │ ├── apply_closure_pizza.expr.roc │ │ │ │ ├── apply_parenthetical_tag_args.expr.migrated.roc │ │ │ │ ├── apply_parenthetical_tag_args.expr.result-ast │ │ │ │ ├── apply_parenthetical_tag_args.expr.roc │ │ │ │ ├── apply_record_ann.expr.formatted.roc │ │ │ │ ├── apply_record_ann.expr.migrated.roc │ │ │ │ ├── apply_record_ann.expr.result-ast │ │ │ │ ├── apply_record_ann.expr.roc │ │ │ │ ├── apply_record_parens_newline_field.expr.formatted.roc │ │ │ │ ├── apply_record_parens_newline_field.expr.migrated.roc │ │ │ │ ├── apply_record_parens_newline_field.expr.result-ast │ │ │ │ ├── apply_record_parens_newline_field.expr.roc │ │ │ │ ├── apply_tag.expr.migrated.roc │ │ │ │ ├── apply_tag.expr.result-ast │ │ │ │ ├── apply_tag.expr.roc │ │ │ │ ├── apply_tag_pnc.expr.formatted.roc │ │ │ │ ├── apply_tag_pnc.expr.migrated.roc │ │ │ │ ├── apply_tag_pnc.expr.result-ast │ │ │ │ ├── apply_tag_pnc.expr.roc │ │ │ │ ├── apply_tag_single_arg_pnc.pattern.formatted.roc │ │ │ │ ├── apply_tag_single_arg_pnc.pattern.migrated.roc │ │ │ │ ├── apply_tag_single_arg_pnc.pattern.result-ast │ │ │ │ ├── apply_tag_single_arg_pnc.pattern.roc │ │ │ │ ├── apply_tag_single_arg_whitespace.pattern.formatted.roc │ │ │ │ ├── apply_tag_single_arg_whitespace.pattern.migrated.roc │ │ │ │ ├── apply_tag_single_arg_whitespace.pattern.result-ast │ │ │ │ ├── apply_tag_single_arg_whitespace.pattern.roc │ │ │ │ ├── apply_three_args.expr.migrated.roc │ │ │ │ ├── apply_three_args.expr.result-ast │ │ │ │ ├── apply_three_args.expr.roc │ │ │ │ ├── apply_tuple_ext_parens_ty.expr.formatted.roc │ │ │ │ ├── apply_tuple_ext_parens_ty.expr.migrated.roc │ │ │ │ ├── apply_tuple_ext_parens_ty.expr.result-ast │ │ │ │ ├── apply_tuple_ext_parens_ty.expr.roc │ │ │ │ ├── apply_two_args.expr.formatted.roc │ │ │ │ ├── apply_two_args.expr.migrated.roc │ │ │ │ ├── apply_two_args.expr.result-ast │ │ │ │ ├── apply_two_args.expr.roc │ │ │ │ ├── apply_two_args_pnc.expr.formatted.roc │ │ │ │ ├── apply_two_args_pnc.expr.migrated.roc │ │ │ │ ├── apply_two_args_pnc.expr.result-ast │ │ │ │ ├── apply_two_args_pnc.expr.roc │ │ │ │ ├── apply_unary_negation.expr.formatted.roc │ │ │ │ ├── apply_unary_negation.expr.migrated.roc │ │ │ │ ├── apply_unary_negation.expr.result-ast │ │ │ │ ├── apply_unary_negation.expr.roc │ │ │ │ ├── apply_unary_not.expr.formatted.roc │ │ │ │ ├── apply_unary_not.expr.migrated.roc │ │ │ │ ├── apply_unary_not.expr.result-ast │ │ │ │ ├── apply_unary_not.expr.roc │ │ │ │ ├── arg_pattern_as.expr.formatted.roc │ │ │ │ ├── arg_pattern_as.expr.migrated.roc │ │ │ │ ├── arg_pattern_as.expr.result-ast │ │ │ │ ├── arg_pattern_as.expr.roc │ │ │ │ ├── as_in_func_type_args.expr.formatted.roc │ │ │ │ ├── as_in_func_type_args.expr.migrated.roc │ │ │ │ ├── as_in_func_type_args.expr.result-ast │ │ │ │ ├── as_in_func_type_args.expr.roc │ │ │ │ ├── assign_parens_item_newline_comment.expr.formatted.roc │ │ │ │ ├── assign_parens_item_newline_comment.expr.migrated.roc │ │ │ │ ├── assign_parens_item_newline_comment.expr.result-ast │ │ │ │ ├── assign_parens_item_newline_comment.expr.roc │ │ │ │ ├── backslash_closure_last_expr.expr.formatted.roc │ │ │ │ ├── backslash_closure_last_expr.expr.migrated.roc │ │ │ │ ├── backslash_closure_last_expr.expr.result-ast │ │ │ │ ├── backslash_closure_last_expr.expr.roc │ │ │ │ ├── bang_newline_double_accessor.expr.formatted.roc │ │ │ │ ├── bang_newline_double_accessor.expr.migrated.roc │ │ │ │ ├── bang_newline_double_accessor.expr.result-ast │ │ │ │ ├── bang_newline_double_accessor.expr.roc │ │ │ │ ├── bangs_and_tuple_accessors.expr.formatted.roc │ │ │ │ ├── bangs_and_tuple_accessors.expr.migrated.roc │ │ │ │ ├── bangs_and_tuple_accessors.expr.result-ast │ │ │ │ ├── bangs_and_tuple_accessors.expr.roc │ │ │ │ ├── basic_apply.expr.migrated.roc │ │ │ │ ├── basic_apply.expr.result-ast │ │ │ │ ├── basic_apply.expr.roc │ │ │ │ ├── basic_docs.expr.formatted.roc │ │ │ │ ├── basic_docs.expr.migrated.roc │ │ │ │ ├── basic_docs.expr.result-ast │ │ │ │ ├── basic_docs.expr.roc │ │ │ │ ├── basic_field.expr.migrated.roc │ │ │ │ ├── basic_field.expr.result-ast │ │ │ │ ├── basic_field.expr.roc │ │ │ │ ├── basic_tag.expr.migrated.roc │ │ │ │ ├── basic_tag.expr.result-ast │ │ │ │ ├── basic_tag.expr.roc │ │ │ │ ├── basic_tuple.expr.migrated.roc │ │ │ │ ├── basic_tuple.expr.result-ast │ │ │ │ ├── basic_tuple.expr.roc │ │ │ │ ├── basic_var.expr.migrated.roc │ │ │ │ ├── basic_var.expr.result-ast │ │ │ │ ├── basic_var.expr.roc │ │ │ │ ├── binop_apply_complex.expr.formatted.roc │ │ │ │ ├── binop_apply_complex.expr.migrated.roc │ │ │ │ ├── binop_apply_complex.expr.result-ast │ │ │ │ ├── binop_apply_complex.expr.roc │ │ │ │ ├── binop_assign_defs_nested.expr.formatted.roc │ │ │ │ ├── binop_assign_defs_nested.expr.migrated.roc │ │ │ │ ├── binop_assign_defs_nested.expr.result-ast │ │ │ │ ├── binop_assign_defs_nested.expr.roc │ │ │ │ ├── binop_closure_apply.expr.formatted.roc │ │ │ │ ├── binop_closure_apply.expr.migrated.roc │ │ │ │ ├── binop_closure_apply.expr.result-ast │ │ │ │ ├── binop_closure_apply.expr.roc │ │ │ │ ├── binops_comment_indent_change.expr.formatted.roc │ │ │ │ ├── binops_comment_indent_change.expr.migrated.roc │ │ │ │ ├── binops_comment_indent_change.expr.result-ast │ │ │ │ ├── binops_comment_indent_change.expr.roc │ │ │ │ ├── block_string_ann.expr.formatted.roc │ │ │ │ ├── block_string_ann.expr.migrated.roc │ │ │ │ ├── block_string_ann.expr.result-ast │ │ │ │ ├── block_string_ann.expr.roc │ │ │ │ ├── body_block_string_apply_string.expr.formatted.roc │ │ │ │ ├── body_block_string_apply_string.expr.migrated.roc │ │ │ │ ├── body_block_string_apply_string.expr.result-ast │ │ │ │ ├── body_block_string_apply_string.expr.roc │ │ │ │ ├── body_with_unneeded_parens.expr.formatted.roc │ │ │ │ ├── body_with_unneeded_parens.expr.migrated.roc │ │ │ │ ├── body_with_unneeded_parens.expr.result-ast │ │ │ │ ├── body_with_unneeded_parens.expr.roc │ │ │ │ ├── call_bang.expr.formatted.roc │ │ │ │ ├── call_bang.expr.migrated.roc │ │ │ │ ├── call_bang.expr.result-ast │ │ │ │ ├── call_bang.expr.roc │ │ │ │ ├── call_bang_no_space.expr.formatted.roc │ │ │ │ ├── call_bang_no_space.expr.migrated.roc │ │ │ │ ├── call_bang_no_space.expr.result-ast │ │ │ │ ├── call_bang_no_space.expr.roc │ │ │ │ ├── can_ignored_field_in_import.expr.formatted.roc │ │ │ │ ├── can_ignored_field_in_import.expr.migrated.roc │ │ │ │ ├── can_ignored_field_in_import.expr.result-ast │ │ │ │ ├── can_ignored_field_in_import.expr.roc │ │ │ │ ├── capture_body_parens_comment.expr.formatted.roc │ │ │ │ ├── capture_body_parens_comment.expr.migrated.roc │ │ │ │ ├── capture_body_parens_comment.expr.result-ast │ │ │ │ ├── capture_body_parens_comment.expr.roc │ │ │ │ ├── closure_arg_parens_then_comment.expr.formatted.roc │ │ │ │ ├── closure_arg_parens_then_comment.expr.migrated.roc │ │ │ │ ├── closure_arg_parens_then_comment.expr.result-ast │ │ │ │ ├── closure_arg_parens_then_comment.expr.roc │ │ │ │ ├── closure_complex_pattern_indent_issue.expr.formatted.roc │ │ │ │ ├── closure_complex_pattern_indent_issue.expr.migrated.roc │ │ │ │ ├── closure_complex_pattern_indent_issue.expr.result-ast │ │ │ │ ├── closure_complex_pattern_indent_issue.expr.roc │ │ │ │ ├── closure_in_apply_in_binop.expr.formatted.roc │ │ │ │ ├── closure_in_apply_in_binop.expr.migrated.roc │ │ │ │ ├── closure_in_apply_in_binop.expr.result-ast │ │ │ │ ├── closure_in_apply_in_binop.expr.roc │ │ │ │ ├── closure_in_binop_with_spaces.expr.formatted.roc │ │ │ │ ├── closure_in_binop_with_spaces.expr.migrated.roc │ │ │ │ ├── closure_in_binop_with_spaces.expr.result-ast │ │ │ │ ├── closure_in_binop_with_spaces.expr.roc │ │ │ │ ├── closure_newline_empty_record_newline.expr.formatted.roc │ │ │ │ ├── closure_newline_empty_record_newline.expr.migrated.roc │ │ │ │ ├── closure_newline_empty_record_newline.expr.result-ast │ │ │ │ ├── closure_newline_empty_record_newline.expr.roc │ │ │ │ ├── closure_parens_double_newlines.expr.formatted.roc │ │ │ │ ├── closure_parens_double_newlines.expr.migrated.roc │ │ │ │ ├── closure_parens_double_newlines.expr.result-ast │ │ │ │ ├── closure_parens_double_newlines.expr.roc │ │ │ │ ├── closure_pat_reccord_comment.expr.formatted.roc │ │ │ │ ├── closure_pat_reccord_comment.expr.migrated.roc │ │ │ │ ├── closure_pat_reccord_comment.expr.result-ast │ │ │ │ ├── closure_pat_reccord_comment.expr.roc │ │ │ │ ├── closure_with_binops_and_unary.expr.formatted.roc │ │ │ │ ├── closure_with_binops_and_unary.expr.migrated.roc │ │ │ │ ├── closure_with_binops_and_unary.expr.result-ast │ │ │ │ ├── closure_with_binops_and_unary.expr.roc │ │ │ │ ├── closure_with_underscores.expr.formatted.roc │ │ │ │ ├── closure_with_underscores.expr.migrated.roc │ │ │ │ ├── closure_with_underscores.expr.result-ast │ │ │ │ ├── closure_with_underscores.expr.roc │ │ │ │ ├── comma_prefixed_indented_record.expr.formatted.roc │ │ │ │ ├── comma_prefixed_indented_record.expr.migrated.roc │ │ │ │ ├── comma_prefixed_indented_record.expr.result-ast │ │ │ │ ├── comma_prefixed_indented_record.expr.roc │ │ │ │ ├── comment_after_annotation.expr.formatted.roc │ │ │ │ ├── comment_after_annotation.expr.migrated.roc │ │ │ │ ├── comment_after_annotation.expr.result-ast │ │ │ │ ├── comment_after_annotation.expr.roc │ │ │ │ ├── comment_after_dbg_in_empty_record_assignment.expr.formatted.roc │ │ │ │ ├── comment_after_dbg_in_empty_record_assignment.expr.migrated.roc │ │ │ │ ├── comment_after_dbg_in_empty_record_assignment.expr.result-ast │ │ │ │ ├── comment_after_dbg_in_empty_record_assignment.expr.roc │ │ │ │ ├── comment_after_def.moduledefs.migrated.roc │ │ │ │ ├── comment_after_def.moduledefs.result-ast │ │ │ │ ├── comment_after_def.moduledefs.roc │ │ │ │ ├── comment_after_expr_in_parens.expr.formatted.roc │ │ │ │ ├── comment_after_expr_in_parens.expr.migrated.roc │ │ │ │ ├── comment_after_expr_in_parens.expr.result-ast │ │ │ │ ├── comment_after_expr_in_parens.expr.roc │ │ │ │ ├── comment_after_op.expr.formatted.roc │ │ │ │ ├── comment_after_op.expr.migrated.roc │ │ │ │ ├── comment_after_op.expr.result-ast │ │ │ │ ├── comment_after_op.expr.roc │ │ │ │ ├── comment_after_whitespace_apply_arg_inside_pnc_apply.expr.formatted.roc │ │ │ │ ├── comment_after_whitespace_apply_arg_inside_pnc_apply.expr.migrated.roc │ │ │ │ ├── comment_after_whitespace_apply_arg_inside_pnc_apply.expr.result-ast │ │ │ │ ├── comment_after_whitespace_apply_arg_inside_pnc_apply.expr.roc │ │ │ │ ├── comment_before_colon_def.expr.formatted.roc │ │ │ │ ├── comment_before_colon_def.expr.migrated.roc │ │ │ │ ├── comment_before_colon_def.expr.result-ast │ │ │ │ ├── comment_before_colon_def.expr.roc │ │ │ │ ├── comment_before_comma_in_tuple_type_with_func.expr.formatted.roc │ │ │ │ ├── comment_before_comma_in_tuple_type_with_func.expr.migrated.roc │ │ │ │ ├── comment_before_comma_in_tuple_type_with_func.expr.result-ast │ │ │ │ ├── comment_before_comma_in_tuple_type_with_func.expr.roc │ │ │ │ ├── comment_before_equals_def.expr.formatted.roc │ │ │ │ ├── comment_before_equals_def.expr.migrated.roc │ │ │ │ ├── comment_before_equals_def.expr.result-ast │ │ │ │ ├── comment_before_equals_def.expr.roc │ │ │ │ ├── comment_before_op.expr.formatted.roc │ │ │ │ ├── comment_before_op.expr.migrated.roc │ │ │ │ ├── comment_before_op.expr.result-ast │ │ │ │ ├── comment_before_op.expr.roc │ │ │ │ ├── comment_before_pat_in_parens.expr.formatted.roc │ │ │ │ ├── comment_before_pat_in_parens.expr.migrated.roc │ │ │ │ ├── comment_before_pat_in_parens.expr.result-ast │ │ │ │ ├── comment_before_pat_in_parens.expr.roc │ │ │ │ ├── comment_in_closure_pat.expr.formatted.roc │ │ │ │ ├── comment_in_closure_pat.expr.migrated.roc │ │ │ │ ├── comment_in_closure_pat.expr.result-ast │ │ │ │ ├── comment_in_closure_pat.expr.roc │ │ │ │ ├── comment_in_closure_pat_apply.expr.formatted.roc │ │ │ │ ├── comment_in_closure_pat_apply.expr.migrated.roc │ │ │ │ ├── comment_in_closure_pat_apply.expr.result-ast │ │ │ │ ├── comment_in_closure_pat_apply.expr.roc │ │ │ │ ├── comment_in_tuple_ext.expr.formatted.roc │ │ │ │ ├── comment_in_tuple_ext.expr.migrated.roc │ │ │ │ ├── comment_in_tuple_ext.expr.result-ast │ │ │ │ ├── comment_in_tuple_ext.expr.roc │ │ │ │ ├── comment_indent_in_parens.expr.formatted.roc │ │ │ │ ├── comment_indent_in_parens.expr.migrated.roc │ │ │ │ ├── comment_indent_in_parens.expr.result-ast │ │ │ │ ├── comment_indent_in_parens.expr.roc │ │ │ │ ├── comment_inside_empty_list.expr.formatted.roc │ │ │ │ ├── comment_inside_empty_list.expr.migrated.roc │ │ │ │ ├── comment_inside_empty_list.expr.result-ast │ │ │ │ ├── comment_inside_empty_list.expr.roc │ │ │ │ ├── comment_parens_in_typ_annotation_record_field.expr.formatted.roc │ │ │ │ ├── comment_parens_in_typ_annotation_record_field.expr.migrated.roc │ │ │ │ ├── comment_parens_in_typ_annotation_record_field.expr.result-ast │ │ │ │ ├── comment_parens_in_typ_annotation_record_field.expr.roc │ │ │ │ ├── comment_with_non_ascii.expr.formatted.roc │ │ │ │ ├── comment_with_non_ascii.expr.migrated.roc │ │ │ │ ├── comment_with_non_ascii.expr.result-ast │ │ │ │ ├── comment_with_non_ascii.expr.roc │ │ │ │ ├── compare_apply_record.expr.formatted.roc │ │ │ │ ├── compare_apply_record.expr.migrated.roc │ │ │ │ ├── compare_apply_record.expr.result-ast │ │ │ │ ├── compare_apply_record.expr.roc │ │ │ │ ├── control_characters_in_scalar.expr.formatted.roc │ │ │ │ ├── control_characters_in_scalar.expr.migrated.roc │ │ │ │ ├── control_characters_in_scalar.expr.result-ast │ │ │ │ ├── control_characters_in_scalar.expr.roc │ │ │ │ ├── crash.expr.formatted.roc │ │ │ │ ├── crash.expr.migrated.roc │ │ │ │ ├── crash.expr.result-ast │ │ │ │ ├── crash.expr.roc │ │ │ │ ├── crazy_annotation_left.expr.formatted.roc │ │ │ │ ├── crazy_annotation_left.expr.migrated.roc │ │ │ │ ├── crazy_annotation_left.expr.result-ast │ │ │ │ ├── crazy_annotation_left.expr.roc │ │ │ │ ├── crazy_annotation_left2.expr.formatted.roc │ │ │ │ ├── crazy_annotation_left2.expr.migrated.roc │ │ │ │ ├── crazy_annotation_left2.expr.result-ast │ │ │ │ ├── crazy_annotation_left2.expr.roc │ │ │ │ ├── crazy_implements_bangs.expr.formatted.roc │ │ │ │ ├── crazy_implements_bangs.expr.migrated.roc │ │ │ │ ├── crazy_implements_bangs.expr.result-ast │ │ │ │ ├── crazy_implements_bangs.expr.roc │ │ │ │ ├── crazy_parens_multiline_str_question_etc.expr.formatted.roc │ │ │ │ ├── crazy_parens_multiline_str_question_etc.expr.migrated.roc │ │ │ │ ├── crazy_parens_multiline_str_question_etc.expr.result-ast │ │ │ │ ├── crazy_parens_multiline_str_question_etc.expr.roc │ │ │ │ ├── crazy_pat_ann.expr.formatted.roc │ │ │ │ ├── crazy_pat_ann.expr.migrated.roc │ │ │ │ ├── crazy_pat_ann.expr.result-ast │ │ │ │ ├── crazy_pat_ann.expr.roc │ │ │ │ ├── curried_function_type.expr.formatted.roc │ │ │ │ ├── curried_function_type.expr.migrated.roc │ │ │ │ ├── curried_function_type.expr.result-ast │ │ │ │ ├── curried_function_type.expr.roc │ │ │ │ ├── dbg.expr.formatted.roc │ │ │ │ ├── dbg.expr.migrated.roc │ │ │ │ ├── dbg.expr.result-ast │ │ │ │ ├── dbg.expr.roc │ │ │ │ ├── dbg_double.expr.formatted.roc │ │ │ │ ├── dbg_double.expr.migrated.roc │ │ │ │ ├── dbg_double.expr.result-ast │ │ │ │ ├── dbg_double.expr.roc │ │ │ │ ├── dbg_double_newline.expr.formatted.roc │ │ │ │ ├── dbg_double_newline.expr.migrated.roc │ │ │ │ ├── dbg_double_newline.expr.result-ast │ │ │ │ ├── dbg_double_newline.expr.roc │ │ │ │ ├── dbg_extra_parens.expr.formatted.roc │ │ │ │ ├── dbg_extra_parens.expr.migrated.roc │ │ │ │ ├── dbg_extra_parens.expr.result-ast │ │ │ │ ├── dbg_extra_parens.expr.roc │ │ │ │ ├── dbg_newline_apply.expr.formatted.roc │ │ │ │ ├── dbg_newline_apply.expr.migrated.roc │ │ │ │ ├── dbg_newline_apply.expr.result-ast │ │ │ │ ├── dbg_newline_apply.expr.roc │ │ │ │ ├── dbg_pnc_a_over_a.expr.formatted.roc │ │ │ │ ├── dbg_pnc_a_over_a.expr.migrated.roc │ │ │ │ ├── dbg_pnc_a_over_a.expr.result-ast │ │ │ │ ├── dbg_pnc_a_over_a.expr.roc │ │ │ │ ├── dbg_pnc_in_double_parens.expr.formatted.roc │ │ │ │ ├── dbg_pnc_in_double_parens.expr.migrated.roc │ │ │ │ ├── dbg_pnc_in_double_parens.expr.result-ast │ │ │ │ ├── dbg_pnc_in_double_parens.expr.roc │ │ │ │ ├── dbg_pnc_zero_args.expr.formatted.roc │ │ │ │ ├── dbg_pnc_zero_args.expr.migrated.roc │ │ │ │ ├── dbg_pnc_zero_args.expr.result-ast │ │ │ │ ├── dbg_pnc_zero_args.expr.roc │ │ │ │ ├── dbg_stmt.expr.formatted.roc │ │ │ │ ├── dbg_stmt.expr.migrated.roc │ │ │ │ ├── dbg_stmt.expr.result-ast │ │ │ │ ├── dbg_stmt.expr.roc │ │ │ │ ├── dbg_stmt_in_parens.expr.formatted.roc │ │ │ │ ├── dbg_stmt_in_parens.expr.migrated.roc │ │ │ │ ├── dbg_stmt_in_parens.expr.result-ast │ │ │ │ ├── dbg_stmt_in_parens.expr.roc │ │ │ │ ├── dbg_stmt_multiline.expr.formatted.roc │ │ │ │ ├── dbg_stmt_multiline.expr.migrated.roc │ │ │ │ ├── dbg_stmt_multiline.expr.result-ast │ │ │ │ ├── dbg_stmt_multiline.expr.roc │ │ │ │ ├── dbg_stmt_two_exprs.expr.formatted.roc │ │ │ │ ├── dbg_stmt_two_exprs.expr.migrated.roc │ │ │ │ ├── dbg_stmt_two_exprs.expr.result-ast │ │ │ │ ├── dbg_stmt_two_exprs.expr.roc │ │ │ │ ├── dbg_then_double_parens_cont.expr.formatted.roc │ │ │ │ ├── dbg_then_double_parens_cont.expr.migrated.roc │ │ │ │ ├── dbg_then_double_parens_cont.expr.result-ast │ │ │ │ ├── dbg_then_double_parens_cont.expr.roc │ │ │ │ ├── def_bang.expr.formatted.roc │ │ │ │ ├── def_bang.expr.migrated.roc │ │ │ │ ├── def_bang.expr.result-ast │ │ │ │ ├── def_bang.expr.roc │ │ │ │ ├── def_multistring_apply.expr.formatted.roc │ │ │ │ ├── def_multistring_apply.expr.migrated.roc │ │ │ │ ├── def_multistring_apply.expr.result-ast │ │ │ │ ├── def_multistring_apply.expr.roc │ │ │ │ ├── defs_suffixed_middle_extra_indents.moduledefs.formatted.roc │ │ │ │ ├── defs_suffixed_middle_extra_indents.moduledefs.migrated.roc │ │ │ │ ├── defs_suffixed_middle_extra_indents.moduledefs.result-ast │ │ │ │ ├── defs_suffixed_middle_extra_indents.moduledefs.roc │ │ │ │ ├── destructure_tag_assignment.expr.formatted.roc │ │ │ │ ├── destructure_tag_assignment.expr.migrated.roc │ │ │ │ ├── destructure_tag_assignment.expr.result-ast │ │ │ │ ├── destructure_tag_assignment.expr.roc │ │ │ │ ├── docs.expr.formatted.roc │ │ │ │ ├── docs.expr.migrated.roc │ │ │ │ ├── docs.expr.result-ast │ │ │ │ ├── docs.expr.roc │ │ │ │ ├── double_closure_newlines_binop.expr.formatted.roc │ │ │ │ ├── double_closure_newlines_binop.expr.migrated.roc │ │ │ │ ├── double_closure_newlines_binop.expr.result-ast │ │ │ │ ├── double_closure_newlines_binop.expr.roc │ │ │ │ ├── double_function_tuple.expr.formatted.roc │ │ │ │ ├── double_function_tuple.expr.migrated.roc │ │ │ │ ├── double_function_tuple.expr.result-ast │ │ │ │ ├── double_function_tuple.expr.roc │ │ │ │ ├── double_parens_comment_tuple_pat.expr.formatted.roc │ │ │ │ ├── double_parens_comment_tuple_pat.expr.migrated.roc │ │ │ │ ├── double_parens_comment_tuple_pat.expr.result-ast │ │ │ │ ├── double_parens_comment_tuple_pat.expr.roc │ │ │ │ ├── double_question_binop.expr.formatted.roc │ │ │ │ ├── double_question_binop.expr.migrated.roc │ │ │ │ ├── double_question_binop.expr.result-ast │ │ │ │ ├── double_question_binop.expr.roc │ │ │ │ ├── double_space_before.expr.formatted.roc │ │ │ │ ├── double_space_before.expr.migrated.roc │ │ │ │ ├── double_space_before.expr.result-ast │ │ │ │ ├── double_space_before.expr.roc │ │ │ │ ├── effectful_closure_statements.expr.formatted.roc │ │ │ │ ├── effectful_closure_statements.expr.migrated.roc │ │ │ │ ├── effectful_closure_statements.expr.result-ast │ │ │ │ ├── effectful_closure_statements.expr.roc │ │ │ │ ├── empty_app_header.header.formatted.roc │ │ │ │ ├── empty_app_header.header.migrated.roc │ │ │ │ ├── empty_app_header.header.result-ast │ │ │ │ ├── empty_app_header.header.roc │ │ │ │ ├── empty_hosted_header.header.migrated.roc │ │ │ │ ├── empty_hosted_header.header.result-ast │ │ │ │ ├── empty_hosted_header.header.roc │ │ │ │ ├── empty_list.expr.migrated.roc │ │ │ │ ├── empty_list.expr.result-ast │ │ │ │ ├── empty_list.expr.roc │ │ │ │ ├── empty_module_header.header.migrated.roc │ │ │ │ ├── empty_module_header.header.result-ast │ │ │ │ ├── empty_module_header.header.roc │ │ │ │ ├── empty_old_hosted_header.header.formatted.roc │ │ │ │ ├── empty_old_hosted_header.header.migrated.roc │ │ │ │ ├── empty_old_hosted_header.header.result-ast │ │ │ │ ├── empty_old_hosted_header.header.roc │ │ │ │ ├── empty_package_header.header.migrated.roc │ │ │ │ ├── empty_package_header.header.result-ast │ │ │ │ ├── empty_package_header.header.roc │ │ │ │ ├── empty_platform_header.header.migrated.roc │ │ │ │ ├── empty_platform_header.header.result-ast │ │ │ │ ├── empty_platform_header.header.roc │ │ │ │ ├── empty_record.expr.migrated.roc │ │ │ │ ├── empty_record.expr.result-ast │ │ │ │ ├── empty_record.expr.roc │ │ │ │ ├── empty_record_assign_dbg.expr.formatted.roc │ │ │ │ ├── empty_record_assign_dbg.expr.migrated.roc │ │ │ │ ├── empty_record_assign_dbg.expr.result-ast │ │ │ │ ├── empty_record_assign_dbg.expr.roc │ │ │ │ ├── empty_record_assign_implements.expr.formatted.roc │ │ │ │ ├── empty_record_assign_implements.expr.migrated.roc │ │ │ │ ├── empty_record_assign_implements.expr.result-ast │ │ │ │ ├── empty_record_assign_implements.expr.roc │ │ │ │ ├── empty_record_assign_return.expr.formatted.roc │ │ │ │ ├── empty_record_assign_return.expr.migrated.roc │ │ │ │ ├── empty_record_assign_return.expr.result-ast │ │ │ │ ├── empty_record_assign_return.expr.roc │ │ │ │ ├── empty_record_assign_tag.expr.formatted.roc │ │ │ │ ├── empty_record_assign_tag.expr.migrated.roc │ │ │ │ ├── empty_record_assign_tag.expr.result-ast │ │ │ │ ├── empty_record_assign_tag.expr.roc │ │ │ │ ├── empty_record_assignment.expr.formatted.roc │ │ │ │ ├── empty_record_assignment.expr.migrated.roc │ │ │ │ ├── empty_record_assignment.expr.result-ast │ │ │ │ ├── empty_record_assignment.expr.roc │ │ │ │ ├── empty_record_eq_dbg.expr.formatted.roc │ │ │ │ ├── empty_record_eq_dbg.expr.migrated.roc │ │ │ │ ├── empty_record_eq_dbg.expr.result-ast │ │ │ │ ├── empty_record_eq_dbg.expr.roc │ │ │ │ ├── empty_record_eq_newlines_doubleeq.expr.formatted.roc │ │ │ │ ├── empty_record_eq_newlines_doubleeq.expr.migrated.roc │ │ │ │ ├── empty_record_eq_newlines_doubleeq.expr.result-ast │ │ │ │ ├── empty_record_eq_newlines_doubleeq.expr.roc │ │ │ │ ├── empty_record_newline_assign.expr.formatted.roc │ │ │ │ ├── empty_record_newline_assign.expr.migrated.roc │ │ │ │ ├── empty_record_newline_assign.expr.result-ast │ │ │ │ ├── empty_record_newline_assign.expr.roc │ │ │ │ ├── empty_record_update.expr.formatted.roc │ │ │ │ ├── empty_record_update.expr.migrated.roc │ │ │ │ ├── empty_record_update.expr.result-ast │ │ │ │ ├── empty_record_update.expr.roc │ │ │ │ ├── empty_string.expr.formatted.roc │ │ │ │ ├── empty_string.expr.migrated.roc │ │ │ │ ├── empty_string.expr.result-ast │ │ │ │ ├── empty_string.expr.roc │ │ │ │ ├── empty_try_pnc.expr.formatted.roc │ │ │ │ ├── empty_try_pnc.expr.migrated.roc │ │ │ │ ├── empty_try_pnc.expr.result-ast │ │ │ │ ├── empty_try_pnc.expr.roc │ │ │ │ ├── equals.expr.formatted.roc │ │ │ │ ├── equals.expr.migrated.roc │ │ │ │ ├── equals.expr.result-ast │ │ │ │ ├── equals.expr.roc │ │ │ │ ├── equals_with_spaces.expr.migrated.roc │ │ │ │ ├── equals_with_spaces.expr.result-ast │ │ │ │ ├── equals_with_spaces.expr.roc │ │ │ │ ├── expect.expr.formatted.roc │ │ │ │ ├── expect.expr.migrated.roc │ │ │ │ ├── expect.expr.result-ast │ │ │ │ ├── expect.expr.roc │ │ │ │ ├── expect_defs.moduledefs.formatted.roc │ │ │ │ ├── expect_defs.moduledefs.migrated.roc │ │ │ │ ├── expect_defs.moduledefs.result-ast │ │ │ │ ├── expect_defs.moduledefs.roc │ │ │ │ ├── expect_single_line.expr.formatted.roc │ │ │ │ ├── expect_single_line.expr.migrated.roc │ │ │ │ ├── expect_single_line.expr.result-ast │ │ │ │ ├── expect_single_line.expr.roc │ │ │ │ ├── ext_on_fn_ty.expr.formatted.roc │ │ │ │ ├── ext_on_fn_ty.expr.migrated.roc │ │ │ │ ├── ext_on_fn_ty.expr.result-ast │ │ │ │ ├── ext_on_fn_ty.expr.roc │ │ │ │ ├── extra_newline.expr.formatted.roc │ │ │ │ ├── extra_newline.expr.migrated.roc │ │ │ │ ├── extra_newline.expr.result-ast │ │ │ │ ├── extra_newline.expr.roc │ │ │ │ ├── extra_newline_in_parens.expr.formatted.roc │ │ │ │ ├── extra_newline_in_parens.expr.migrated.roc │ │ │ │ ├── extra_newline_in_parens.expr.result-ast │ │ │ │ ├── extra_newline_in_parens.expr.roc │ │ │ │ ├── f_not_not_f.expr.formatted.roc │ │ │ │ ├── f_not_not_f.expr.migrated.roc │ │ │ │ ├── f_not_not_f.expr.result-ast │ │ │ │ ├── f_not_not_f.expr.roc │ │ │ │ ├── float_with_underscores.expr.migrated.roc │ │ │ │ ├── float_with_underscores.expr.result-ast │ │ │ │ ├── float_with_underscores.expr.roc │ │ │ │ ├── fn_with_record_arg.expr.formatted.roc │ │ │ │ ├── fn_with_record_arg.expr.migrated.roc │ │ │ │ ├── fn_with_record_arg.expr.result-ast │ │ │ │ ├── fn_with_record_arg.expr.roc │ │ │ │ ├── full_app_header.header.formatted.roc │ │ │ │ ├── full_app_header.header.migrated.roc │ │ │ │ ├── full_app_header.header.result-ast │ │ │ │ ├── full_app_header.header.roc │ │ │ │ ├── full_app_header_trailing_commas.header.formatted.roc │ │ │ │ ├── full_app_header_trailing_commas.header.migrated.roc │ │ │ │ ├── full_app_header_trailing_commas.header.result-ast │ │ │ │ ├── full_app_header_trailing_commas.header.roc │ │ │ │ ├── func_ty_parens_crazyness.expr.formatted.roc │ │ │ │ ├── func_ty_parens_crazyness.expr.migrated.roc │ │ │ │ ├── func_ty_parens_crazyness.expr.result-ast │ │ │ │ ├── func_ty_parens_crazyness.expr.roc │ │ │ │ ├── function_effect_types.header.formatted.roc │ │ │ │ ├── function_effect_types.header.migrated.roc │ │ │ │ ├── function_effect_types.header.result-ast │ │ │ │ ├── function_effect_types.header.roc │ │ │ │ ├── function_with_tuple_ext_type.expr.formatted.roc │ │ │ │ ├── function_with_tuple_ext_type.expr.migrated.roc │ │ │ │ ├── function_with_tuple_ext_type.expr.result-ast │ │ │ │ ├── function_with_tuple_ext_type.expr.roc │ │ │ │ ├── function_with_tuple_type.expr.formatted.roc │ │ │ │ ├── function_with_tuple_type.expr.migrated.roc │ │ │ │ ├── function_with_tuple_type.expr.result-ast │ │ │ │ ├── function_with_tuple_type.expr.roc │ │ │ │ ├── h_greater_comment_minus_div.expr.formatted.roc │ │ │ │ ├── h_greater_comment_minus_div.expr.migrated.roc │ │ │ │ ├── h_greater_comment_minus_div.expr.result-ast │ │ │ │ ├── h_greater_comment_minus_div.expr.roc │ │ │ │ ├── h_parens_as_parens_h_ann.expr.formatted.roc │ │ │ │ ├── h_parens_as_parens_h_ann.expr.migrated.roc │ │ │ │ ├── h_parens_as_parens_h_ann.expr.result-ast │ │ │ │ ├── h_parens_as_parens_h_ann.expr.roc │ │ │ │ ├── highest_float.expr.migrated.roc │ │ │ │ ├── highest_float.expr.result-ast │ │ │ │ ├── highest_float.expr.roc │ │ │ │ ├── highest_int.expr.migrated.roc │ │ │ │ ├── highest_int.expr.result-ast │ │ │ │ ├── highest_int.expr.roc │ │ │ │ ├── i_over_not_g.expr.formatted.roc │ │ │ │ ├── i_over_not_g.expr.migrated.roc │ │ │ │ ├── i_over_not_g.expr.result-ast │ │ │ │ ├── i_over_not_g.expr.roc │ │ │ │ ├── if_bang_then_bang_indented_else.expr.formatted.roc │ │ │ │ ├── if_bang_then_bang_indented_else.expr.migrated.roc │ │ │ │ ├── if_bang_then_bang_indented_else.expr.result-ast │ │ │ │ ├── if_bang_then_bang_indented_else.expr.roc │ │ │ │ ├── if_bang_then_else_one_line.expr.formatted.roc │ │ │ │ ├── if_bang_then_else_one_line.expr.migrated.roc │ │ │ │ ├── if_bang_then_else_one_line.expr.result-ast │ │ │ │ ├── if_bang_then_else_one_line.expr.roc │ │ │ │ ├── if_def.expr.formatted.roc │ │ │ │ ├── if_def.expr.migrated.roc │ │ │ │ ├── if_def.expr.result-ast │ │ │ │ ├── if_def.expr.roc │ │ │ │ ├── if_newline_then_negate_else_recordupdater.expr.formatted.roc │ │ │ │ ├── if_newline_then_negate_else_recordupdater.expr.migrated.roc │ │ │ │ ├── if_newline_then_negate_else_recordupdater.expr.result-ast │ │ │ │ ├── if_newline_then_negate_else_recordupdater.expr.roc │ │ │ │ ├── if_then_weird_indent.expr.formatted.roc │ │ │ │ ├── if_then_weird_indent.expr.migrated.roc │ │ │ │ ├── if_then_weird_indent.expr.result-ast │ │ │ │ ├── if_then_weird_indent.expr.roc │ │ │ │ ├── implements_annotation_comment.expr.formatted.roc │ │ │ │ ├── implements_annotation_comment.expr.migrated.roc │ │ │ │ ├── implements_annotation_comment.expr.result-ast │ │ │ │ ├── implements_annotation_comment.expr.roc │ │ │ │ ├── implements_in_pat_after_comment.expr.formatted.roc │ │ │ │ ├── implements_in_pat_after_comment.expr.migrated.roc │ │ │ │ ├── implements_in_pat_after_comment.expr.result-ast │ │ │ │ ├── implements_in_pat_after_comment.expr.roc │ │ │ │ ├── implements_in_pnc_pattern.expr.formatted.roc │ │ │ │ ├── implements_in_pnc_pattern.expr.migrated.roc │ │ │ │ ├── implements_in_pnc_pattern.expr.result-ast │ │ │ │ ├── implements_in_pnc_pattern.expr.roc │ │ │ │ ├── implements_newline_in_fn_ty.expr.formatted.roc │ │ │ │ ├── implements_newline_in_fn_ty.expr.migrated.roc │ │ │ │ ├── implements_newline_in_fn_ty.expr.result-ast │ │ │ │ ├── implements_newline_in_fn_ty.expr.roc │ │ │ │ ├── implements_newlines_comments.expr.formatted.roc │ │ │ │ ├── implements_newlines_comments.expr.migrated.roc │ │ │ │ ├── implements_newlines_comments.expr.result-ast │ │ │ │ ├── implements_newlines_comments.expr.roc │ │ │ │ ├── implements_not_keyword.expr.formatted.roc │ │ │ │ ├── implements_not_keyword.expr.migrated.roc │ │ │ │ ├── implements_not_keyword.expr.result-ast │ │ │ │ ├── implements_not_keyword.expr.roc │ │ │ │ ├── implements_record_destructure.expr.formatted.roc │ │ │ │ ├── implements_record_destructure.expr.migrated.roc │ │ │ │ ├── implements_record_destructure.expr.result-ast │ │ │ │ ├── implements_record_destructure.expr.roc │ │ │ │ ├── import.moduledefs.formatted.roc │ │ │ │ ├── import.moduledefs.migrated.roc │ │ │ │ ├── import.moduledefs.result-ast │ │ │ │ ├── import.moduledefs.roc │ │ │ │ ├── import_backslash_as_m.expr.formatted.roc │ │ │ │ ├── import_backslash_as_m.expr.migrated.roc │ │ │ │ ├── import_backslash_as_m.expr.result-ast │ │ │ │ ├── import_backslash_as_m.expr.roc │ │ │ │ ├── import_from_package.moduledefs.formatted.roc │ │ │ │ ├── import_from_package.moduledefs.migrated.roc │ │ │ │ ├── import_from_package.moduledefs.result-ast │ │ │ │ ├── import_from_package.moduledefs.roc │ │ │ │ ├── import_in_closure_with_curlies_after.expr.formatted.roc │ │ │ │ ├── import_in_closure_with_curlies_after.expr.migrated.roc │ │ │ │ ├── import_in_closure_with_curlies_after.expr.result-ast │ │ │ │ ├── import_in_closure_with_curlies_after.expr.roc │ │ │ │ ├── import_with_alias.moduledefs.formatted.roc │ │ │ │ ├── import_with_alias.moduledefs.migrated.roc │ │ │ │ ├── import_with_alias.moduledefs.result-ast │ │ │ │ ├── import_with_alias.moduledefs.roc │ │ │ │ ├── import_with_comments.moduledefs.formatted.roc │ │ │ │ ├── import_with_comments.moduledefs.migrated.roc │ │ │ │ ├── import_with_comments.moduledefs.result-ast │ │ │ │ ├── import_with_comments.moduledefs.roc │ │ │ │ ├── import_with_exposed.moduledefs.formatted.roc │ │ │ │ ├── import_with_exposed.moduledefs.migrated.roc │ │ │ │ ├── import_with_exposed.moduledefs.result-ast │ │ │ │ ├── import_with_exposed.moduledefs.roc │ │ │ │ ├── import_with_params.moduledefs.formatted.roc │ │ │ │ ├── import_with_params.moduledefs.migrated.roc │ │ │ │ ├── import_with_params.moduledefs.result-ast │ │ │ │ ├── import_with_params.moduledefs.roc │ │ │ │ ├── ingested_file.moduledefs.formatted.roc │ │ │ │ ├── ingested_file.moduledefs.migrated.roc │ │ │ │ ├── ingested_file.moduledefs.result-ast │ │ │ │ ├── ingested_file.moduledefs.roc │ │ │ │ ├── inline_import.expr.formatted.roc │ │ │ │ ├── inline_import.expr.migrated.roc │ │ │ │ ├── inline_import.expr.result-ast │ │ │ │ ├── inline_import.expr.roc │ │ │ │ ├── inline_ingested_file.expr.formatted.roc │ │ │ │ ├── inline_ingested_file.expr.migrated.roc │ │ │ │ ├── inline_ingested_file.expr.result-ast │ │ │ │ ├── inline_ingested_file.expr.roc │ │ │ │ ├── inline_ingested_file_no_ann.expr.formatted.roc │ │ │ │ ├── inline_ingested_file_no_ann.expr.migrated.roc │ │ │ │ ├── inline_ingested_file_no_ann.expr.result-ast │ │ │ │ ├── inline_ingested_file_no_ann.expr.roc │ │ │ │ ├── int_with_underscore.expr.migrated.roc │ │ │ │ ├── int_with_underscore.expr.result-ast │ │ │ │ ├── int_with_underscore.expr.roc │ │ │ │ ├── lambda_in_chain.expr.formatted.roc │ │ │ │ ├── lambda_in_chain.expr.migrated.roc │ │ │ │ ├── lambda_in_chain.expr.result-ast │ │ │ │ ├── lambda_in_chain.expr.roc │ │ │ │ ├── lambda_indent.expr.formatted.roc │ │ │ │ ├── lambda_indent.expr.migrated.roc │ │ │ │ ├── lambda_indent.expr.result-ast │ │ │ │ ├── lambda_indent.expr.roc │ │ │ │ ├── large_tuple_index.expr.formatted.roc │ │ │ │ ├── large_tuple_index.expr.migrated.roc │ │ │ │ ├── large_tuple_index.expr.result-ast │ │ │ │ ├── large_tuple_index.expr.roc │ │ │ │ ├── list_closing_indent_not_enough.expr.formatted.roc │ │ │ │ ├── list_closing_indent_not_enough.expr.migrated.roc │ │ │ │ ├── list_closing_indent_not_enough.expr.result-ast │ │ │ │ ├── list_closing_indent_not_enough.expr.roc │ │ │ │ ├── list_closing_same_indent_no_trailing_comma.expr.formatted.roc │ │ │ │ ├── list_closing_same_indent_no_trailing_comma.expr.migrated.roc │ │ │ │ ├── list_closing_same_indent_no_trailing_comma.expr.result-ast │ │ │ │ ├── list_closing_same_indent_no_trailing_comma.expr.roc │ │ │ │ ├── list_closing_same_indent_with_trailing_comma.expr.formatted.roc │ │ │ │ ├── list_closing_same_indent_with_trailing_comma.expr.migrated.roc │ │ │ │ ├── list_closing_same_indent_with_trailing_comma.expr.result-ast │ │ │ │ ├── list_closing_same_indent_with_trailing_comma.expr.roc │ │ │ │ ├── list_comma_newlines.expr.formatted.roc │ │ │ │ ├── list_comma_newlines.expr.migrated.roc │ │ │ │ ├── list_comma_newlines.expr.result-ast │ │ │ │ ├── list_comma_newlines.expr.roc │ │ │ │ ├── list_comment_newline.expr.formatted.roc │ │ │ │ ├── list_comment_newline.expr.migrated.roc │ │ │ │ ├── list_comment_newline.expr.result-ast │ │ │ │ ├── list_comment_newline.expr.roc │ │ │ │ ├── list_list_not_not_closure_newline.expr.formatted.roc │ │ │ │ ├── list_list_not_not_closure_newline.expr.migrated.roc │ │ │ │ ├── list_list_not_not_closure_newline.expr.result-ast │ │ │ │ ├── list_list_not_not_closure_newline.expr.roc │ │ │ │ ├── list_lots_of_spaces.expr.formatted.roc │ │ │ │ ├── list_lots_of_spaces.expr.migrated.roc │ │ │ │ ├── list_lots_of_spaces.expr.result-ast │ │ │ │ ├── list_lots_of_spaces.expr.roc │ │ │ │ ├── list_minus_newlines.expr.formatted.roc │ │ │ │ ├── list_minus_newlines.expr.migrated.roc │ │ │ │ ├── list_minus_newlines.expr.result-ast │ │ │ │ ├── list_minus_newlines.expr.roc │ │ │ │ ├── list_pattern_weird_indent.expr.formatted.roc │ │ │ │ ├── list_pattern_weird_indent.expr.migrated.roc │ │ │ │ ├── list_pattern_weird_indent.expr.result-ast │ │ │ │ ├── list_pattern_weird_indent.expr.roc │ │ │ │ ├── list_patterns.expr.formatted.roc │ │ │ │ ├── list_patterns.expr.migrated.roc │ │ │ │ ├── list_patterns.expr.result-ast │ │ │ │ ├── list_patterns.expr.roc │ │ │ │ ├── long_complex_application_with_pnc.expr.formatted.roc │ │ │ │ ├── long_complex_application_with_pnc.expr.migrated.roc │ │ │ │ ├── long_complex_application_with_pnc.expr.result-ast │ │ │ │ ├── long_complex_application_with_pnc.expr.roc │ │ │ │ ├── lowest_float.expr.migrated.roc │ │ │ │ ├── lowest_float.expr.result-ast │ │ │ │ ├── lowest_float.expr.roc │ │ │ │ ├── lowest_int.expr.migrated.roc │ │ │ │ ├── lowest_int.expr.result-ast │ │ │ │ ├── lowest_int.expr.roc │ │ │ │ ├── mega_parens_pat.expr.formatted.roc │ │ │ │ ├── mega_parens_pat.expr.migrated.roc │ │ │ │ ├── mega_parens_pat.expr.result-ast │ │ │ │ ├── mega_parens_pat.expr.roc │ │ │ │ ├── middle_when_branch_comment_after_parens.expr.formatted.roc │ │ │ │ ├── middle_when_branch_comment_after_parens.expr.migrated.roc │ │ │ │ ├── middle_when_branch_comment_after_parens.expr.result-ast │ │ │ │ ├── middle_when_branch_comment_after_parens.expr.roc │ │ │ │ ├── min_parens_number.expr.migrated.roc │ │ │ │ ├── min_parens_number.expr.result-ast │ │ │ │ ├── min_parens_number.expr.roc │ │ │ │ ├── minimal_app_header.header.migrated.roc │ │ │ │ ├── minimal_app_header.header.result-ast │ │ │ │ ├── minimal_app_header.header.roc │ │ │ │ ├── minus_minus_block_string.expr.formatted.roc │ │ │ │ ├── minus_minus_block_string.expr.migrated.roc │ │ │ │ ├── minus_minus_block_string.expr.result-ast │ │ │ │ ├── minus_minus_block_string.expr.roc │ │ │ │ ├── minus_minus_six.expr.formatted.roc │ │ │ │ ├── minus_minus_six.expr.migrated.roc │ │ │ │ ├── minus_minus_six.expr.result-ast │ │ │ │ ├── minus_minus_six.expr.roc │ │ │ │ ├── minus_newline_minus.expr.formatted.roc │ │ │ │ ├── minus_newline_minus.expr.migrated.roc │ │ │ │ ├── minus_newline_minus.expr.result-ast │ │ │ │ ├── minus_newline_minus.expr.roc │ │ │ │ ├── minus_newline_minus_minus.expr.formatted.roc │ │ │ │ ├── minus_newline_minus_minus.expr.migrated.roc │ │ │ │ ├── minus_newline_minus_minus.expr.result-ast │ │ │ │ ├── minus_newline_minus_minus.expr.roc │ │ │ │ ├── minus_not_h.expr.formatted.roc │ │ │ │ ├── minus_not_h.expr.migrated.roc │ │ │ │ ├── minus_not_h.expr.result-ast │ │ │ │ ├── minus_not_h.expr.roc │ │ │ │ ├── minus_twelve_minus_five.expr.formatted.roc │ │ │ │ ├── minus_twelve_minus_five.expr.migrated.roc │ │ │ │ ├── minus_twelve_minus_five.expr.result-ast │ │ │ │ ├── minus_twelve_minus_five.expr.roc │ │ │ │ ├── mixed_docs.expr.formatted.roc │ │ │ │ ├── mixed_docs.expr.migrated.roc │ │ │ │ ├── mixed_docs.expr.result-ast │ │ │ │ ├── mixed_docs.expr.roc │ │ │ │ ├── module_def_newline.moduledefs.migrated.roc │ │ │ │ ├── module_def_newline.moduledefs.result-ast │ │ │ │ ├── module_def_newline.moduledefs.roc │ │ │ │ ├── module_multiline_exposes.header.formatted.roc │ │ │ │ ├── module_multiline_exposes.header.migrated.roc │ │ │ │ ├── module_multiline_exposes.header.result-ast │ │ │ │ ├── module_multiline_exposes.header.roc │ │ │ │ ├── module_with_multiline_params_and_exposes.header.formatted.roc │ │ │ │ ├── module_with_multiline_params_and_exposes.header.migrated.roc │ │ │ │ ├── module_with_multiline_params_and_exposes.header.result-ast │ │ │ │ ├── module_with_multiline_params_and_exposes.header.roc │ │ │ │ ├── module_with_newline.header.migrated.roc │ │ │ │ ├── module_with_newline.header.result-ast │ │ │ │ ├── module_with_newline.header.roc │ │ │ │ ├── module_with_optional_param.header.formatted.roc │ │ │ │ ├── module_with_optional_param.header.migrated.roc │ │ │ │ ├── module_with_optional_param.header.result-ast │ │ │ │ ├── module_with_optional_param.header.roc │ │ │ │ ├── module_with_params.header.formatted.roc │ │ │ │ ├── module_with_params.header.migrated.roc │ │ │ │ ├── module_with_params.header.result-ast │ │ │ │ ├── module_with_params.header.roc │ │ │ │ ├── module_with_params_and_multiline_exposes.header.formatted.roc │ │ │ │ ├── module_with_params_and_multiline_exposes.header.migrated.roc │ │ │ │ ├── module_with_params_and_multiline_exposes.header.result-ast │ │ │ │ ├── module_with_params_and_multiline_exposes.header.roc │ │ │ │ ├── mul_comment_neg.expr.formatted.roc │ │ │ │ ├── mul_comment_neg.expr.migrated.roc │ │ │ │ ├── mul_comment_neg.expr.result-ast │ │ │ │ ├── mul_comment_neg.expr.roc │ │ │ │ ├── multi_char_string.expr.formatted.roc │ │ │ │ ├── multi_char_string.expr.migrated.roc │ │ │ │ ├── multi_char_string.expr.result-ast │ │ │ │ ├── multi_char_string.expr.roc │ │ │ │ ├── multilin_str_body.expr.formatted.roc │ │ │ │ ├── multilin_str_body.expr.migrated.roc │ │ │ │ ├── multilin_str_body.expr.result-ast │ │ │ │ ├── multilin_str_body.expr.roc │ │ │ │ ├── multiline_apply_equals_multiline_apply.expr.formatted.roc │ │ │ │ ├── multiline_apply_equals_multiline_apply.expr.migrated.roc │ │ │ │ ├── multiline_apply_equals_multiline_apply.expr.result-ast │ │ │ │ ├── multiline_apply_equals_multiline_apply.expr.roc │ │ │ │ ├── multiline_binop_when_with_comments.expr.formatted.roc │ │ │ │ ├── multiline_binop_when_with_comments.expr.migrated.roc │ │ │ │ ├── multiline_binop_when_with_comments.expr.result-ast │ │ │ │ ├── multiline_binop_when_with_comments.expr.roc │ │ │ │ ├── multiline_str_after_newlines_in_pat.expr.formatted.roc │ │ │ │ ├── multiline_str_after_newlines_in_pat.expr.migrated.roc │ │ │ │ ├── multiline_str_after_newlines_in_pat.expr.result-ast │ │ │ │ ├── multiline_str_after_newlines_in_pat.expr.roc │ │ │ │ ├── multiline_str_and_str_in_alias.expr.formatted.roc │ │ │ │ ├── multiline_str_and_str_in_alias.expr.migrated.roc │ │ │ │ ├── multiline_str_and_str_in_alias.expr.result-ast │ │ │ │ ├── multiline_str_and_str_in_alias.expr.roc │ │ │ │ ├── multiline_str_apply_in_parens_pat.expr.formatted.roc │ │ │ │ ├── multiline_str_apply_in_parens_pat.expr.migrated.roc │ │ │ │ ├── multiline_str_apply_in_parens_pat.expr.result-ast │ │ │ │ ├── multiline_str_apply_in_parens_pat.expr.roc │ │ │ │ ├── multiline_str_crazyness.expr.formatted.roc │ │ │ │ ├── multiline_str_crazyness.expr.migrated.roc │ │ │ │ ├── multiline_str_crazyness.expr.result-ast │ │ │ │ ├── multiline_str_crazyness.expr.roc │ │ │ │ ├── multiline_str_in_closure_in_when_guard_wtf.expr.formatted.roc │ │ │ │ ├── multiline_str_in_closure_in_when_guard_wtf.expr.migrated.roc │ │ │ │ ├── multiline_str_in_closure_in_when_guard_wtf.expr.result-ast │ │ │ │ ├── multiline_str_in_closure_in_when_guard_wtf.expr.roc │ │ │ │ ├── multiline_str_in_pat.expr.formatted.roc │ │ │ │ ├── multiline_str_in_pat.expr.migrated.roc │ │ │ │ ├── multiline_str_in_pat.expr.result-ast │ │ │ │ ├── multiline_str_in_pat.expr.roc │ │ │ │ ├── multiline_str_interpolation_records.expr.formatted.roc │ │ │ │ ├── multiline_str_interpolation_records.expr.migrated.roc │ │ │ │ ├── multiline_str_interpolation_records.expr.result-ast │ │ │ │ ├── multiline_str_interpolation_records.expr.roc │ │ │ │ ├── multiline_str_opt_field.expr.formatted.roc │ │ │ │ ├── multiline_str_opt_field.expr.migrated.roc │ │ │ │ ├── multiline_str_opt_field.expr.result-ast │ │ │ │ ├── multiline_str_opt_field.expr.roc │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_newline.expr.formatted.roc │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_newline.expr.migrated.roc │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_newline.expr.result-ast │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_newline.expr.roc │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_record_access_newline.expr.formatted.roc │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_record_access_newline.expr.migrated.roc │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_record_access_newline.expr.result-ast │ │ │ │ ├── multiline_str_pnc_apply_in_assignment_record_access_newline.expr.roc │ │ │ │ ├── multiline_string.expr.formatted.roc │ │ │ │ ├── multiline_string.expr.migrated.roc │ │ │ │ ├── multiline_string.expr.result-ast │ │ │ │ ├── multiline_string.expr.roc │ │ │ │ ├── multiline_string_in_apply.expr.formatted.roc │ │ │ │ ├── multiline_string_in_apply.expr.migrated.roc │ │ │ │ ├── multiline_string_in_apply.expr.result-ast │ │ │ │ ├── multiline_string_in_apply.expr.roc │ │ │ │ ├── multiline_tuple_with_comments.expr.formatted.roc │ │ │ │ ├── multiline_tuple_with_comments.expr.migrated.roc │ │ │ │ ├── multiline_tuple_with_comments.expr.result-ast │ │ │ │ ├── multiline_tuple_with_comments.expr.roc │ │ │ │ ├── multiline_type_signature.expr.migrated.roc │ │ │ │ ├── multiline_type_signature.expr.result-ast │ │ │ │ ├── multiline_type_signature.expr.roc │ │ │ │ ├── multiline_type_signature_with_comment.expr.formatted.roc │ │ │ │ ├── multiline_type_signature_with_comment.expr.migrated.roc │ │ │ │ ├── multiline_type_signature_with_comment.expr.result-ast │ │ │ │ ├── multiline_type_signature_with_comment.expr.roc │ │ │ │ ├── multiple_fields.expr.migrated.roc │ │ │ │ ├── multiple_fields.expr.result-ast │ │ │ │ ├── multiple_fields.expr.roc │ │ │ │ ├── multiple_operators.expr.formatted.roc │ │ │ │ ├── multiple_operators.expr.migrated.roc │ │ │ │ ├── multiple_operators.expr.result-ast │ │ │ │ ├── multiple_operators.expr.roc │ │ │ │ ├── neg_float_literal_pnc_apply_pat.expr.formatted.roc │ │ │ │ ├── neg_float_literal_pnc_apply_pat.expr.migrated.roc │ │ │ │ ├── neg_float_literal_pnc_apply_pat.expr.result-ast │ │ │ │ ├── neg_float_literal_pnc_apply_pat.expr.roc │ │ │ │ ├── neg_inf_float.expr.migrated.roc │ │ │ │ ├── neg_inf_float.expr.result-ast │ │ │ │ ├── neg_inf_float.expr.roc │ │ │ │ ├── neg_nested_parens.expr.formatted.roc │ │ │ │ ├── neg_nested_parens.expr.migrated.roc │ │ │ │ ├── neg_nested_parens.expr.result-ast │ │ │ │ ├── neg_nested_parens.expr.roc │ │ │ │ ├── neg_newline_four.expr.formatted.roc │ │ │ │ ├── neg_newline_four.expr.migrated.roc │ │ │ │ ├── neg_newline_four.expr.result-ast │ │ │ │ ├── neg_newline_four.expr.roc │ │ │ │ ├── negate_apply_parens_comment.expr.formatted.roc │ │ │ │ ├── negate_apply_parens_comment.expr.migrated.roc │ │ │ │ ├── negate_apply_parens_comment.expr.result-ast │ │ │ │ ├── negate_apply_parens_comment.expr.roc │ │ │ │ ├── negate_multiline_string.expr.formatted.roc │ │ │ │ ├── negate_multiline_string.expr.migrated.roc │ │ │ │ ├── negate_multiline_string.expr.result-ast │ │ │ │ ├── negate_multiline_string.expr.roc │ │ │ │ ├── negate_multiline_string_with_quote.expr.formatted.roc │ │ │ │ ├── negate_multiline_string_with_quote.expr.migrated.roc │ │ │ │ ├── negate_multiline_string_with_quote.expr.result-ast │ │ │ │ ├── negate_multiline_string_with_quote.expr.roc │ │ │ │ ├── negative_float.expr.migrated.roc │ │ │ │ ├── negative_float.expr.result-ast │ │ │ │ ├── negative_float.expr.roc │ │ │ │ ├── negative_in_apply_def.expr.formatted.roc │ │ │ │ ├── negative_in_apply_def.expr.migrated.roc │ │ │ │ ├── negative_in_apply_def.expr.result-ast │ │ │ │ ├── negative_in_apply_def.expr.roc │ │ │ │ ├── negative_int.expr.migrated.roc │ │ │ │ ├── negative_int.expr.result-ast │ │ │ │ ├── negative_int.expr.roc │ │ │ │ ├── negative_single_quote.expr.migrated.roc │ │ │ │ ├── negative_single_quote.expr.result-ast │ │ │ │ ├── negative_single_quote.expr.roc │ │ │ │ ├── nested_def_annotation.moduledefs.formatted.roc │ │ │ │ ├── nested_def_annotation.moduledefs.migrated.roc │ │ │ │ ├── nested_def_annotation.moduledefs.result-ast │ │ │ │ ├── nested_def_annotation.moduledefs.roc │ │ │ │ ├── nested_if.expr.formatted.roc │ │ │ │ ├── nested_if.expr.migrated.roc │ │ │ │ ├── nested_if.expr.result-ast │ │ │ │ ├── nested_if.expr.roc │ │ │ │ ├── nested_if_unindented.expr.formatted.roc │ │ │ │ ├── nested_if_unindented.expr.migrated.roc │ │ │ │ ├── nested_if_unindented.expr.result-ast │ │ │ │ ├── nested_if_unindented.expr.roc │ │ │ │ ├── nested_list_comment_in_closure_arg.expr.formatted.roc │ │ │ │ ├── nested_list_comment_in_closure_arg.expr.migrated.roc │ │ │ │ ├── nested_list_comment_in_closure_arg.expr.result-ast │ │ │ │ ├── nested_list_comment_in_closure_arg.expr.roc │ │ │ │ ├── nested_parens_in_pattern.expr.formatted.roc │ │ │ │ ├── nested_parens_in_pattern.expr.migrated.roc │ │ │ │ ├── nested_parens_in_pattern.expr.result-ast │ │ │ │ ├── nested_parens_in_pattern.expr.roc │ │ │ │ ├── nested_when_comment_in_pat.expr.formatted.roc │ │ │ │ ├── nested_when_comment_in_pat.expr.migrated.roc │ │ │ │ ├── nested_when_comment_in_pat.expr.result-ast │ │ │ │ ├── nested_when_comment_in_pat.expr.roc │ │ │ │ ├── new_lambda_as_second_statement.moduledefs.formatted.roc │ │ │ │ ├── new_lambda_as_second_statement.moduledefs.migrated.roc │ │ │ │ ├── new_lambda_as_second_statement.moduledefs.result-ast │ │ │ │ ├── new_lambda_as_second_statement.moduledefs.roc │ │ │ │ ├── newline_after_equals.expr.formatted.roc │ │ │ │ ├── newline_after_equals.expr.migrated.roc │ │ │ │ ├── newline_after_equals.expr.result-ast │ │ │ │ ├── newline_after_equals.expr.roc │ │ │ │ ├── newline_after_import_str_as.expr.formatted.roc │ │ │ │ ├── newline_after_import_str_as.expr.migrated.roc │ │ │ │ ├── newline_after_import_str_as.expr.result-ast │ │ │ │ ├── newline_after_import_str_as.expr.roc │ │ │ │ ├── newline_after_mul.expr.formatted.roc │ │ │ │ ├── newline_after_mul.expr.migrated.roc │ │ │ │ ├── newline_after_mul.expr.result-ast │ │ │ │ ├── newline_after_mul.expr.roc │ │ │ │ ├── newline_after_opt_field.expr.formatted.roc │ │ │ │ ├── newline_after_opt_field.expr.migrated.roc │ │ │ │ ├── newline_after_opt_field.expr.result-ast │ │ │ │ ├── newline_after_opt_field.expr.roc │ │ │ │ ├── newline_after_paren.expr.formatted.roc │ │ │ │ ├── newline_after_paren.expr.migrated.roc │ │ │ │ ├── newline_after_paren.expr.result-ast │ │ │ │ ├── newline_after_paren.expr.roc │ │ │ │ ├── newline_after_sub.expr.formatted.roc │ │ │ │ ├── newline_after_sub.expr.migrated.roc │ │ │ │ ├── newline_after_sub.expr.result-ast │ │ │ │ ├── newline_after_sub.expr.roc │ │ │ │ ├── newline_and_spaces_before_less_than.expr.formatted.roc │ │ │ │ ├── newline_and_spaces_before_less_than.expr.migrated.roc │ │ │ │ ├── newline_and_spaces_before_less_than.expr.result-ast │ │ │ │ ├── newline_and_spaces_before_less_than.expr.roc │ │ │ │ ├── newline_before_add.expr.migrated.roc │ │ │ │ ├── newline_before_add.expr.result-ast │ │ │ │ ├── newline_before_add.expr.roc │ │ │ │ ├── newline_before_and_after_implements_opaque.expr.formatted.roc │ │ │ │ ├── newline_before_and_after_implements_opaque.expr.migrated.roc │ │ │ │ ├── newline_before_and_after_implements_opaque.expr.result-ast │ │ │ │ ├── newline_before_and_after_implements_opaque.expr.roc │ │ │ │ ├── newline_before_import_curlies.expr.formatted.roc │ │ │ │ ├── newline_before_import_curlies.expr.migrated.roc │ │ │ │ ├── newline_before_import_curlies.expr.result-ast │ │ │ │ ├── newline_before_import_curlies.expr.roc │ │ │ │ ├── newline_before_sub.expr.migrated.roc │ │ │ │ ├── newline_before_sub.expr.result-ast │ │ │ │ ├── newline_before_sub.expr.roc │ │ │ │ ├── newline_in_packages.full.migrated.roc │ │ │ │ ├── newline_in_packages.full.result-ast │ │ │ │ ├── newline_in_packages.full.roc │ │ │ │ ├── newline_in_type_alias_application.expr.formatted.roc │ │ │ │ ├── newline_in_type_alias_application.expr.migrated.roc │ │ │ │ ├── newline_in_type_alias_application.expr.result-ast │ │ │ │ ├── newline_in_type_alias_application.expr.roc │ │ │ │ ├── newline_in_type_def.expr.formatted.roc │ │ │ │ ├── newline_in_type_def.expr.migrated.roc │ │ │ │ ├── newline_in_type_def.expr.result-ast │ │ │ │ ├── newline_in_type_def.expr.roc │ │ │ │ ├── newline_inside_empty_list.expr.migrated.roc │ │ │ │ ├── newline_inside_empty_list.expr.result-ast │ │ │ │ ├── newline_inside_empty_list.expr.roc │ │ │ │ ├── newline_singleton_list.expr.formatted.roc │ │ │ │ ├── newline_singleton_list.expr.migrated.roc │ │ │ │ ├── newline_singleton_list.expr.result-ast │ │ │ │ ├── newline_singleton_list.expr.roc │ │ │ │ ├── no_newline_after_implements.expr.formatted.roc │ │ │ │ ├── no_newline_after_implements.expr.migrated.roc │ │ │ │ ├── no_newline_after_implements.expr.result-ast │ │ │ │ ├── no_newline_after_implements.expr.roc │ │ │ │ ├── nonempty_hosted_header.header.formatted.roc │ │ │ │ ├── nonempty_hosted_header.header.migrated.roc │ │ │ │ ├── nonempty_hosted_header.header.result-ast │ │ │ │ ├── nonempty_hosted_header.header.roc │ │ │ │ ├── nonempty_old_hosted_header.header.formatted.roc │ │ │ │ ├── nonempty_old_hosted_header.header.migrated.roc │ │ │ │ ├── nonempty_old_hosted_header.header.result-ast │ │ │ │ ├── nonempty_old_hosted_header.header.roc │ │ │ │ ├── nonempty_package_header.header.formatted.roc │ │ │ │ ├── nonempty_package_header.header.migrated.roc │ │ │ │ ├── nonempty_package_header.header.result-ast │ │ │ │ ├── nonempty_package_header.header.roc │ │ │ │ ├── nonempty_platform_header.header.formatted.roc │ │ │ │ ├── nonempty_platform_header.header.migrated.roc │ │ │ │ ├── nonempty_platform_header.header.result-ast │ │ │ │ ├── nonempty_platform_header.header.roc │ │ │ │ ├── not_double_parens.expr.formatted.roc │ │ │ │ ├── not_double_parens.expr.migrated.roc │ │ │ │ ├── not_double_parens.expr.result-ast │ │ │ │ ├── not_double_parens.expr.roc │ │ │ │ ├── not_multiline_string.expr.formatted.roc │ │ │ │ ├── not_multiline_string.expr.migrated.roc │ │ │ │ ├── not_multiline_string.expr.result-ast │ │ │ │ ├── not_multiline_string.expr.roc │ │ │ │ ├── not_record_updater.expr.formatted.roc │ │ │ │ ├── not_record_updater.expr.migrated.roc │ │ │ │ ├── not_record_updater.expr.result-ast │ │ │ │ ├── not_record_updater.expr.roc │ │ │ │ ├── not_tag.expr.formatted.roc │ │ │ │ ├── not_tag.expr.migrated.roc │ │ │ │ ├── not_tag.expr.result-ast │ │ │ │ ├── not_tag.expr.roc │ │ │ │ ├── num_bang_amp_z_dot_t.expr.formatted.roc │ │ │ │ ├── num_bang_amp_z_dot_t.expr.migrated.roc │ │ │ │ ├── num_bang_amp_z_dot_t.expr.result-ast │ │ │ │ ├── num_bang_amp_z_dot_t.expr.roc │ │ │ │ ├── number_literal_suffixes.expr.formatted.roc │ │ │ │ ├── number_literal_suffixes.expr.migrated.roc │ │ │ │ ├── number_literal_suffixes.expr.result-ast │ │ │ │ ├── number_literal_suffixes.expr.roc │ │ │ │ ├── old_app_header.full.formatted.roc │ │ │ │ ├── old_app_header.full.migrated.roc │ │ │ │ ├── old_app_header.full.result-ast │ │ │ │ ├── old_app_header.full.roc │ │ │ │ ├── old_interface_header.header.formatted.roc │ │ │ │ ├── old_interface_header.header.migrated.roc │ │ │ │ ├── old_interface_header.header.result-ast │ │ │ │ ├── old_interface_header.header.roc │ │ │ │ ├── one_char_string.expr.formatted.roc │ │ │ │ ├── one_char_string.expr.migrated.roc │ │ │ │ ├── one_char_string.expr.result-ast │ │ │ │ ├── one_char_string.expr.roc │ │ │ │ ├── one_def.expr.formatted.roc │ │ │ │ ├── one_def.expr.migrated.roc │ │ │ │ ├── one_def.expr.result-ast │ │ │ │ ├── one_def.expr.roc │ │ │ │ ├── one_minus_two.expr.formatted.roc │ │ │ │ ├── one_minus_two.expr.migrated.roc │ │ │ │ ├── one_minus_two.expr.result-ast │ │ │ │ ├── one_minus_two.expr.roc │ │ │ │ ├── one_plus_two.expr.formatted.roc │ │ │ │ ├── one_plus_two.expr.migrated.roc │ │ │ │ ├── one_plus_two.expr.result-ast │ │ │ │ ├── one_plus_two.expr.roc │ │ │ │ ├── one_spaced_def.expr.formatted.roc │ │ │ │ ├── one_spaced_def.expr.migrated.roc │ │ │ │ ├── one_spaced_def.expr.result-ast │ │ │ │ ├── one_spaced_def.expr.roc │ │ │ │ ├── opaque_comment_after_head.expr.formatted.roc │ │ │ │ ├── opaque_comment_after_head.expr.migrated.roc │ │ │ │ ├── opaque_comment_after_head.expr.result-ast │ │ │ │ ├── opaque_comment_after_head.expr.roc │ │ │ │ ├── opaque_destructure_first_item_in_body.expr.formatted.roc │ │ │ │ ├── opaque_destructure_first_item_in_body.expr.migrated.roc │ │ │ │ ├── opaque_destructure_first_item_in_body.expr.result-ast │ │ │ │ ├── opaque_destructure_first_item_in_body.expr.roc │ │ │ │ ├── opaque_has_abilities.expr.formatted.roc │ │ │ │ ├── opaque_has_abilities.expr.migrated.roc │ │ │ │ ├── opaque_has_abilities.expr.result-ast │ │ │ │ ├── opaque_has_abilities.expr.roc │ │ │ │ ├── opaque_reference_expr.expr.formatted.roc │ │ │ │ ├── opaque_reference_expr.expr.migrated.roc │ │ │ │ ├── opaque_reference_expr.expr.result-ast │ │ │ │ ├── opaque_reference_expr.expr.roc │ │ │ │ ├── opaque_reference_expr_with_arguments.expr.formatted.roc │ │ │ │ ├── opaque_reference_expr_with_arguments.expr.migrated.roc │ │ │ │ ├── opaque_reference_expr_with_arguments.expr.result-ast │ │ │ │ ├── opaque_reference_expr_with_arguments.expr.roc │ │ │ │ ├── opaque_reference_pattern.expr.formatted.roc │ │ │ │ ├── opaque_reference_pattern.expr.migrated.roc │ │ │ │ ├── opaque_reference_pattern.expr.result-ast │ │ │ │ ├── opaque_reference_pattern.expr.roc │ │ │ │ ├── opaque_reference_pattern_with_arguments.expr.formatted.roc │ │ │ │ ├── opaque_reference_pattern_with_arguments.expr.migrated.roc │ │ │ │ ├── opaque_reference_pattern_with_arguments.expr.result-ast │ │ │ │ ├── opaque_reference_pattern_with_arguments.expr.roc │ │ │ │ ├── opaque_simple.moduledefs.migrated.roc │ │ │ │ ├── opaque_simple.moduledefs.result-ast │ │ │ │ ├── opaque_simple.moduledefs.roc │ │ │ │ ├── opaque_with_type_arguments.moduledefs.formatted.roc │ │ │ │ ├── opaque_with_type_arguments.moduledefs.migrated.roc │ │ │ │ ├── opaque_with_type_arguments.moduledefs.result-ast │ │ │ │ ├── opaque_with_type_arguments.moduledefs.roc │ │ │ │ ├── ops_with_newlines.expr.formatted.roc │ │ │ │ ├── ops_with_newlines.expr.migrated.roc │ │ │ │ ├── ops_with_newlines.expr.result-ast │ │ │ │ ├── ops_with_newlines.expr.roc │ │ │ │ ├── opt_field_newline_in_pat.expr.formatted.roc │ │ │ │ ├── opt_field_newline_in_pat.expr.migrated.roc │ │ │ │ ├── opt_field_newline_in_pat.expr.result-ast │ │ │ │ ├── opt_field_newline_in_pat.expr.roc │ │ │ │ ├── opt_field_newline_in_ty.expr.formatted.roc │ │ │ │ ├── opt_field_newline_in_ty.expr.migrated.roc │ │ │ │ ├── opt_field_newline_in_ty.expr.result-ast │ │ │ │ ├── opt_field_newline_in_ty.expr.roc │ │ │ │ ├── opt_record_field_pat_assign.expr.formatted.roc │ │ │ │ ├── opt_record_field_pat_assign.expr.migrated.roc │ │ │ │ ├── opt_record_field_pat_assign.expr.result-ast │ │ │ │ ├── opt_record_field_pat_assign.expr.roc │ │ │ │ ├── outdented_app_with_record.expr.formatted.roc │ │ │ │ ├── outdented_app_with_record.expr.migrated.roc │ │ │ │ ├── outdented_app_with_record.expr.result-ast │ │ │ │ ├── outdented_app_with_record.expr.roc │ │ │ │ ├── outdented_colon_in_record.expr.formatted.roc │ │ │ │ ├── outdented_colon_in_record.expr.migrated.roc │ │ │ │ ├── outdented_colon_in_record.expr.result-ast │ │ │ │ ├── outdented_colon_in_record.expr.roc │ │ │ │ ├── outdented_list.expr.formatted.roc │ │ │ │ ├── outdented_list.expr.migrated.roc │ │ │ │ ├── outdented_list.expr.result-ast │ │ │ │ ├── outdented_list.expr.roc │ │ │ │ ├── outdented_record.expr.formatted.roc │ │ │ │ ├── outdented_record.expr.migrated.roc │ │ │ │ ├── outdented_record.expr.result-ast │ │ │ │ ├── outdented_record.expr.roc │ │ │ │ ├── p_return_f_minus_f.expr.formatted.roc │ │ │ │ ├── p_return_f_minus_f.expr.migrated.roc │ │ │ │ ├── p_return_f_minus_f.expr.result-ast │ │ │ │ ├── p_return_f_minus_f.expr.roc │ │ │ │ ├── packed_singleton_list.expr.migrated.roc │ │ │ │ ├── packed_singleton_list.expr.result-ast │ │ │ │ ├── packed_singleton_list.expr.roc │ │ │ │ ├── paren_newline_before_return.expr.formatted.roc │ │ │ │ ├── paren_newline_before_return.expr.migrated.roc │ │ │ │ ├── paren_newline_before_return.expr.result-ast │ │ │ │ ├── paren_newline_before_return.expr.roc │ │ │ │ ├── parens_apply_newline.expr.formatted.roc │ │ │ │ ├── parens_apply_newline.expr.migrated.roc │ │ │ │ ├── parens_apply_newline.expr.result-ast │ │ │ │ ├── parens_apply_newline.expr.roc │ │ │ │ ├── parens_apply_not_parens.expr.formatted.roc │ │ │ │ ├── parens_apply_not_parens.expr.migrated.roc │ │ │ │ ├── parens_apply_not_parens.expr.result-ast │ │ │ │ ├── parens_apply_not_parens.expr.roc │ │ │ │ ├── parens_comment_in_str_interpolation.expr.formatted.roc │ │ │ │ ├── parens_comment_in_str_interpolation.expr.migrated.roc │ │ │ │ ├── parens_comment_in_str_interpolation.expr.result-ast │ │ │ │ ├── parens_comment_in_str_interpolation.expr.roc │ │ │ │ ├── parens_comment_tuple.expr.formatted.roc │ │ │ │ ├── parens_comment_tuple.expr.migrated.roc │ │ │ │ ├── parens_comment_tuple.expr.result-ast │ │ │ │ ├── parens_comment_tuple.expr.roc │ │ │ │ ├── parens_empty_record_apply.expr.formatted.roc │ │ │ │ ├── parens_empty_record_apply.expr.migrated.roc │ │ │ │ ├── parens_empty_record_apply.expr.result-ast │ │ │ │ ├── parens_empty_record_apply.expr.roc │ │ │ │ ├── parens_func_apply_type.expr.formatted.roc │ │ │ │ ├── parens_func_apply_type.expr.migrated.roc │ │ │ │ ├── parens_func_apply_type.expr.result-ast │ │ │ │ ├── parens_func_apply_type.expr.roc │ │ │ │ ├── parens_newline_in_func_type.expr.formatted.roc │ │ │ │ ├── parens_newline_in_func_type.expr.migrated.roc │ │ │ │ ├── parens_newline_in_func_type.expr.result-ast │ │ │ │ ├── parens_newline_in_func_type.expr.roc │ │ │ │ ├── parens_newlines_before_as.expr.formatted.roc │ │ │ │ ├── parens_newlines_before_as.expr.migrated.roc │ │ │ │ ├── parens_newlines_before_as.expr.result-ast │ │ │ │ ├── parens_newlines_before_as.expr.roc │ │ │ │ ├── parens_record_updater.expr.formatted.roc │ │ │ │ ├── parens_record_updater.expr.migrated.roc │ │ │ │ ├── parens_record_updater.expr.result-ast │ │ │ │ ├── parens_record_updater.expr.roc │ │ │ │ ├── parenthesized_type_def.expr.formatted.roc │ │ │ │ ├── parenthesized_type_def.expr.migrated.roc │ │ │ │ ├── parenthesized_type_def.expr.result-ast │ │ │ │ ├── parenthesized_type_def.expr.roc │ │ │ │ ├── parenthesized_type_def_space_before.expr.formatted.roc │ │ │ │ ├── parenthesized_type_def_space_before.expr.migrated.roc │ │ │ │ ├── parenthesized_type_def_space_before.expr.result-ast │ │ │ │ ├── parenthesized_type_def_space_before.expr.roc │ │ │ │ ├── parenthetical_apply.expr.migrated.roc │ │ │ │ ├── parenthetical_apply.expr.result-ast │ │ │ │ ├── parenthetical_apply.expr.roc │ │ │ │ ├── parenthetical_basic_field.expr.migrated.roc │ │ │ │ ├── parenthetical_basic_field.expr.result-ast │ │ │ │ ├── parenthetical_basic_field.expr.roc │ │ │ │ ├── parenthetical_field_qualified_var.expr.migrated.roc │ │ │ │ ├── parenthetical_field_qualified_var.expr.result-ast │ │ │ │ ├── parenthetical_field_qualified_var.expr.roc │ │ │ │ ├── parenthetical_var.expr.formatted.roc │ │ │ │ ├── parenthetical_var.expr.migrated.roc │ │ │ │ ├── parenthetical_var.expr.result-ast │ │ │ │ ├── parenthetical_var.expr.roc │ │ │ │ ├── parse_alias.expr.formatted.roc │ │ │ │ ├── parse_alias.expr.migrated.roc │ │ │ │ ├── parse_alias.expr.result-ast │ │ │ │ ├── parse_alias.expr.roc │ │ │ │ ├── parse_as_ann.expr.formatted.roc │ │ │ │ ├── parse_as_ann.expr.migrated.roc │ │ │ │ ├── parse_as_ann.expr.result-ast │ │ │ │ ├── parse_as_ann.expr.roc │ │ │ │ ├── pat_parens_newline_before_pipe_when.expr.formatted.roc │ │ │ │ ├── pat_parens_newline_before_pipe_when.expr.migrated.roc │ │ │ │ ├── pat_parens_newline_before_pipe_when.expr.result-ast │ │ │ │ ├── pat_parens_newline_before_pipe_when.expr.roc │ │ │ │ ├── pat_space_after_comma.expr.formatted.roc │ │ │ │ ├── pat_space_after_comma.expr.migrated.roc │ │ │ │ ├── pat_space_after_comma.expr.result-ast │ │ │ │ ├── pat_space_after_comma.expr.roc │ │ │ │ ├── pattern_as.expr.formatted.roc │ │ │ │ ├── pattern_as.expr.migrated.roc │ │ │ │ ├── pattern_as.expr.result-ast │ │ │ │ ├── pattern_as.expr.roc │ │ │ │ ├── pattern_as_list_rest.expr.formatted.roc │ │ │ │ ├── pattern_as_list_rest.expr.migrated.roc │ │ │ │ ├── pattern_as_list_rest.expr.result-ast │ │ │ │ ├── pattern_as_list_rest.expr.roc │ │ │ │ ├── pattern_as_spaces.expr.formatted.roc │ │ │ │ ├── pattern_as_spaces.expr.migrated.roc │ │ │ │ ├── pattern_as_spaces.expr.result-ast │ │ │ │ ├── pattern_as_spaces.expr.roc │ │ │ │ ├── pattern_comma_newlines.expr.formatted.roc │ │ │ │ ├── pattern_comma_newlines.expr.migrated.roc │ │ │ │ ├── pattern_comma_newlines.expr.result-ast │ │ │ │ ├── pattern_comma_newlines.expr.roc │ │ │ │ ├── pattern_record_apply_comment.expr.formatted.roc │ │ │ │ ├── pattern_record_apply_comment.expr.migrated.roc │ │ │ │ ├── pattern_record_apply_comment.expr.result-ast │ │ │ │ ├── pattern_record_apply_comment.expr.roc │ │ │ │ ├── pattern_with_as_parens.expr.formatted.roc │ │ │ │ ├── pattern_with_as_parens.expr.migrated.roc │ │ │ │ ├── pattern_with_as_parens.expr.result-ast │ │ │ │ ├── pattern_with_as_parens.expr.roc │ │ │ │ ├── pattern_with_space_in_parens.expr.formatted.roc │ │ │ │ ├── pattern_with_space_in_parens.expr.migrated.roc │ │ │ │ ├── pattern_with_space_in_parens.expr.result-ast │ │ │ │ ├── pattern_with_space_in_parens.expr.roc │ │ │ │ ├── pizza_dbg.expr.formatted.roc │ │ │ │ ├── pizza_dbg.expr.migrated.roc │ │ │ │ ├── pizza_dbg.expr.result-ast │ │ │ │ ├── pizza_dbg.expr.roc │ │ │ │ ├── pizza_question.moduledefs.formatted.roc │ │ │ │ ├── pizza_question.moduledefs.migrated.roc │ │ │ │ ├── pizza_question.moduledefs.result-ast │ │ │ │ ├── pizza_question.moduledefs.roc │ │ │ │ ├── plus_if.expr.formatted.roc │ │ │ │ ├── plus_if.expr.migrated.roc │ │ │ │ ├── plus_if.expr.result-ast │ │ │ │ ├── plus_if.expr.roc │ │ │ │ ├── plus_when.expr.formatted.roc │ │ │ │ ├── plus_when.expr.migrated.roc │ │ │ │ ├── plus_when.expr.result-ast │ │ │ │ ├── plus_when.expr.roc │ │ │ │ ├── pnc_apply_comment_after_newline.expr.formatted.roc │ │ │ │ ├── pnc_apply_comment_after_newline.expr.migrated.roc │ │ │ │ ├── pnc_apply_comment_after_newline.expr.result-ast │ │ │ │ ├── pnc_apply_comment_after_newline.expr.roc │ │ │ │ ├── pnc_apply_neg_pattern.expr.formatted.roc │ │ │ │ ├── pnc_apply_neg_pattern.expr.migrated.roc │ │ │ │ ├── pnc_apply_neg_pattern.expr.result-ast │ │ │ │ ├── pnc_apply_neg_pattern.expr.roc │ │ │ │ ├── pnc_dbg_parens_comment.expr.formatted.roc │ │ │ │ ├── pnc_dbg_parens_comment.expr.migrated.roc │ │ │ │ ├── pnc_dbg_parens_comment.expr.result-ast │ │ │ │ ├── pnc_dbg_parens_comment.expr.roc │ │ │ │ ├── pnc_parens_apply_etc.expr.formatted.roc │ │ │ │ ├── pnc_parens_apply_etc.expr.migrated.roc │ │ │ │ ├── pnc_parens_apply_etc.expr.result-ast │ │ │ │ ├── pnc_parens_apply_etc.expr.roc │ │ │ │ ├── pos_inf_float.expr.migrated.roc │ │ │ │ ├── pos_inf_float.expr.result-ast │ │ │ │ ├── pos_inf_float.expr.roc │ │ │ │ ├── positive_float.expr.migrated.roc │ │ │ │ ├── positive_float.expr.result-ast │ │ │ │ ├── positive_float.expr.roc │ │ │ │ ├── positive_int.expr.migrated.roc │ │ │ │ ├── positive_int.expr.result-ast │ │ │ │ ├── positive_int.expr.roc │ │ │ │ ├── provides_type.header.migrated.roc │ │ │ │ ├── provides_type.header.result-ast │ │ │ │ ├── provides_type.header.roc │ │ │ │ ├── qualified_field.expr.migrated.roc │ │ │ │ ├── qualified_field.expr.result-ast │ │ │ │ ├── qualified_field.expr.roc │ │ │ │ ├── qualified_var.expr.migrated.roc │ │ │ │ ├── qualified_var.expr.result-ast │ │ │ │ ├── qualified_var.expr.roc │ │ │ │ ├── record_access_after_tuple.expr.formatted.roc │ │ │ │ ├── record_access_after_tuple.expr.migrated.roc │ │ │ │ ├── record_access_after_tuple.expr.result-ast │ │ │ │ ├── record_access_after_tuple.expr.roc │ │ │ │ ├── record_builder.expr.formatted.roc │ │ │ │ ├── record_builder.expr.migrated.roc │ │ │ │ ├── record_builder.expr.result-ast │ │ │ │ ├── record_builder.expr.roc │ │ │ │ ├── record_builder_ignored_fields.expr.formatted.roc │ │ │ │ ├── record_builder_ignored_fields.expr.migrated.roc │ │ │ │ ├── record_builder_ignored_fields.expr.result-ast │ │ │ │ ├── record_builder_ignored_fields.expr.roc │ │ │ │ ├── record_comment_newline_field.expr.formatted.roc │ │ │ │ ├── record_comment_newline_field.expr.migrated.roc │ │ │ │ ├── record_comment_newline_field.expr.result-ast │ │ │ │ ├── record_comment_newline_field.expr.roc │ │ │ │ ├── record_destructure_def.expr.formatted.roc │ │ │ │ ├── record_destructure_def.expr.migrated.roc │ │ │ │ ├── record_destructure_def.expr.result-ast │ │ │ │ ├── record_destructure_def.expr.roc │ │ │ │ ├── record_destructure_field_bang.expr.formatted.roc │ │ │ │ ├── record_destructure_field_bang.expr.migrated.roc │ │ │ │ ├── record_destructure_field_bang.expr.result-ast │ │ │ │ ├── record_destructure_field_bang.expr.roc │ │ │ │ ├── record_double_newline_comment_field.expr.formatted.roc │ │ │ │ ├── record_double_newline_comment_field.expr.migrated.roc │ │ │ │ ├── record_double_newline_comment_field.expr.result-ast │ │ │ │ ├── record_double_newline_comment_field.expr.roc │ │ │ │ ├── record_func_type_decl.expr.formatted.roc │ │ │ │ ├── record_func_type_decl.expr.migrated.roc │ │ │ │ ├── record_func_type_decl.expr.result-ast │ │ │ │ ├── record_func_type_decl.expr.roc │ │ │ │ ├── record_literal_field_bang.expr.formatted.roc │ │ │ │ ├── record_literal_field_bang.expr.migrated.roc │ │ │ │ ├── record_literal_field_bang.expr.result-ast │ │ │ │ ├── record_literal_field_bang.expr.roc │ │ │ │ ├── record_type_with_function.expr.formatted.roc │ │ │ │ ├── record_type_with_function.expr.migrated.roc │ │ │ │ ├── record_type_with_function.expr.result-ast │ │ │ │ ├── record_type_with_function.expr.roc │ │ │ │ ├── record_update.expr.migrated.roc │ │ │ │ ├── record_update.expr.result-ast │ │ │ │ ├── record_update.expr.roc │ │ │ │ ├── record_update_apply_closure_comments.expr.formatted.roc │ │ │ │ ├── record_update_apply_closure_comments.expr.migrated.roc │ │ │ │ ├── record_update_apply_closure_comments.expr.result-ast │ │ │ │ ├── record_update_apply_closure_comments.expr.roc │ │ │ │ ├── record_update_comment_before_ampersand.expr.formatted.roc │ │ │ │ ├── record_update_comment_before_ampersand.expr.migrated.roc │ │ │ │ ├── record_update_comment_before_ampersand.expr.result-ast │ │ │ │ ├── record_update_comment_before_ampersand.expr.roc │ │ │ │ ├── record_updater_closure_weirdness.expr.formatted.roc │ │ │ │ ├── record_updater_closure_weirdness.expr.migrated.roc │ │ │ │ ├── record_updater_closure_weirdness.expr.result-ast │ │ │ │ ├── record_updater_closure_weirdness.expr.roc │ │ │ │ ├── record_updater_literal_apply.expr.formatted.roc │ │ │ │ ├── record_updater_literal_apply.expr.migrated.roc │ │ │ │ ├── record_updater_literal_apply.expr.result-ast │ │ │ │ ├── record_updater_literal_apply.expr.roc │ │ │ │ ├── record_updater_var_apply.expr.formatted.roc │ │ │ │ ├── record_updater_var_apply.expr.migrated.roc │ │ │ │ ├── record_updater_var_apply.expr.result-ast │ │ │ │ ├── record_updater_var_apply.expr.roc │ │ │ │ ├── record_with_if.expr.formatted.roc │ │ │ │ ├── record_with_if.expr.migrated.roc │ │ │ │ ├── record_with_if.expr.result-ast │ │ │ │ ├── record_with_if.expr.roc │ │ │ │ ├── record_with_lots_of_newlines.expr.formatted.roc │ │ │ │ ├── record_with_lots_of_newlines.expr.migrated.roc │ │ │ │ ├── record_with_lots_of_newlines.expr.result-ast │ │ │ │ ├── record_with_lots_of_newlines.expr.roc │ │ │ │ ├── repr_7342.expr.formatted.roc │ │ │ │ ├── repr_7342.expr.migrated.roc │ │ │ │ ├── repr_7342.expr.result-ast │ │ │ │ ├── repr_7342.expr.roc │ │ │ │ ├── requires_type.header.formatted.roc │ │ │ │ ├── requires_type.header.migrated.roc │ │ │ │ ├── requires_type.header.result-ast │ │ │ │ ├── requires_type.header.roc │ │ │ │ ├── return_apply_newline.expr.formatted.roc │ │ │ │ ├── return_apply_newline.expr.migrated.roc │ │ │ │ ├── return_apply_newline.expr.result-ast │ │ │ │ ├── return_apply_newline.expr.roc │ │ │ │ ├── return_empty_assign.expr.formatted.roc │ │ │ │ ├── return_empty_assign.expr.migrated.roc │ │ │ │ ├── return_empty_assign.expr.result-ast │ │ │ │ ├── return_empty_assign.expr.roc │ │ │ │ ├── return_field_access_in_parens.expr.formatted.roc │ │ │ │ ├── return_field_access_in_parens.expr.migrated.roc │ │ │ │ ├── return_field_access_in_parens.expr.result-ast │ │ │ │ ├── return_field_access_in_parens.expr.roc │ │ │ │ ├── return_in_apply_func.expr.formatted.roc │ │ │ │ ├── return_in_apply_func.expr.migrated.roc │ │ │ │ ├── return_in_apply_func.expr.result-ast │ │ │ │ ├── return_in_apply_func.expr.roc │ │ │ │ ├── return_in_if.expr.formatted.roc │ │ │ │ ├── return_in_if.expr.migrated.roc │ │ │ │ ├── return_in_if.expr.result-ast │ │ │ │ ├── return_in_if.expr.roc │ │ │ │ ├── return_in_static_def.expr.formatted.roc │ │ │ │ ├── return_in_static_def.expr.migrated.roc │ │ │ │ ├── return_in_static_def.expr.result-ast │ │ │ │ ├── return_in_static_def.expr.roc │ │ │ │ ├── return_in_when.expr.formatted.roc │ │ │ │ ├── return_in_when.expr.migrated.roc │ │ │ │ ├── return_in_when.expr.result-ast │ │ │ │ ├── return_in_when.expr.roc │ │ │ │ ├── return_minus_one.expr.formatted.roc │ │ │ │ ├── return_minus_one.expr.migrated.roc │ │ │ │ ├── return_minus_one.expr.result-ast │ │ │ │ ├── return_minus_one.expr.roc │ │ │ │ ├── return_multiline.expr.formatted.roc │ │ │ │ ├── return_multiline.expr.migrated.roc │ │ │ │ ├── return_multiline.expr.result-ast │ │ │ │ ├── return_multiline.expr.roc │ │ │ │ ├── return_only_statement.expr.formatted.roc │ │ │ │ ├── return_only_statement.expr.migrated.roc │ │ │ │ ├── return_only_statement.expr.result-ast │ │ │ │ ├── return_only_statement.expr.roc │ │ │ │ ├── return_parens_comments.expr.formatted.roc │ │ │ │ ├── return_parens_comments.expr.migrated.roc │ │ │ │ ├── return_parens_comments.expr.result-ast │ │ │ │ ├── return_parens_comments.expr.roc │ │ │ │ ├── return_record_update_comment_empty_fields.expr.formatted.roc │ │ │ │ ├── return_record_update_comment_empty_fields.expr.migrated.roc │ │ │ │ ├── return_record_update_comment_empty_fields.expr.result-ast │ │ │ │ ├── return_record_update_comment_empty_fields.expr.roc │ │ │ │ ├── return_then_nested_parens.expr.formatted.roc │ │ │ │ ├── return_then_nested_parens.expr.migrated.roc │ │ │ │ ├── return_then_nested_parens.expr.result-ast │ │ │ │ ├── return_then_nested_parens.expr.roc │ │ │ │ ├── return_with_after.expr.formatted.roc │ │ │ │ ├── return_with_after.expr.migrated.roc │ │ │ │ ├── return_with_after.expr.result-ast │ │ │ │ ├── return_with_after.expr.roc │ │ │ │ ├── sep_annotation.expr.formatted.roc │ │ │ │ ├── sep_annotation.expr.migrated.roc │ │ │ │ ├── sep_annotation.expr.result-ast │ │ │ │ ├── sep_annotation.expr.roc │ │ │ │ ├── separate_defs.moduledefs.migrated.roc │ │ │ │ ├── separate_defs.moduledefs.result-ast │ │ │ │ ├── separate_defs.moduledefs.roc │ │ │ │ ├── single_arg_closure.expr.formatted.roc │ │ │ │ ├── single_arg_closure.expr.migrated.roc │ │ │ │ ├── single_arg_closure.expr.result-ast │ │ │ │ ├── single_arg_closure.expr.roc │ │ │ │ ├── single_arg_with_underscore_closure.expr.formatted.roc │ │ │ │ ├── single_arg_with_underscore_closure.expr.migrated.roc │ │ │ │ ├── single_arg_with_underscore_closure.expr.result-ast │ │ │ │ ├── single_arg_with_underscore_closure.expr.roc │ │ │ │ ├── single_question_binop_closure.expr.formatted.roc │ │ │ │ ├── single_question_binop_closure.expr.migrated.roc │ │ │ │ ├── single_question_binop_closure.expr.result-ast │ │ │ │ ├── single_question_binop_closure.expr.roc │ │ │ │ ├── single_question_binop_tag.expr.formatted.roc │ │ │ │ ├── single_question_binop_tag.expr.migrated.roc │ │ │ │ ├── single_question_binop_tag.expr.result-ast │ │ │ │ ├── single_question_binop_tag.expr.roc │ │ │ │ ├── single_underscore_closure.expr.formatted.roc │ │ │ │ ├── single_underscore_closure.expr.migrated.roc │ │ │ │ ├── single_underscore_closure.expr.result-ast │ │ │ │ ├── single_underscore_closure.expr.roc │ │ │ │ ├── sneaky_and_expr.expr.formatted.roc │ │ │ │ ├── sneaky_and_expr.expr.migrated.roc │ │ │ │ ├── sneaky_and_expr.expr.result-ast │ │ │ │ ├── sneaky_and_expr.expr.roc │ │ │ │ ├── sneaky_implements_in_opaque_fn_type.expr.formatted.roc │ │ │ │ ├── sneaky_implements_in_opaque_fn_type.expr.migrated.roc │ │ │ │ ├── sneaky_implements_in_opaque_fn_type.expr.result-ast │ │ │ │ ├── sneaky_implements_in_opaque_fn_type.expr.roc │ │ │ │ ├── space_after_opt_field_pat.expr.formatted.roc │ │ │ │ ├── space_after_opt_field_pat.expr.migrated.roc │ │ │ │ ├── space_after_opt_field_pat.expr.result-ast │ │ │ │ ├── space_after_opt_field_pat.expr.roc │ │ │ │ ├── space_before_colon.full.formatted.roc │ │ │ │ ├── space_before_colon.full.migrated.roc │ │ │ │ ├── space_before_colon.full.result-ast │ │ │ │ ├── space_before_colon.full.roc │ │ │ │ ├── space_before_parens_space_after.expr.formatted.roc │ │ │ │ ├── space_before_parens_space_after.expr.migrated.roc │ │ │ │ ├── space_before_parens_space_after.expr.result-ast │ │ │ │ ├── space_before_parens_space_after.expr.roc │ │ │ │ ├── space_only_after_minus.expr.formatted.roc │ │ │ │ ├── space_only_after_minus.expr.migrated.roc │ │ │ │ ├── space_only_after_minus.expr.result-ast │ │ │ │ ├── space_only_after_minus.expr.roc │ │ │ │ ├── spaced_singleton_list.expr.formatted.roc │ │ │ │ ├── spaced_singleton_list.expr.migrated.roc │ │ │ │ ├── spaced_singleton_list.expr.result-ast │ │ │ │ ├── spaced_singleton_list.expr.roc │ │ │ │ ├── spaces_inside_empty_list.expr.formatted.roc │ │ │ │ ├── spaces_inside_empty_list.expr.migrated.roc │ │ │ │ ├── spaces_inside_empty_list.expr.result-ast │ │ │ │ ├── spaces_inside_empty_list.expr.roc │ │ │ │ ├── standalone_module_defs.moduledefs.migrated.roc │ │ │ │ ├── standalone_module_defs.moduledefs.result-ast │ │ │ │ ├── standalone_module_defs.moduledefs.roc │ │ │ │ ├── stmt_parens_minus.expr.formatted.roc │ │ │ │ ├── stmt_parens_minus.expr.migrated.roc │ │ │ │ ├── stmt_parens_minus.expr.result-ast │ │ │ │ ├── stmt_parens_minus.expr.roc │ │ │ │ ├── stmts_in_empty_record_assignment.expr.formatted.roc │ │ │ │ ├── stmts_in_empty_record_assignment.expr.migrated.roc │ │ │ │ ├── stmts_in_empty_record_assignment.expr.result-ast │ │ │ │ ├── stmts_in_empty_record_assignment.expr.roc │ │ │ │ ├── str_block_multiple_newlines.expr.formatted.roc │ │ │ │ ├── str_block_multiple_newlines.expr.migrated.roc │ │ │ │ ├── str_block_multiple_newlines.expr.result-ast │ │ │ │ ├── str_block_multiple_newlines.expr.roc │ │ │ │ ├── str_minus_pnc_call_multiline_str.expr.formatted.roc │ │ │ │ ├── str_minus_pnc_call_multiline_str.expr.migrated.roc │ │ │ │ ├── str_minus_pnc_call_multiline_str.expr.result-ast │ │ │ │ ├── str_minus_pnc_call_multiline_str.expr.roc │ │ │ │ ├── string_without_escape.expr.migrated.roc │ │ │ │ ├── string_without_escape.expr.result-ast │ │ │ │ ├── string_without_escape.expr.roc │ │ │ │ ├── sub_var_with_spaces.expr.migrated.roc │ │ │ │ ├── sub_var_with_spaces.expr.result-ast │ │ │ │ ├── sub_var_with_spaces.expr.roc │ │ │ │ ├── sub_with_spaces.expr.formatted.roc │ │ │ │ ├── sub_with_spaces.expr.migrated.roc │ │ │ │ ├── sub_with_spaces.expr.result-ast │ │ │ │ ├── sub_with_spaces.expr.roc │ │ │ │ ├── suffixed_question.expr.migrated.roc │ │ │ │ ├── suffixed_question.expr.result-ast │ │ │ │ ├── suffixed_question.expr.roc │ │ │ │ ├── suffixed_question_multiple_defs.moduledefs.formatted.roc │ │ │ │ ├── suffixed_question_multiple_defs.moduledefs.migrated.roc │ │ │ │ ├── suffixed_question_multiple_defs.moduledefs.result-ast │ │ │ │ ├── suffixed_question_multiple_defs.moduledefs.roc │ │ │ │ ├── suffixed_question_nested.expr.formatted.roc │ │ │ │ ├── suffixed_question_nested.expr.migrated.roc │ │ │ │ ├── suffixed_question_nested.expr.result-ast │ │ │ │ ├── suffixed_question_nested.expr.roc │ │ │ │ ├── suffixed_question_one_def.full.formatted.roc │ │ │ │ ├── suffixed_question_one_def.full.migrated.roc │ │ │ │ ├── suffixed_question_one_def.full.result-ast │ │ │ │ ├── suffixed_question_one_def.full.roc │ │ │ │ ├── suffixed_question_optional_last.full.formatted.roc │ │ │ │ ├── suffixed_question_optional_last.full.migrated.roc │ │ │ │ ├── suffixed_question_optional_last.full.result-ast │ │ │ │ ├── suffixed_question_optional_last.full.roc │ │ │ │ ├── tag_destructure_bang.expr.formatted.roc │ │ │ │ ├── tag_destructure_bang.expr.migrated.roc │ │ │ │ ├── tag_destructure_bang.expr.result-ast │ │ │ │ ├── tag_destructure_bang.expr.roc │ │ │ │ ├── tag_destructure_bang_no_space.expr.formatted.roc │ │ │ │ ├── tag_destructure_bang_no_space.expr.migrated.roc │ │ │ │ ├── tag_destructure_bang_no_space.expr.result-ast │ │ │ │ ├── tag_destructure_bang_no_space.expr.roc │ │ │ │ ├── tag_pattern.expr.formatted.roc │ │ │ │ ├── tag_pattern.expr.migrated.roc │ │ │ │ ├── tag_pattern.expr.result-ast │ │ │ │ ├── tag_pattern.expr.roc │ │ │ │ ├── tag_union_ann_with_as.expr.formatted.roc │ │ │ │ ├── tag_union_ann_with_as.expr.migrated.roc │ │ │ │ ├── tag_union_ann_with_as.expr.result-ast │ │ │ │ ├── tag_union_ann_with_as.expr.roc │ │ │ │ ├── tag_union_functions_as.expr.formatted.roc │ │ │ │ ├── tag_union_functions_as.expr.migrated.roc │ │ │ │ ├── tag_union_functions_as.expr.result-ast │ │ │ │ ├── tag_union_functions_as.expr.roc │ │ │ │ ├── ten_times_eleven.expr.formatted.roc │ │ │ │ ├── ten_times_eleven.expr.migrated.roc │ │ │ │ ├── ten_times_eleven.expr.result-ast │ │ │ │ ├── ten_times_eleven.expr.roc │ │ │ │ ├── three_arg_closure.expr.formatted.roc │ │ │ │ ├── three_arg_closure.expr.migrated.roc │ │ │ │ ├── three_arg_closure.expr.result-ast │ │ │ │ ├── three_arg_closure.expr.roc │ │ │ │ ├── triple_paren_pat_ann.expr.formatted.roc │ │ │ │ ├── triple_paren_pat_ann.expr.migrated.roc │ │ │ │ ├── triple_paren_pat_ann.expr.result-ast │ │ │ │ ├── triple_paren_pat_ann.expr.roc │ │ │ │ ├── triple_quote_craziness.expr.formatted.roc │ │ │ │ ├── triple_quote_craziness.expr.migrated.roc │ │ │ │ ├── triple_quote_craziness.expr.result-ast │ │ │ │ ├── triple_quote_craziness.expr.roc │ │ │ │ ├── try_blank_in_list.expr.formatted.roc │ │ │ │ ├── try_blank_in_list.expr.migrated.roc │ │ │ │ ├── try_blank_in_list.expr.result-ast │ │ │ │ ├── try_blank_in_list.expr.roc │ │ │ │ ├── try_function_after_pipe.expr.formatted.roc │ │ │ │ ├── try_function_after_pipe.expr.migrated.roc │ │ │ │ ├── try_function_after_pipe.expr.result-ast │ │ │ │ ├── try_function_after_pipe.expr.roc │ │ │ │ ├── try_pipe_suffix.expr.formatted.roc │ │ │ │ ├── try_pipe_suffix.expr.migrated.roc │ │ │ │ ├── try_pipe_suffix.expr.result-ast │ │ │ │ ├── try_pipe_suffix.expr.roc │ │ │ │ ├── try_plain_prefix.expr.formatted.roc │ │ │ │ ├── try_plain_prefix.expr.migrated.roc │ │ │ │ ├── try_plain_prefix.expr.result-ast │ │ │ │ ├── try_plain_prefix.expr.roc │ │ │ │ ├── try_subtract.expr.formatted.roc │ │ │ │ ├── try_subtract.expr.migrated.roc │ │ │ │ ├── try_subtract.expr.result-ast │ │ │ │ ├── try_subtract.expr.roc │ │ │ │ ├── tuple_access_after_ident.expr.migrated.roc │ │ │ │ ├── tuple_access_after_ident.expr.result-ast │ │ │ │ ├── tuple_access_after_ident.expr.roc │ │ │ │ ├── tuple_access_after_record.expr.migrated.roc │ │ │ │ ├── tuple_access_after_record.expr.result-ast │ │ │ │ ├── tuple_access_after_record.expr.roc │ │ │ │ ├── tuple_accessor_function.expr.migrated.roc │ │ │ │ ├── tuple_accessor_function.expr.result-ast │ │ │ │ ├── tuple_accessor_function.expr.roc │ │ │ │ ├── tuple_apply_parens_comment.expr.formatted.roc │ │ │ │ ├── tuple_apply_parens_comment.expr.migrated.roc │ │ │ │ ├── tuple_apply_parens_comment.expr.result-ast │ │ │ │ ├── tuple_apply_parens_comment.expr.roc │ │ │ │ ├── tuple_destructure_bang.expr.formatted.roc │ │ │ │ ├── tuple_destructure_bang.expr.migrated.roc │ │ │ │ ├── tuple_destructure_bang.expr.result-ast │ │ │ │ ├── tuple_destructure_bang.expr.roc │ │ │ │ ├── tuple_funcs_in_parens.expr.formatted.roc │ │ │ │ ├── tuple_funcs_in_parens.expr.migrated.roc │ │ │ │ ├── tuple_funcs_in_parens.expr.result-ast │ │ │ │ ├── tuple_funcs_in_parens.expr.roc │ │ │ │ ├── tuple_function_annotation.expr.formatted.roc │ │ │ │ ├── tuple_function_annotation.expr.migrated.roc │ │ │ │ ├── tuple_function_annotation.expr.result-ast │ │ │ │ ├── tuple_function_annotation.expr.roc │ │ │ │ ├── tuple_type.expr.formatted.roc │ │ │ │ ├── tuple_type.expr.migrated.roc │ │ │ │ ├── tuple_type.expr.result-ast │ │ │ │ ├── tuple_type.expr.roc │ │ │ │ ├── tuple_type_ext.expr.formatted.roc │ │ │ │ ├── tuple_type_ext.expr.migrated.roc │ │ │ │ ├── tuple_type_ext.expr.result-ast │ │ │ │ ├── tuple_type_ext.expr.roc │ │ │ │ ├── tuples_parens_comments.expr.formatted.roc │ │ │ │ ├── tuples_parens_comments.expr.migrated.roc │ │ │ │ ├── tuples_parens_comments.expr.result-ast │ │ │ │ ├── tuples_parens_comments.expr.roc │ │ │ │ ├── two_arg_closure.expr.formatted.roc │ │ │ │ ├── two_arg_closure.expr.migrated.roc │ │ │ │ ├── two_arg_closure.expr.result-ast │ │ │ │ ├── two_arg_closure.expr.roc │ │ │ │ ├── two_branch_when.expr.formatted.roc │ │ │ │ ├── two_branch_when.expr.migrated.roc │ │ │ │ ├── two_branch_when.expr.result-ast │ │ │ │ ├── two_branch_when.expr.roc │ │ │ │ ├── two_spaced_def.expr.formatted.roc │ │ │ │ ├── two_spaced_def.expr.migrated.roc │ │ │ │ ├── two_spaced_def.expr.result-ast │ │ │ │ ├── two_spaced_def.expr.roc │ │ │ │ ├── type_ann_tag_union_parens_applies.expr.formatted.roc │ │ │ │ ├── type_ann_tag_union_parens_applies.expr.migrated.roc │ │ │ │ ├── type_ann_tag_union_parens_applies.expr.result-ast │ │ │ │ ├── type_ann_tag_union_parens_applies.expr.roc │ │ │ │ ├── type_decl_with_underscore.expr.formatted.roc │ │ │ │ ├── type_decl_with_underscore.expr.migrated.roc │ │ │ │ ├── type_decl_with_underscore.expr.result-ast │ │ │ │ ├── type_decl_with_underscore.expr.roc │ │ │ │ ├── type_signature_def.expr.migrated.roc │ │ │ │ ├── type_signature_def.expr.result-ast │ │ │ │ ├── type_signature_def.expr.roc │ │ │ │ ├── type_signature_function_def.expr.formatted.roc │ │ │ │ ├── type_signature_function_def.expr.migrated.roc │ │ │ │ ├── type_signature_function_def.expr.result-ast │ │ │ │ ├── type_signature_function_def.expr.roc │ │ │ │ ├── type_tuple_where_annotation.expr.formatted.roc │ │ │ │ ├── type_tuple_where_annotation.expr.migrated.roc │ │ │ │ ├── type_tuple_where_annotation.expr.result-ast │ │ │ │ ├── type_tuple_where_annotation.expr.roc │ │ │ │ ├── unary_negation.expr.migrated.roc │ │ │ │ ├── unary_negation.expr.result-ast │ │ │ │ ├── unary_negation.expr.roc │ │ │ │ ├── unary_negation_access.expr.migrated.roc │ │ │ │ ├── unary_negation_access.expr.result-ast │ │ │ │ ├── unary_negation_access.expr.roc │ │ │ │ ├── unary_negation_arg.expr.formatted.roc │ │ │ │ ├── unary_negation_arg.expr.migrated.roc │ │ │ │ ├── unary_negation_arg.expr.result-ast │ │ │ │ ├── unary_negation_arg.expr.roc │ │ │ │ ├── unary_negation_with_parens.expr.formatted.roc │ │ │ │ ├── unary_negation_with_parens.expr.migrated.roc │ │ │ │ ├── unary_negation_with_parens.expr.result-ast │ │ │ │ ├── unary_negation_with_parens.expr.roc │ │ │ │ ├── unary_not.expr.migrated.roc │ │ │ │ ├── unary_not.expr.result-ast │ │ │ │ ├── unary_not.expr.roc │ │ │ │ ├── unary_not_with_parens.expr.formatted.roc │ │ │ │ ├── unary_not_with_parens.expr.migrated.roc │ │ │ │ ├── unary_not_with_parens.expr.result-ast │ │ │ │ ├── unary_not_with_parens.expr.roc │ │ │ │ ├── underscore_expr_in_def.expr.formatted.roc │ │ │ │ ├── underscore_expr_in_def.expr.migrated.roc │ │ │ │ ├── underscore_expr_in_def.expr.result-ast │ │ │ │ ├── underscore_expr_in_def.expr.roc │ │ │ │ ├── underscore_in_assignment_pattern.expr.formatted.roc │ │ │ │ ├── underscore_in_assignment_pattern.expr.migrated.roc │ │ │ │ ├── underscore_in_assignment_pattern.expr.result-ast │ │ │ │ ├── underscore_in_assignment_pattern.expr.roc │ │ │ │ ├── unicode_overflow_str.expr.formatted.roc │ │ │ │ ├── unicode_overflow_str.expr.migrated.roc │ │ │ │ ├── unicode_overflow_str.expr.result-ast │ │ │ │ ├── unicode_overflow_str.expr.roc │ │ │ │ ├── unindented_if_in_closure.expr.formatted.roc │ │ │ │ ├── unindented_if_in_closure.expr.migrated.roc │ │ │ │ ├── unindented_if_in_closure.expr.result-ast │ │ │ │ ├── unindented_if_in_closure.expr.roc │ │ │ │ ├── value_def_confusion.expr.formatted.roc │ │ │ │ ├── value_def_confusion.expr.migrated.roc │ │ │ │ ├── value_def_confusion.expr.result-ast │ │ │ │ ├── value_def_confusion.expr.roc │ │ │ │ ├── var_else.expr.migrated.roc │ │ │ │ ├── var_else.expr.result-ast │ │ │ │ ├── var_else.expr.roc │ │ │ │ ├── var_if.expr.migrated.roc │ │ │ │ ├── var_if.expr.result-ast │ │ │ │ ├── var_if.expr.roc │ │ │ │ ├── var_is.expr.migrated.roc │ │ │ │ ├── var_is.expr.result-ast │ │ │ │ ├── var_is.expr.roc │ │ │ │ ├── var_minus_two.expr.formatted.roc │ │ │ │ ├── var_minus_two.expr.migrated.roc │ │ │ │ ├── var_minus_two.expr.result-ast │ │ │ │ ├── var_minus_two.expr.roc │ │ │ │ ├── var_then.expr.migrated.roc │ │ │ │ ├── var_then.expr.result-ast │ │ │ │ ├── var_then.expr.roc │ │ │ │ ├── var_when.expr.migrated.roc │ │ │ │ ├── var_when.expr.result-ast │ │ │ │ ├── var_when.expr.roc │ │ │ │ ├── when_branch_comment_after_parens.expr.formatted.roc │ │ │ │ ├── when_branch_comment_after_parens.expr.migrated.roc │ │ │ │ ├── when_branch_comment_after_parens.expr.result-ast │ │ │ │ ├── when_branch_comment_after_parens.expr.roc │ │ │ │ ├── when_comment_after_pattern.expr.formatted.roc │ │ │ │ ├── when_comment_after_pattern.expr.migrated.roc │ │ │ │ ├── when_comment_after_pattern.expr.result-ast │ │ │ │ ├── when_comment_after_pattern.expr.roc │ │ │ │ ├── when_comment_bbefore_if.expr.formatted.roc │ │ │ │ ├── when_comment_bbefore_if.expr.migrated.roc │ │ │ │ ├── when_comment_bbefore_if.expr.result-ast │ │ │ │ ├── when_comment_bbefore_if.expr.roc │ │ │ │ ├── when_if_guard.expr.formatted.roc │ │ │ │ ├── when_if_guard.expr.migrated.roc │ │ │ │ ├── when_if_guard.expr.result-ast │ │ │ │ ├── when_if_guard.expr.roc │ │ │ │ ├── when_in_assignment.expr.formatted.roc │ │ │ │ ├── when_in_assignment.expr.migrated.roc │ │ │ │ ├── when_in_assignment.expr.result-ast │ │ │ │ ├── when_in_assignment.expr.roc │ │ │ │ ├── when_in_binop_in_assign_with_sneaky_newline.expr.formatted.roc │ │ │ │ ├── when_in_binop_in_assign_with_sneaky_newline.expr.migrated.roc │ │ │ │ ├── when_in_binop_in_assign_with_sneaky_newline.expr.result-ast │ │ │ │ ├── when_in_binop_in_assign_with_sneaky_newline.expr.roc │ │ │ │ ├── when_in_binop_in_closure_in_when_guard_wow_fuzzer.expr.formatted.roc │ │ │ │ ├── when_in_binop_in_closure_in_when_guard_wow_fuzzer.expr.migrated.roc │ │ │ │ ├── when_in_binop_in_closure_in_when_guard_wow_fuzzer.expr.result-ast │ │ │ │ ├── when_in_binop_in_closure_in_when_guard_wow_fuzzer.expr.roc │ │ │ │ ├── when_in_binops.expr.formatted.roc │ │ │ │ ├── when_in_binops.expr.migrated.roc │ │ │ │ ├── when_in_binops.expr.result-ast │ │ │ │ ├── when_in_binops.expr.roc │ │ │ │ ├── when_in_closure_in_when_guard_wtf.expr.formatted.roc │ │ │ │ ├── when_in_closure_in_when_guard_wtf.expr.migrated.roc │ │ │ │ ├── when_in_closure_in_when_guard_wtf.expr.result-ast │ │ │ │ ├── when_in_closure_in_when_guard_wtf.expr.roc │ │ │ │ ├── when_in_function.expr.formatted.roc │ │ │ │ ├── when_in_function.expr.migrated.roc │ │ │ │ ├── when_in_function.expr.result-ast │ │ │ │ ├── when_in_function.expr.roc │ │ │ │ ├── when_in_function_python_style_indent.expr.formatted.roc │ │ │ │ ├── when_in_function_python_style_indent.expr.migrated.roc │ │ │ │ ├── when_in_function_python_style_indent.expr.result-ast │ │ │ │ ├── when_in_function_python_style_indent.expr.roc │ │ │ │ ├── when_in_list.expr.formatted.roc │ │ │ │ ├── when_in_list.expr.migrated.roc │ │ │ │ ├── when_in_list.expr.result-ast │ │ │ │ ├── when_in_list.expr.roc │ │ │ │ ├── when_in_parens.expr.formatted.roc │ │ │ │ ├── when_in_parens.expr.migrated.roc │ │ │ │ ├── when_in_parens.expr.result-ast │ │ │ │ ├── when_in_parens.expr.roc │ │ │ │ ├── when_in_parens_indented.expr.formatted.roc │ │ │ │ ├── when_in_parens_indented.expr.migrated.roc │ │ │ │ ├── when_in_parens_indented.expr.result-ast │ │ │ │ ├── when_in_parens_indented.expr.roc │ │ │ │ ├── when_in_when_guard_wtf.expr.formatted.roc │ │ │ │ ├── when_in_when_guard_wtf.expr.migrated.roc │ │ │ │ ├── when_in_when_guard_wtf.expr.result-ast │ │ │ │ ├── when_in_when_guard_wtf.expr.roc │ │ │ │ ├── when_newline_after_condition.expr.formatted.roc │ │ │ │ ├── when_newline_after_condition.expr.migrated.roc │ │ │ │ ├── when_newline_after_condition.expr.result-ast │ │ │ │ ├── when_newline_after_condition.expr.roc │ │ │ │ ├── when_newline_before_is_and_in_branch_parens.expr.formatted.roc │ │ │ │ ├── when_newline_before_is_and_in_branch_parens.expr.migrated.roc │ │ │ │ ├── when_newline_before_is_and_in_branch_parens.expr.result-ast │ │ │ │ ├── when_newline_before_is_and_in_branch_parens.expr.roc │ │ │ │ ├── when_result_list.expr.migrated.roc │ │ │ │ ├── when_result_list.expr.result-ast │ │ │ │ ├── when_result_list.expr.roc │ │ │ │ ├── when_with_alternative_patterns.expr.formatted.roc │ │ │ │ ├── when_with_alternative_patterns.expr.migrated.roc │ │ │ │ ├── when_with_alternative_patterns.expr.result-ast │ │ │ │ ├── when_with_alternative_patterns.expr.roc │ │ │ │ ├── when_with_function_application.expr.formatted.roc │ │ │ │ ├── when_with_function_application.expr.migrated.roc │ │ │ │ ├── when_with_function_application.expr.result-ast │ │ │ │ ├── when_with_function_application.expr.roc │ │ │ │ ├── when_with_negative_numbers.expr.formatted.roc │ │ │ │ ├── when_with_negative_numbers.expr.migrated.roc │ │ │ │ ├── when_with_negative_numbers.expr.result-ast │ │ │ │ ├── when_with_negative_numbers.expr.roc │ │ │ │ ├── when_with_numbers.expr.formatted.roc │ │ │ │ ├── when_with_numbers.expr.migrated.roc │ │ │ │ ├── when_with_numbers.expr.result-ast │ │ │ │ ├── when_with_numbers.expr.roc │ │ │ │ ├── when_with_records.expr.formatted.roc │ │ │ │ ├── when_with_records.expr.migrated.roc │ │ │ │ ├── when_with_records.expr.result-ast │ │ │ │ ├── when_with_records.expr.roc │ │ │ │ ├── when_with_tuple_in_record.expr.formatted.roc │ │ │ │ ├── when_with_tuple_in_record.expr.migrated.roc │ │ │ │ ├── when_with_tuple_in_record.expr.result-ast │ │ │ │ ├── when_with_tuple_in_record.expr.roc │ │ │ │ ├── when_with_tuples.expr.formatted.roc │ │ │ │ ├── when_with_tuples.expr.migrated.roc │ │ │ │ ├── when_with_tuples.expr.result-ast │ │ │ │ ├── when_with_tuples.expr.roc │ │ │ │ ├── where_and_implements_lookalikes.expr.formatted.roc │ │ │ │ ├── where_and_implements_lookalikes.expr.migrated.roc │ │ │ │ ├── where_and_implements_lookalikes.expr.result-ast │ │ │ │ ├── where_and_implements_lookalikes.expr.roc │ │ │ │ ├── where_clause_function.expr.formatted.roc │ │ │ │ ├── where_clause_function.expr.migrated.roc │ │ │ │ ├── where_clause_function.expr.result-ast │ │ │ │ ├── where_clause_function.expr.roc │ │ │ │ ├── where_clause_multiple_bound_abilities.expr.formatted.roc │ │ │ │ ├── where_clause_multiple_bound_abilities.expr.migrated.roc │ │ │ │ ├── where_clause_multiple_bound_abilities.expr.result-ast │ │ │ │ ├── where_clause_multiple_bound_abilities.expr.roc │ │ │ │ ├── where_clause_multiple_has.expr.formatted.roc │ │ │ │ ├── where_clause_multiple_has.expr.migrated.roc │ │ │ │ ├── where_clause_multiple_has.expr.result-ast │ │ │ │ ├── where_clause_multiple_has.expr.roc │ │ │ │ ├── where_clause_multiple_has_across_newlines.expr.formatted.roc │ │ │ │ ├── where_clause_multiple_has_across_newlines.expr.migrated.roc │ │ │ │ ├── where_clause_multiple_has_across_newlines.expr.result-ast │ │ │ │ ├── where_clause_multiple_has_across_newlines.expr.roc │ │ │ │ ├── where_clause_non_function.expr.formatted.roc │ │ │ │ ├── where_clause_non_function.expr.migrated.roc │ │ │ │ ├── where_clause_non_function.expr.result-ast │ │ │ │ ├── where_clause_non_function.expr.roc │ │ │ │ ├── where_clause_on_newline.expr.formatted.roc │ │ │ │ ├── where_clause_on_newline.expr.migrated.roc │ │ │ │ ├── where_clause_on_newline.expr.result-ast │ │ │ │ ├── where_clause_on_newline.expr.roc │ │ │ │ ├── where_ident.expr.formatted.roc │ │ │ │ ├── where_ident.expr.migrated.roc │ │ │ │ ├── where_ident.expr.result-ast │ │ │ │ ├── where_ident.expr.roc │ │ │ │ ├── where_implements_lots_of_newlines.expr.formatted.roc │ │ │ │ ├── where_implements_lots_of_newlines.expr.migrated.roc │ │ │ │ ├── where_implements_lots_of_newlines.expr.result-ast │ │ │ │ ├── where_implements_lots_of_newlines.expr.roc │ │ │ │ ├── where_in_parens.expr.formatted.roc │ │ │ │ ├── where_in_parens.expr.migrated.roc │ │ │ │ ├── where_in_parens.expr.result-ast │ │ │ │ ├── where_in_parens.expr.roc │ │ │ │ ├── where_in_tuple_after_comment.expr.formatted.roc │ │ │ │ ├── where_in_tuple_after_comment.expr.migrated.roc │ │ │ │ ├── where_in_tuple_after_comment.expr.result-ast │ │ │ │ ├── where_in_tuple_after_comment.expr.roc │ │ │ │ ├── where_in_tuple_plain.expr.formatted.roc │ │ │ │ ├── where_in_tuple_plain.expr.migrated.roc │ │ │ │ ├── where_in_tuple_plain.expr.result-ast │ │ │ │ ├── where_in_tuple_plain.expr.roc │ │ │ │ ├── where_newline_p_implements.expr.formatted.roc │ │ │ │ ├── where_newline_p_implements.expr.migrated.roc │ │ │ │ ├── where_newline_p_implements.expr.result-ast │ │ │ │ ├── where_newline_p_implements.expr.roc │ │ │ │ ├── zero_float.expr.migrated.roc │ │ │ │ ├── zero_float.expr.result-ast │ │ │ │ ├── zero_float.expr.roc │ │ │ │ ├── zero_int.expr.migrated.roc │ │ │ │ ├── zero_int.expr.result-ast │ │ │ │ └── zero_int.expr.roc │ │ │ ├── test_fmt.rs │ │ │ └── test_snapshots.rs │ ├── types │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── num.rs │ │ │ ├── pretty_print.rs │ │ │ ├── subs.rs │ │ │ ├── types.rs │ │ │ └── unification_table.rs │ ├── uitest │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── mono.rs │ │ │ └── uitest.rs │ │ └── tests │ │ │ ├── ability │ │ │ ├── bounds │ │ │ │ ├── expand_able_variables_in_type_alias.txt │ │ │ │ ├── multiple_variables_bound_to_an_ability_from_type_def.txt │ │ │ │ └── rigid_able_bounds_are_superset_of_flex_bounds_admitted.txt │ │ │ ├── generalize_inferred_opaque_variable_bound_to_ability_issue_4408.txt │ │ │ ├── impl_ability_for_opaque_with_lambda_sets.txt │ │ │ ├── impl_ability_for_opaque_with_lambda_sets_material.txt │ │ │ ├── smoke │ │ │ │ ├── decoder.txt │ │ │ │ └── encoder.txt │ │ │ └── specialize │ │ │ │ ├── bool_decoder.txt │ │ │ │ ├── bool_eq.txt │ │ │ │ ├── bool_hash.txt │ │ │ │ ├── bool_to_encoder.txt │ │ │ │ ├── dec_hash.txt │ │ │ │ ├── float_eq_forces_dec.txt │ │ │ │ ├── inspect │ │ │ │ ├── bool.txt │ │ │ │ ├── dec.txt │ │ │ │ ├── non_implementing_opaque.txt │ │ │ │ ├── opaque_automatic.txt │ │ │ │ ├── opaque_automatic_late.txt │ │ │ │ ├── opaque_custom_impl.txt │ │ │ │ ├── opaque_derived.txt │ │ │ │ ├── ranged_num.txt │ │ │ │ ├── record.txt │ │ │ │ ├── record_with_nested_custom_impl.txt │ │ │ │ └── u8.txt │ │ │ │ ├── opaque_decoder_derive.txt │ │ │ │ ├── opaque_encoder_derive.txt │ │ │ │ ├── opaque_eq_custom.txt │ │ │ │ ├── opaque_eq_derive.txt │ │ │ │ ├── opaque_hash_custom.txt │ │ │ │ ├── opaque_hash_derive.txt │ │ │ │ ├── polymorphic_lambda_set_specialization.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_bound_output.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_branching_over_single_variable.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_varying_over_multiple_variables.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_varying_over_multiple_variables_two_results.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_with_deep_specialization_and_capture.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_with_let_weakened.txt │ │ │ │ ├── polymorphic_lambda_set_specialization_with_let_weakened_unapplied.txt │ │ │ │ ├── ranged_num_hash.txt │ │ │ │ ├── record_to_encoder.txt │ │ │ │ ├── record_to_encoder_with_nested_custom_impl.txt │ │ │ │ ├── resolve_lambda_set_ability_chain.txt │ │ │ │ ├── resolve_lambda_set_branches_ability_vs_non_ability.txt │ │ │ │ ├── resolve_lambda_set_branches_same_ability.txt │ │ │ │ ├── resolve_lambda_set_generalized_ability_alias.txt │ │ │ │ ├── resolve_lambda_set_weakened_ability_alias.txt │ │ │ │ ├── resolve_mutually_recursive_ability_lambda_sets.txt │ │ │ │ ├── resolve_mutually_recursive_ability_lambda_sets_inferred.txt │ │ │ │ ├── resolve_recursive_ability_lambda_set.txt │ │ │ │ ├── resolve_two_unspecialized_lambda_sets_in_one_lambda_set.txt │ │ │ │ ├── resolve_unspecialized_lambda_set_behind_alias.txt │ │ │ │ ├── resolve_unspecialized_lambda_set_behind_opaque.txt │ │ │ │ ├── set_eq_issue_4761.txt │ │ │ │ └── static_specialization.txt │ │ │ ├── exhaustive │ │ │ ├── catchall_branch_for_pattern_not_last.txt │ │ │ ├── catchall_branch_walk_into_nested_types.txt │ │ │ ├── extend_uninhabited_without_opening_union.txt │ │ │ ├── intermediate_branch_types.txt │ │ │ ├── match_on_result_with_uninhabited_error_branch.txt │ │ │ ├── match_on_result_with_uninhabited_error_destructuring.txt │ │ │ ├── match_on_result_with_uninhabited_error_destructuring_in_lambda_syntax.txt │ │ │ ├── open_union_under_record.txt │ │ │ ├── open_union_under_tuple.txt │ │ │ ├── shared_pattern_variable_in_multiple_branch_when_patterns.txt │ │ │ └── shared_pattern_variable_in_when_patterns.txt │ │ │ ├── instantiate │ │ │ └── call_generic_ability_member.txt │ │ │ ├── lambda_set │ │ │ ├── disjoint_nested_lambdas_result_in_disjoint_parents_issue_4712.txt │ │ │ ├── dispatch_tag_union_function_inferred.txt │ │ │ ├── erased │ │ │ │ └── multi_branch_capturing.txt │ │ │ ├── lambda_set_niche_same_layout_different_constructor.txt │ │ │ ├── lambda_sets_collide_with_captured_function.txt │ │ │ ├── lambda_sets_collide_with_captured_var.txt │ │ │ ├── list_of_lambdas.txt │ │ │ ├── mutually_recursive_captures.txt │ │ │ ├── recursive_closure_issue_3444.txt │ │ │ ├── recursive_closure_with_transiently_used_capture.txt │ │ │ ├── transient_captures.txt │ │ │ └── transient_captures_after_def_ordering.txt │ │ │ ├── oiop │ │ │ ├── README.md │ │ │ └── contextual_openness_for_type_alias.txt │ │ │ ├── pattern │ │ │ ├── as │ │ │ │ ├── does_not_narrow.txt │ │ │ │ ├── list.txt │ │ │ │ └── uses_inferred_type.txt │ │ │ ├── generalize_openness_in_recursive_context_issue_4770.txt │ │ │ └── infer_type_with_underscore_destructure_assignment.txt │ │ │ ├── ranged │ │ │ ├── check_char_as_u16.txt │ │ │ ├── check_char_as_u32.txt │ │ │ ├── check_char_as_u8.txt │ │ │ ├── check_char_pattern_as_u16.txt │ │ │ ├── check_char_pattern_as_u32.txt │ │ │ └── check_char_pattern_as_u8.txt │ │ │ ├── record │ │ │ └── unify_optional_record_fields_in_two_closed_records.txt │ │ │ ├── recursion │ │ │ ├── calls_result_in_unique_specializations.txt │ │ │ ├── choose_correct_recursion_var_under_record.txt │ │ │ ├── constrain_recursive_annotation_independently_issue_5256.txt │ │ │ ├── generalization_among_large_recursive_group.txt │ │ │ ├── issue_3261.txt │ │ │ ├── issue_4246_admit_recursion_between_opaque_functions.txt │ │ │ ├── self_recursive_function_not_syntactically_a_function.txt │ │ │ └── self_recursive_function_not_syntactically_a_function_nested.txt │ │ │ ├── recursive_type │ │ │ ├── fix_recursion_under_alias_issue_4368.txt │ │ │ ├── freshly_instantiated_recursion_var_under_alias.txt │ │ │ ├── freshly_instantiated_recursion_var_under_opaque.txt │ │ │ ├── generalize_introduced_recursion_variable_issue_4770.txt │ │ │ ├── inferred_fixed_fixpoints.txt │ │ │ ├── issue_5476.txt │ │ │ ├── multiple_nested_recursive_lambda_sets.txt │ │ │ ├── solve_inference_var_in_annotation_requiring_recursion_fix.txt │ │ │ └── unify_types_with_fixed_fixpoints_outside_fixing_region.txt │ │ │ ├── solve │ │ │ ├── ability_checked_specialization_with_annotation_only.txt │ │ │ ├── ability_checked_specialization_with_typed_body.txt │ │ │ ├── ability_constrained_in_non_member_check.txt │ │ │ ├── ability_constrained_in_non_member_infer.txt │ │ │ ├── ability_constrained_in_non_member_infer_usage.txt │ │ │ ├── ability_constrained_in_non_member_multiple_specializations.txt │ │ │ ├── ability_specialization_called.txt │ │ │ ├── alias_ability_member.txt │ │ │ ├── alias_in_opaque.txt │ │ │ ├── alias_propagates_able_var.txt │ │ │ ├── check_phantom_type.txt │ │ │ ├── constrain_dbg_flex_var.txt │ │ │ ├── copy_vars_referencing_copied_vars.txt │ │ │ ├── exposed_ability_name.txt │ │ │ ├── function_alias_in_signature.txt │ │ │ ├── generalize_and_specialize_recursion_var.txt │ │ │ ├── generalized_accessor_function_applied.txt │ │ │ ├── infer_concrete_type_with_inference_var.txt │ │ │ ├── infer_contextual_crash.txt │ │ │ ├── infer_phantom_type_flow.txt │ │ │ ├── infer_unbound_phantom_type_star.txt │ │ │ ├── infer_variables_in_destructure_def_signature.txt │ │ │ ├── infer_variables_in_value_def_signature.txt │ │ │ ├── issue_2458.txt │ │ │ ├── issue_2458_swapped_order.txt │ │ │ ├── issue_2583_specialize_errors_behind_unified_branches.txt │ │ │ ├── lambda_set_within_alias_is_quantified.txt │ │ │ ├── lots_of_type_variables.txt │ │ │ ├── multiple_abilities_multiple_members_specializations.txt │ │ │ ├── mutual_recursion_with_inference_var.txt │ │ │ ├── nested_open_tag_union.txt │ │ │ ├── opaque_and_alias_unify.txt │ │ │ ├── opaque_unwrap_check.txt │ │ │ ├── opaque_unwrap_infer.txt │ │ │ ├── opaque_unwrap_polymorphic_check.txt │ │ │ ├── opaque_unwrap_polymorphic_from_multiple_branches_check.txt │ │ │ ├── opaque_unwrap_polymorphic_from_multiple_branches_infer.txt │ │ │ ├── opaque_unwrap_polymorphic_infer.txt │ │ │ ├── opaque_unwrap_polymorphic_specialized_check.txt │ │ │ ├── opaque_unwrap_polymorphic_specialized_infer.txt │ │ │ ├── opaque_wrap_check.txt │ │ │ ├── opaque_wrap_function.txt │ │ │ ├── opaque_wrap_function_with_inferred_arg.txt │ │ │ ├── opaque_wrap_infer.txt │ │ │ ├── opaque_wrap_polymorphic_check.txt │ │ │ ├── opaque_wrap_polymorphic_from_multiple_branches_check.txt │ │ │ ├── opaque_wrap_polymorphic_from_multiple_branches_infer.txt │ │ │ ├── opaque_wrap_polymorphic_infer.txt │ │ │ ├── record_extension_variable_is_alias.txt │ │ │ ├── rosetree_with_result_is_legal_recursive_type.txt │ │ │ ├── self_recursion_with_inference_var.txt │ │ │ ├── single_ability_multiple_members_specializations.txt │ │ │ ├── single_ability_single_member_specializations.txt │ │ │ ├── stdlib_encode_something.txt │ │ │ ├── tag_extension_variable_is_alias.txt │ │ │ ├── tag_inclusion_behind_opaque.txt │ │ │ ├── tag_inclusion_behind_opaque_infer.txt │ │ │ ├── tag_inclusion_behind_opaque_infer_single_ctor.txt │ │ │ ├── task_wildcard_wildcard.txt │ │ │ ├── to_float.txt │ │ │ ├── to_int.txt │ │ │ ├── tuple_annotation.txt │ │ │ ├── when_branch_and_body_flipflop.txt │ │ │ ├── wrap_recursive_opaque_negative_position.txt │ │ │ └── wrap_recursive_opaque_positive_position.txt │ │ │ ├── specialize │ │ │ └── record_update_between_modules.txt │ │ │ └── weaken │ │ │ ├── rank_no_overgeneralization.txt │ │ │ ├── weakened_list.txt │ │ │ └── when_branch_variables_not_generalized.txt │ ├── unify │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── env.rs │ │ │ ├── fix.rs │ │ │ ├── lib.rs │ │ │ └── unify.rs │ ├── work │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ └── work.rs │ └── worker │ │ ├── Cargo.toml │ │ └── src │ │ ├── lib.rs │ │ └── worker.rs ├── copy_zig_glue │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ └── main.rs ├── docs │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ └── static │ │ ├── index.html │ │ ├── link.svg │ │ ├── llms.txt │ │ ├── search.js │ │ └── styles.css ├── docs_cli │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── error_macros │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── fs │ ├── Cargo.toml │ └── src │ │ ├── file.rs │ │ ├── lib.rs │ │ └── native_path.rs ├── glue │ ├── Cargo.toml │ ├── README.md │ ├── platform │ │ ├── File.roc │ │ ├── Shape.roc │ │ ├── Target.roc │ │ ├── TypeId.roc │ │ ├── Types.roc │ │ └── main.roc │ ├── src │ │ ├── CGlue.roc │ │ ├── DescribeGlue.roc │ │ ├── RustGlue.roc │ │ ├── ZigGlue.roc │ │ ├── enums.rs │ │ ├── glue.rs │ │ ├── lib.rs │ │ ├── load.rs │ │ ├── roc_type │ │ │ └── mod.rs │ │ ├── structs.rs │ │ └── types.rs │ ├── static │ │ └── Cargo.toml │ ├── templates │ │ └── header.rs │ ├── tests │ │ ├── fixture-templates │ │ │ └── rust │ │ │ │ ├── Cargo.toml │ │ │ │ ├── build.rs │ │ │ │ ├── host.c │ │ │ │ └── src │ │ │ │ └── main.rs │ │ ├── fixtures │ │ │ ├── .gitignore │ │ │ ├── c │ │ │ │ └── hello-world │ │ │ │ │ ├── app.roc │ │ │ │ │ ├── host.c │ │ │ │ │ └── platform.roc │ │ │ └── rust │ │ │ │ ├── advanced-recursive-union │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── arguments │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── basic-record │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── basic-recursive-union │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── closures │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── enumeration │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── list-recursive-union │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── multiple-modules │ │ │ │ ├── Dep1.roc │ │ │ │ ├── Dep2.roc │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── nested-record │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── nonnullable-unwrapped │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── nullable-unwrapped │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── nullable-wrapped │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── option │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── rocresult │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── single-tag-union │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ ├── union-with-padding │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ │ └── lib.rs │ │ │ │ └── union-without-padding │ │ │ │ ├── app.roc │ │ │ │ ├── platform.roc │ │ │ │ └── src │ │ │ │ └── lib.rs │ │ ├── helpers │ │ │ └── mod.rs │ │ └── test_glue_cli.rs │ └── writing_a_glue_plugin.md ├── highlight │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── language_server │ ├── Cargo.toml │ ├── README.md │ ├── TODO.md │ ├── debug_server.sh │ └── src │ │ ├── analysis.rs │ │ ├── analysis │ │ ├── analysed_doc.rs │ │ ├── annotation_visitor.rs │ │ ├── completion.rs │ │ ├── completion │ │ │ ├── formatting.rs │ │ │ └── visitor.rs │ │ ├── parse_ast.rs │ │ ├── parse_ast │ │ │ └── format.rs │ │ ├── semantic_tokens.rs │ │ ├── tokens.rs │ │ └── utils.rs │ │ ├── convert.rs │ │ ├── registry.rs │ │ └── server.rs ├── limits │ ├── Cargo.toml │ └── src │ │ └── limits.rs ├── linker │ ├── Cargo.toml │ ├── README.md │ ├── dynhost_benchmarks_elf64 │ ├── dynhost_benchmarks_windows.exe │ └── src │ │ ├── elf.rs │ │ ├── generate_dylib │ │ ├── elf64.rs │ │ ├── macho.rs │ │ ├── mod.rs │ │ └── pe.rs │ │ ├── lib.rs │ │ ├── macho.rs │ │ ├── pe.rs │ │ └── util.rs ├── packaging │ ├── Cargo.toml │ └── src │ │ ├── cache.rs │ │ ├── https.rs │ │ ├── lib.rs │ │ └── tarball.rs ├── repl_cli │ ├── Cargo.toml │ └── src │ │ ├── cli_gen.rs │ │ └── lib.rs ├── repl_eval │ ├── Cargo.toml │ └── src │ │ ├── eval.rs │ │ ├── gen.rs │ │ └── lib.rs ├── repl_expect │ ├── Cargo.toml │ └── src │ │ ├── app.rs │ │ ├── lib.rs │ │ └── run.rs ├── repl_test │ ├── Cargo.toml │ ├── src │ │ ├── cli.rs │ │ ├── lib.rs │ │ ├── state.rs │ │ ├── tests.rs │ │ └── wasm.rs │ └── test_wasm.sh ├── repl_ui │ ├── Cargo.toml │ └── src │ │ ├── colors.rs │ │ ├── lib.rs │ │ └── repl_state.rs ├── repl_wasm │ ├── Cargo.toml │ ├── README.md │ ├── architecture.png │ ├── build-www.sh │ ├── build.rs │ ├── screenshot.png │ └── src │ │ ├── externs_js.rs │ │ ├── externs_test.rs │ │ ├── lib.rs │ │ ├── repl.rs │ │ └── repl_platform.c ├── reporting │ ├── Cargo.toml │ └── src │ │ ├── cli.rs │ │ ├── error │ │ ├── canonicalize.rs │ │ ├── expect.rs │ │ ├── mod.rs │ │ ├── parse.rs │ │ └── type.rs │ │ ├── lib.rs │ │ └── report.rs ├── roc_compiler_stages.svg ├── roc_std │ ├── Cargo.toml │ ├── src │ │ ├── lib.rs │ │ ├── roc_box.rs │ │ ├── roc_list.rs │ │ ├── roc_str.rs │ │ └── storage.rs │ └── tests │ │ └── test_roc_std.rs ├── roc_std_heap │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── soa │ ├── Cargo.toml │ └── src │ │ ├── either_index.rs │ │ ├── lib.rs │ │ ├── soa_index.rs │ │ ├── soa_slice.rs │ │ ├── soa_slice2.rs │ │ └── soa_slice3.rs ├── test_compile │ ├── Cargo.toml │ └── src │ │ ├── deindent.rs │ │ ├── help_can.rs │ │ ├── help_constrain.rs │ │ ├── help_parse.rs │ │ ├── help_solve.rs │ │ ├── help_specialize.rs │ │ └── lib.rs ├── test_utils │ ├── Cargo.toml │ └── src │ │ ├── TagLenEncoderFmt.roc │ │ └── lib.rs ├── test_utils_dir │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── tracing │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── utils │ ├── command │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ └── error │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── valgrind_tests │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── zig-platform │ │ ├── host.zig │ │ └── main.roc ├── vendor │ ├── README.md │ ├── morphic_lib │ │ ├── Cargo.toml │ │ ├── LICENSE-APACHE │ │ ├── LICENSE-MIT │ │ ├── src │ │ │ ├── analyze.rs │ │ │ ├── api.rs │ │ │ ├── bindings.rs │ │ │ ├── ir.rs │ │ │ ├── lib.rs │ │ │ ├── name_cache.rs │ │ │ ├── preprocess.rs │ │ │ ├── render_api_ir.rs │ │ │ ├── type_cache.rs │ │ │ └── util │ │ │ │ ├── blocks.rs │ │ │ │ ├── bytes_id.rs │ │ │ │ ├── flat_slices.rs │ │ │ │ ├── forward_trait.rs │ │ │ │ ├── get2_mut.rs │ │ │ │ ├── id_bi_map.rs │ │ │ │ ├── id_type.rs │ │ │ │ ├── id_vec.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── norm_pair.rs │ │ │ │ ├── op_graph.rs │ │ │ │ ├── replace_none.rs │ │ │ │ └── strongly_connected.rs │ │ └── tests │ │ │ ├── basic.rs │ │ │ ├── recursive.rs │ │ │ └── structures.rs │ ├── pathfinding │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ └── pretty │ │ ├── Cargo.toml │ │ ├── LICENSE │ │ ├── README.md │ │ └── src │ │ ├── lib.rs │ │ └── render.rs ├── wasi-libc-sys │ ├── Cargo.toml │ ├── build.rs │ └── src │ │ ├── dummy.c │ │ └── lib.rs ├── wasm_interp │ ├── Cargo.toml │ └── src │ │ ├── frame.rs │ │ ├── instance.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── tests │ │ ├── mod.rs │ │ ├── test_basics.rs │ │ ├── test_convert.rs │ │ ├── test_f32.rs │ │ ├── test_f64.rs │ │ ├── test_i32.rs │ │ ├── test_i64.rs │ │ └── test_mem.rs │ │ ├── value_store.rs │ │ └── wasi.rs └── wasm_module │ ├── Cargo.toml │ └── src │ ├── lib.rs │ ├── linking.rs │ ├── opcodes.rs │ ├── parse.rs │ ├── sections.rs │ └── serialize.rs ├── default.nix ├── design ├── editor │ ├── design.md │ ├── editor-ideas.md │ ├── goals.md │ ├── plugins │ │ ├── api.md │ │ ├── inspiration.md │ │ ├── plugin_use_cases.md │ │ ├── security.md │ │ └── ui_research.md │ └── requirements.md └── language │ ├── Abilities.md │ └── RocStr.md ├── devtools ├── README.md ├── debug_tips.md ├── flake.lock ├── flake.nix ├── signing.md └── smart_diff_utrace.html ├── docker ├── README.md ├── devcontainer │ └── Dockerfile ├── nightly-debian-bookworm │ ├── Dockerfile │ └── docker-compose.example.yml ├── nightly-debian-latest │ ├── Dockerfile │ └── docker-compose.example.yml ├── nightly-ubuntu-2004 │ ├── Dockerfile │ └── docker-compose.example.yml ├── nightly-ubuntu-2204 │ ├── Dockerfile │ └── docker-compose.example.yml └── nightly-ubuntu-latest │ ├── Dockerfile │ └── docker-compose.example.yml ├── examples └── README.md ├── flake.lock ├── flake.nix ├── legal_details ├── mlc_config.json ├── nightly_benches ├── Cargo.toml ├── README.me ├── benches │ └── events_bench.rs ├── rust-toolchain.toml └── src │ └── main.rs ├── nix ├── buildRocPackage.nix ├── builder.nix ├── compile-deps.nix ├── default.nix ├── fileFilter.nix ├── simple-http-server.nix └── templates │ ├── default.nix │ └── simple │ └── flake.nix ├── rust-toolchain.toml ├── shell.nix ├── src ├── NOTES.md ├── README.fuzzing.md ├── README.md ├── README.profiling.md ├── base.zig ├── base │ ├── DiagnosticPosition.zig │ ├── Ident.zig │ ├── ModuleEnv.zig │ ├── ModuleImport.zig │ ├── Package.zig │ ├── Region.zig │ ├── StringLiteral.zig │ ├── module_work.zig │ └── sexpr.zig ├── build │ ├── lift_functions.zig │ ├── lift_functions │ │ └── IR.zig │ ├── lower_statements.zig │ ├── lower_statements │ │ └── IR.zig │ ├── reference_count.zig │ ├── reference_count │ │ └── IR.zig │ ├── solve_functions.zig │ ├── specialize_functions.zig │ ├── specialize_functions │ │ └── IR.zig │ ├── specialize_types.zig │ └── specialize_types │ │ └── IR.zig ├── builtins │ ├── dec.zig │ ├── fuzz_sort.zig │ ├── hash.zig │ ├── list.zig │ ├── main.zig │ ├── num.zig │ ├── panic.zig │ ├── sort.zig │ ├── str.zig │ └── utils.zig ├── cache.zig ├── check │ ├── canonicalize.zig │ ├── canonicalize │ │ ├── Alias.zig │ │ ├── IR.zig │ │ └── Scope.zig │ ├── check_types.zig │ ├── check_types │ │ └── unify.zig │ ├── parse.zig │ ├── parse │ │ ├── IR.zig │ │ ├── Parser.zig │ │ └── tokenize.zig │ ├── resolve_imports.zig │ └── resolve_imports │ │ └── IR.zig ├── cli.zig ├── collections.zig ├── collections │ ├── SmallStringInterner.zig │ ├── safe_list.zig │ └── utils.zig ├── coordinate.zig ├── coordinate │ ├── Filesystem.zig │ ├── ModuleGraph.zig │ └── utils.zig ├── example-flamegraph.png ├── example-samply.png ├── example-tracy.png ├── fmt.zig ├── fuzz-parse.zig ├── fuzz-repro.zig ├── fuzz-tokenize.zig ├── host_abi.zig ├── main.zig ├── problem.zig ├── snapshot.zig ├── snapshots │ ├── 001.txt │ ├── add_var_with_spaces.txt │ ├── app_header__nonempty_multiline.txt │ ├── app_header__nonempty_multiline__commented.txt │ ├── app_header__nonempty_multiline__trailing_comma.txt │ ├── app_header__platform_not_first.txt │ ├── app_header_nonempty_singleline.txt │ ├── app_header_provides_singleline_packages_multiline_1.txt │ ├── app_header_provides_singleline_packages_multiline_2.txt │ ├── app_header_provides_singleline_packages_multiline_4.txt │ ├── app_header_provides_singleline_packages_multiline_5.txt │ ├── app_header_provides_singleline_packages_multiline_7.txt │ ├── app_header_provides_singleline_packages_multiline_8.txt │ ├── binop_omnibus__single__no_spaces.txt │ ├── binop_omnibus__singleline.txt │ ├── expr_if_missing_else.txt │ ├── expr_no_space_dot_int.txt │ ├── fuzz_crash │ │ ├── fuzz_crash_001.txt │ │ ├── fuzz_crash_002.txt │ │ ├── fuzz_crash_003.txt │ │ ├── fuzz_crash_004.txt │ │ ├── fuzz_crash_005.txt │ │ ├── fuzz_crash_006.txt │ │ ├── fuzz_crash_007.txt │ │ ├── fuzz_crash_008.txt │ │ ├── fuzz_crash_009.txt │ │ ├── fuzz_crash_010.txt │ │ ├── fuzz_crash_011.txt │ │ ├── fuzz_crash_012.txt │ │ ├── fuzz_crash_013.txt │ │ ├── fuzz_crash_014.txt │ │ ├── fuzz_crash_015.txt │ │ ├── fuzz_crash_016.txt │ │ ├── fuzz_crash_017.txt │ │ ├── fuzz_crash_018.txt │ │ └── fuzz_hang_001.txt │ ├── header_expected_open_bracket.txt │ ├── hello_world.txt │ ├── hello_world_with_block.txt │ ├── if_then_else.txt │ ├── if_then_else_1.txt │ ├── if_then_else_11.txt │ ├── if_then_else_13.txt │ ├── if_then_else_15.txt │ ├── if_then_else_3.txt │ ├── if_then_else_5.txt │ ├── if_then_else_7.txt │ ├── if_then_else_9.txt │ ├── local_dispatch_multiline_formatting_1.txt │ ├── local_dispatch_multiline_formatting_4.txt │ ├── module_empty.txt │ ├── module_multiline_with_comments.txt │ ├── module_nonempty_single.txt │ ├── module_singleline_fmts_to_multiline.txt │ ├── multiline_binop_1.txt │ ├── multiline_list_formatting_11.txt │ ├── multiline_list_formatting_14.txt │ ├── multiline_list_formatting_2.txt │ ├── multiline_list_formatting_5.txt │ ├── multiline_list_formatting_7.txt │ ├── package_empty.txt │ ├── package_header_nonempty_multiline_1.txt │ ├── package_header_nonempty_multiline_3.txt │ ├── package_header_nonempty_multiline_4.txt │ ├── package_header_nonempty_multiline_6.txt │ ├── package_header_nonempty_singleline_1.txt │ ├── platform_header_empty_1.txt │ ├── platform_header_empty_4.txt │ ├── platform_header_empty_5.txt │ ├── platform_header_nonempty_1.txt │ ├── primitive │ │ ├── expr_float.txt │ │ ├── expr_int.txt │ │ ├── expr_string.txt │ │ ├── expr_tag.txt │ │ ├── stmt_import.txt │ │ └── stmt_type_decl.txt │ ├── record_access_multiline_formatting_1.txt │ ├── record_access_multiline_formatting_4.txt │ ├── simple_module_no_blanks.txt │ ├── some_folder │ │ └── 002.txt │ ├── static_dispatch_super_test.txt │ ├── string.txt │ ├── string_multiline_formatting_(due_to_templating_not_multiline_string_literal)_1.txt │ ├── string_multiline_formatting_(due_to_templating_not_multiline_string_literal)_3.txt │ ├── syntax_grab_bag.txt │ ├── type_annotations.txt │ ├── type_declarations.txt │ ├── where_clauses_1.txt │ ├── where_clauses_10.txt │ ├── where_clauses_4.txt │ └── where_clauses_7.txt ├── test.zig ├── tracy-shutdown.cpp ├── tracy.zig ├── types.zig ├── types │ ├── store.zig │ └── types.zig ├── zig_llvm.cpp └── zig_llvm.h ├── typos.toml ├── version.txt └── www ├── InteractiveExample.roc ├── README.md ├── build-dev-local.sh ├── build.sh ├── content ├── abilities.md ├── bdfn.md ├── community.md ├── different-names.md ├── docs.md ├── donate.md ├── faq.md ├── fast.md ├── friendly.md ├── functional.md ├── index.md ├── install │ ├── getting_started.md │ ├── index.md │ ├── linux_arm64.md │ ├── linux_x86_64.md │ ├── macos_apple_silicon.md │ ├── macos_x86_64.md │ ├── nix.md │ ├── other.md │ └── windows.md ├── plans.md ├── platforms.md ├── repl │ └── index.md └── tutorial.md ├── main.roc ├── netlify.sh ├── netlify.toml ├── optimize.sh ├── public ├── _redirects ├── favicon.svg ├── license │ └── index.html ├── site.css ├── site.js └── zulip-icon-circle.svg └── scripts ├── add-github-link-to-examples.sh └── add-link.pl /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: roc-lang 4 | -------------------------------------------------------------------------------- /.llvmenv: -------------------------------------------------------------------------------- 1 | 18.0.0 2 | -------------------------------------------------------------------------------- /ci/earthly-conf.yml: -------------------------------------------------------------------------------- 1 | global: 2 | cache_size_mb: 25000 -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/expects_transitive/main.roc: -------------------------------------------------------------------------------- 1 | package [ 2 | Direct, 3 | ] {} 4 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/false-interpreter/examples/in.txt: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/fixtures/packages/csv/main.roc: -------------------------------------------------------------------------------- 1 | package [Csv] {} 2 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/fixtures/packages/json/main.roc: -------------------------------------------------------------------------------- 1 | package [JsonParser] {} 2 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/fixtures/transitive-deps/two/Two.roc: -------------------------------------------------------------------------------- 1 | module [example] 2 | 3 | example = "From two" 4 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/fixtures/transitive-deps/two/main.roc: -------------------------------------------------------------------------------- 1 | package [Two] {} 2 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/known_bad/ExposedNotDefined.roc: -------------------------------------------------------------------------------- 1 | module [bar] 2 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/module_imports_pkg/pkg/Foo.roc: -------------------------------------------------------------------------------- 1 | module [foo] 2 | 3 | foo = "Foo" 4 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/module_imports_pkg/pkg/main.roc: -------------------------------------------------------------------------------- 1 | package [Foo] {} 2 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/module_params/Alias.roc: -------------------------------------------------------------------------------- 1 | module { passed } -> [exposed] 2 | 3 | exposed = passed 4 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/module_params/NoParams.roc: -------------------------------------------------------------------------------- 1 | module [hello] 2 | 3 | hello = "hello!" 4 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/platform_requires_pkg/foo/Foo.roc: -------------------------------------------------------------------------------- 1 | module [foo] 2 | 3 | foo = "from package" 4 | -------------------------------------------------------------------------------- /crates/cli/tests/test-projects/platform_requires_pkg/foo/main.roc: -------------------------------------------------------------------------------- 1 | package [Foo] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/builtins/bitcode/.gitignore: -------------------------------------------------------------------------------- 1 | .fuzz_data 2 | -------------------------------------------------------------------------------- /crates/compiler/builtins/bitcode/bc/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /crates/compiler/lower_params/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod lower; 2 | pub mod type_error; 3 | -------------------------------------------------------------------------------- /crates/compiler/solve_schema/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod unify; 2 | 3 | pub use unify::UnificationMode; 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod minimize; 2 | pub mod test_helpers; 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/alias_or_opaque_fail.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(InParens(End(@3), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/alias_or_opaque_fail.expr.roc: -------------------------------------------------------------------------------- 1 | (@,B 2 | .e: -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/all_the_bangs.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(IndentStart(@8), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/all_the_bangs.expr.roc: -------------------------------------------------------------------------------- 1 | p 2 | ! 3 | .p!! 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/bound_variable.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | a : 2 | c 3 | 0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/bound_variable.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadExprEnd(@4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/bound_variable.expr.roc: -------------------------------------------------------------------------------- 1 | a: 2 | c 0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/comment_with_tab.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Space(HasTab, @17), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/comment_with_tab.expr.roc: -------------------------------------------------------------------------------- 1 | # comment with a 2 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/d_assign_return_bang.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Start(@0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/d_assign_return_bang.expr.roc: -------------------------------------------------------------------------------- 1 | D=return!- 2 | e 3 | z# 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/dbg_bang_neg_bang_if_bang.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Start(@6), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/dbg_bang_neg_bang_if_bang.expr.roc: -------------------------------------------------------------------------------- 1 | dbg!-!if! -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/def_missing_final_expression.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(IndentEnd(@11), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/def_missing_final_expression.expr.roc: -------------------------------------------------------------------------------- 1 | f : Foo.foo 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/def_without_newline.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | a : b 2 | i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/def_without_newline.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadExprEnd(@3), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/def_without_newline.expr.roc: -------------------------------------------------------------------------------- 1 | a:b i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/deprecated_interpolated_string.expr.roc: -------------------------------------------------------------------------------- 1 | "\(e)" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/double_plus.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadOperator("++", @14), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/double_plus.expr.roc: -------------------------------------------------------------------------------- 1 | main = 2 | [] ++ [] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/elm_function_syntax.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(ElmStyleFunction(@2-5, @6), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/elm_function_syntax.expr.roc: -------------------------------------------------------------------------------- 1 | f x y = x 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/empty_record_assign_expect_bang.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Start(@0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/empty_record_assign_expect_bang.expr.roc: -------------------------------------------------------------------------------- 1 | {}=expect!w 2 | 0 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/empty_record_assignment_d_when_bang.expr.roc: -------------------------------------------------------------------------------- 1 | { 2 | }=d when! 3 | s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/empty_return.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Return(IndentReturnValue(@6), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/empty_return.expr.roc: -------------------------------------------------------------------------------- 1 | return 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/exposed_type_bang.header.result-ast: -------------------------------------------------------------------------------- 1 | Header(Exposes(ListEnd(@12), @7)) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/exposed_type_bang.header.roc: -------------------------------------------------------------------------------- 1 | module [Type!] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/expr_to_pattern_fail.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadExprEnd(@2), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/expr_to_pattern_fail.expr.roc: -------------------------------------------------------------------------------- 1 | .e, -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/if_missing_else.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(If(Else(@17), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/if_missing_else.expr.roc: -------------------------------------------------------------------------------- 1 | if 5 == 5 then 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/if_outdented_then.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(If(IndentThenToken(@17), @8), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/ifbang_eqeq.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(If(Condition(Start(@2), @2), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/ifbang_eqeq.expr.roc: -------------------------------------------------------------------------------- 1 | if!==9 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/import_with_lowercase_alias.moduledefs.roc: -------------------------------------------------------------------------------- 1 | import Json as json 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/imports_missing_comma.header.result-ast: -------------------------------------------------------------------------------- 1 | Header(Exposes(ListEnd(@11), @4)) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/inline_hastype.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadOperator(":", @21), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/inline_hastype.expr.roc: -------------------------------------------------------------------------------- 1 | main = 2 | (\x -> x) : I64 3 | 4 | 3 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/invalid_operator.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadOperator("**", @13), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/invalid_operator.expr.roc: -------------------------------------------------------------------------------- 1 | main = 2 | 5 ** 3 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_double_comma.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Closure(Arg(@3), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_double_comma.expr.roc: -------------------------------------------------------------------------------- 1 | \a,,b -> 1 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_extra_comma.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Closure(Arg(@1), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_extra_comma.expr.roc: -------------------------------------------------------------------------------- 1 | \,x -> 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_leading_comma.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Closure(Arg(@1), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_leading_comma.expr.roc: -------------------------------------------------------------------------------- 1 | \,b -> 1 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_missing_indent.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Closure(IndentBody(@5), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/lambda_missing_indent.expr.roc: -------------------------------------------------------------------------------- 1 | \x -> 2 | 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/list_double_comma.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(List(End(@7), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/list_double_comma.expr.roc: -------------------------------------------------------------------------------- 1 | [1, 2, , 3] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/list_pattern_not_terminated.expr.roc: -------------------------------------------------------------------------------- 1 | when [] is 2 | [1, 2, -> "" 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/list_without_end.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(List(End(@7), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/list_without_end.expr.roc: -------------------------------------------------------------------------------- 1 | [1, 2, 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/m_at_s_minus_s_implements.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | M @S -S implements -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/m_at_s_minus_s_implements.expr.roc: -------------------------------------------------------------------------------- 1 | M@S -S implements 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/module_with_unfinished_params.header.roc: -------------------------------------------------------------------------------- 1 | module { echo, name -> [menu] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/multi_no_end.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Str(EndlessMultiLine(@3), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/multi_no_end.expr.roc: -------------------------------------------------------------------------------- 1 | """there is no end -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/newline_before_operator_with_defs.expr.roc: -------------------------------------------------------------------------------- 1 | 7 2 | ==(Q:c 42) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/oom_repro.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TIndentEnd(@397), @2), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/opaque_type_def_with_newline.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | a : e 2 | Na := e 3 | e0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/opaque_type_def_with_newline.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadExprEnd(@11), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/opaque_type_def_with_newline.expr.roc: -------------------------------------------------------------------------------- 1 | a:e 2 | Na:= 3 | e e0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/pattern_binds_keyword.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(When(Arrow(@24), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/pattern_in_parens_end.expr.roc: -------------------------------------------------------------------------------- 1 | \( a 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/pattern_in_parens_end_comma.expr.roc: -------------------------------------------------------------------------------- 1 | \( a, 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/pattern_in_parens_indent_open.expr.roc: -------------------------------------------------------------------------------- 1 | \( 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/pattern_in_parens_open.expr.roc: -------------------------------------------------------------------------------- 1 | \( a 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_end.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TRecord(End(@14), @4), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_end.expr.roc: -------------------------------------------------------------------------------- 1 | f : { a: Int, 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_keyword_field_name.expr.roc: -------------------------------------------------------------------------------- 1 | f : { if : I64 } 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_missing_comma.expr.roc: -------------------------------------------------------------------------------- 1 | f : { foo bar } 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_open.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TRecord(End(@6), @4), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_open.expr.roc: -------------------------------------------------------------------------------- 1 | f : { 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_open_indent.expr.roc: -------------------------------------------------------------------------------- 1 | f : { 2 | foo : I64, 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/record_type_tab.expr.roc: -------------------------------------------------------------------------------- 1 | f : { foo } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/return_as_single_line_expr.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Start(@0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/return_as_single_line_expr.expr.roc: -------------------------------------------------------------------------------- 1 | x = return 5 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/return_in_pat.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadOperator("=", @13), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/return_in_pat.expr.roc: -------------------------------------------------------------------------------- 1 | ( 2 | return e 3 | t)=t 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/single_no_end.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Str(EndlessSingleLine(@1), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/single_no_end.expr.roc: -------------------------------------------------------------------------------- 1 | "there is no end -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/str_over_large_unicode_escape.expr.roc: -------------------------------------------------------------------------------- 1 | '\u(FFFFFFFFF)' 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/sub_minus_o_apply_minus_crash_bang.expr.roc: -------------------------------------------------------------------------------- 1 | h- 2 | -o -crash! 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tab_crash.header.result-ast: -------------------------------------------------------------------------------- 1 | Header(Space(HasMisplacedCarriageReturn, @1)) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tab_crash.header.roc: -------------------------------------------------------------------------------- 1 | # A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tag_union_end.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TTagUnion(End(@10), @4), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tag_union_end.expr.roc: -------------------------------------------------------------------------------- 1 | f : [Yes, 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tag_union_lowercase_tag_name.expr.roc: -------------------------------------------------------------------------------- 1 | f : [lowercase] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tag_union_open.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TTagUnion(End(@6), @4), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tag_union_open.expr.roc: -------------------------------------------------------------------------------- 1 | f : [ 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/tag_union_second_lowercase_tag_name.expr.roc: -------------------------------------------------------------------------------- 1 | f : [Good, bad] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/trailing_operator.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(TrailingOperator(@2), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/trailing_operator.expr.roc: -------------------------------------------------------------------------------- 1 | J- -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/triple_quote_newline_after_dollar.expr.roc: -------------------------------------------------------------------------------- 1 | """$ 2 | ( -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_annotation_double_colon.expr.roc: -------------------------------------------------------------------------------- 1 | f :: I64 2 | f = 42 3 | 4 | f 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_apply_stray_dot.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TStart(@4), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_apply_stray_dot.expr.roc: -------------------------------------------------------------------------------- 1 | f : . 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_argument_no_arrow.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TIndentEnd(@12), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_argument_no_arrow.expr.roc: -------------------------------------------------------------------------------- 1 | f : I64, I64 2 | f = 0 3 | 4 | f 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_double_comma.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TFunctionArgument(@8), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_double_comma.expr.roc: -------------------------------------------------------------------------------- 1 | f : I64,,I64 -> I64 2 | f = 0 3 | 4 | f 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_in_parens_end.expr.roc: -------------------------------------------------------------------------------- 1 | f : ( I64 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_in_parens_start.expr.roc: -------------------------------------------------------------------------------- 1 | f : ( 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_inline_alias.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Type(TAsIndentStart(@10), @4), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/type_inline_alias.expr.roc: -------------------------------------------------------------------------------- 1 | f : I64 as 2 | f = 0 3 | 4 | f 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/underscore_name_type_annotation.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Start(@0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/underscore_name_type_annotation.expr.roc: -------------------------------------------------------------------------------- 1 | A 2 | :_h -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/unfinished_closure_pattern_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | x = \( a 2 | ) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/unfinished_import_as_or_exposing.moduledefs.roc: -------------------------------------------------------------------------------- 1 | import svg.Path a 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/unicode_not_hex.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Str(CodePtEnd(@7), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/unicode_not_hex.expr.roc: -------------------------------------------------------------------------------- 1 | "abc\u(zzzz)def" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/weird_escape.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(Str(UnknownEscape(@4), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/weird_escape.expr.roc: -------------------------------------------------------------------------------- 1 | "abc\qdef" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/when_missing_arrow.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(When(IndentPattern(@26), @0), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/when_missing_arrow.expr.roc: -------------------------------------------------------------------------------- 1 | when 5 is 2 | 1 -> 2 3 | _ 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/when_outdented_branch.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadOperator("->", @24), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/when_outdented_branch.expr.roc: -------------------------------------------------------------------------------- 1 | when 4 is 2 | 5 -> 2 3 | 2 -> 2 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/where_type_variable.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadExprEnd(@11), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/wherem_implementsf.expr.roc: -------------------------------------------------------------------------------- 1 | s:(s 2 | wherem 3 | implementsF)A 4 | _ 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/wild_case_arrow.expr.result-ast: -------------------------------------------------------------------------------- 1 | Expr(BadExprEnd(@8), @0) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/fail/wild_case_arrow.expr.roc: -------------------------------------------------------------------------------- 1 | main = 5 -> 3 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/bad_opaque_ref.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | I @ -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/bad_opaque_ref.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | I() -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/bad_opaque_ref.expr.roc: -------------------------------------------------------------------------------- 1 | I@ -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/implements_after_comment_with_newline.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/looks_like_implements.expr.roc: -------------------------------------------------------------------------------- 1 | N (implements) h (0):B 2 | T 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/module_dot_tuple.expr.roc: -------------------------------------------------------------------------------- 1 | I.5 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/negative_number_in_pattern.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | N -0 T : A 2 | zT -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/negative_number_in_pattern.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | N(-0, T) : A 2 | zT 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/negative_number_in_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | N -0 T:A 2 | zT 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/opaque_in_ann_apply_arg.expr.roc: -------------------------------------------------------------------------------- 1 | B@A:w 2 | # 3 | @A=e 4 | i 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/parens_comment_in_ty_annotation.expr.roc: -------------------------------------------------------------------------------- 1 | Zx (e# 2 | )f:i 3 | s 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/parens_in_type_def_apply.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | U (b a) : b 2 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/parens_in_type_def_apply.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | U((b(a))) : b 2 | a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/parens_in_type_def_apply.expr.roc: -------------------------------------------------------------------------------- 1 | U (b a):b 2 | a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/qualified_tag.expr.roc: -------------------------------------------------------------------------------- 1 | One.Two.Whee -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/quotes_in_parens_in_pat.expr.roc: -------------------------------------------------------------------------------- 1 | Q (""""""""):a 2 | q 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/malformed/repr_7346.expr.roc: -------------------------------------------------------------------------------- 1 | il3\k->#w#z 2 | CCC@C (#i 3 | t!K):i 4 | C 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ability_demand_signature_is_multiline.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ability_multi_line.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ability_single_line.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ability_two_in_a_row.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/add_var_with_spaces.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x + 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/add_var_with_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | x + 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/add_with_spaces.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 + 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/add_with_spaces.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1 + 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/add_with_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | 1 + 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_ann_in_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | M : 2 | r 3 | h -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_ann_in_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | M : 2 | r 3 | h 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_ann_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | M:( 2 | r) 3 | h -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_comment_after_head.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | A # 2 | p : e 3 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_comment_after_head.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | A( # 2 | p) : e 3 | A 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_comment_after_head.expr.roc: -------------------------------------------------------------------------------- 1 | A# 2 | p:e 3 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_parens_comment.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | K : 2 | # 3 | s 4 | K -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_parens_comment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | K : # 2 | s 3 | K 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_parens_comment.expr.roc: -------------------------------------------------------------------------------- 1 | K:(# 2 | s) 3 | K -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_parens_comment_indent.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | O : O z 2 | # 3 | 4 | b # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/alias_parens_comment_indent.expr.roc: -------------------------------------------------------------------------------- 1 | O:O(z 2 | # 3 | ) 4 | b# -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_apply_record_with_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | 8:O 2 | { 3 | } 4 | Q 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_parens_comments.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | r : 2 | r 3 | # 4 | # 5 | 6 | h -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_parens_comments.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | r: 2 | r 3 | # 4 | # 5 | 6 | h 7 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_parens_comments.expr.roc: -------------------------------------------------------------------------------- 1 | r:( 2 | r 3 | # 4 | # 5 | ) 6 | h 7 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_pattern_comment_before_body.expr.roc: -------------------------------------------------------------------------------- 1 | H:p 2 | (# 3 | s)=p 4 | d# 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_record_pat_with_comment.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | { l: s # 2 | } : s 3 | o -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_record_pat_with_comment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {l: s # 2 | }: s 3 | o 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_record_pat_with_comment.expr.roc: -------------------------------------------------------------------------------- 1 | {l# 2 | :s}:s 3 | o -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ann_tag_union_newline_comment.expr.roc: -------------------------------------------------------------------------------- 1 | k: 2 | [T, 3 | ]m# 4 | D -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotate_tuple_func.expr.roc: -------------------------------------------------------------------------------- 1 | 1:(f 2 | ,ww->p)e 3 | Mh -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotated_empty_record_destructure.expr.roc: -------------------------------------------------------------------------------- 1 | E:B 2 | {}=B 3 | B -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_apply_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | A 2 | p: 3 | e 4 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_comment_before_as.expr.roc: -------------------------------------------------------------------------------- 1 | e:A# 2 | as H 3 | n 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_comment_before_colon.expr.roc: -------------------------------------------------------------------------------- 1 | A 2 | e#g 3 | :A 4 | AA -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_double_as.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | s : (e as A) as A 2 | s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_double_as.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | s: eas Aas A 2 | s 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_double_as.expr.roc: -------------------------------------------------------------------------------- 1 | s:(e as A)as A 2 | s 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tag_parens_comment.expr.roc: -------------------------------------------------------------------------------- 1 | g:[T(T# 2 | )] 3 | D 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tuple_comment.expr.roc: -------------------------------------------------------------------------------- 1 | 3:(# 2 | )n->n 3 | 0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tuple_newline.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | d: (J, ..g 2 | ) 3 | 2 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tuple_newline.expr.roc: -------------------------------------------------------------------------------- 1 | d:(J, 2 | )g 3 | 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tuple_parens_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | p:( 2 | )( 3 | i) 4 | {} -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tuples_ext_galore.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1: ((), ..n) 2 | l 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/annotation_tuples_ext_galore.expr.roc: -------------------------------------------------------------------------------- 1 | 1:(()(n# 2 | ))(n) 3 | l 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_bang_bang_closure.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | !! 2 | |w| 2( 3 | n) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_bang_bang_closure.expr.roc: -------------------------------------------------------------------------------- 1 | !! 2 | \w->2 3 | n 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_binop_switch.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i < 2 2 | -6 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_binop_switch.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i < 2 2 | -6 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_binop_switch.expr.roc: -------------------------------------------------------------------------------- 1 | i<2 2 | (-6) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_parenthetical_tag_args.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | Whee((12), (34)) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_parenthetical_tag_args.expr.roc: -------------------------------------------------------------------------------- 1 | Whee (12) (34) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_record_ann.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | a: N({h 2 | }) 3 | g 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_record_ann.expr.roc: -------------------------------------------------------------------------------- 1 | a:N{h, 2 | } 3 | g 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_record_parens_newline_field.expr.roc: -------------------------------------------------------------------------------- 1 | 0{l,xt,l:(se# 2 | )} 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | Whee(12, 34) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag.expr.roc: -------------------------------------------------------------------------------- 1 | Whee 12 34 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_pnc.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | Whee(12, 34) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_pnc.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | Whee(12, 34) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_pnc.expr.roc: -------------------------------------------------------------------------------- 1 | Whee(12, 34) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_single_arg_pnc.pattern.formatted.roc: -------------------------------------------------------------------------------- 1 | Ok(a) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_single_arg_pnc.pattern.migrated.roc: -------------------------------------------------------------------------------- 1 | Ok(a) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_single_arg_pnc.pattern.roc: -------------------------------------------------------------------------------- 1 | Ok(a) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_single_arg_whitespace.pattern.formatted.roc: -------------------------------------------------------------------------------- 1 | Ok a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_single_arg_whitespace.pattern.migrated.roc: -------------------------------------------------------------------------------- 1 | Ok(a) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tag_single_arg_whitespace.pattern.roc: -------------------------------------------------------------------------------- 1 | Ok a 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_three_args.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | a(b, c, d) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_three_args.expr.roc: -------------------------------------------------------------------------------- 1 | a b c d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tuple_ext_parens_ty.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i : M ()Y c 2 | t -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tuple_ext_parens_ty.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i: M((), c) 2 | t 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_tuple_ext_parens_ty.expr.roc: -------------------------------------------------------------------------------- 1 | i:M()(Y) c 2 | t 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_two_args.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | whee 12 34 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_two_args.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whee(12, 34) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_two_args.expr.roc: -------------------------------------------------------------------------------- 1 | whee 12 34 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_two_args_pnc.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | whee(12, 34) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_two_args_pnc.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whee(12, 34) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_two_args_pnc.expr.roc: -------------------------------------------------------------------------------- 1 | whee(12, 34) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_unary_negation.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | -whee 12 foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_unary_negation.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -whee(12, foo) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_unary_negation.expr.roc: -------------------------------------------------------------------------------- 1 | -whee 12 foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_unary_not.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | !whee 12 foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_unary_not.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | !whee(12, foo) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/apply_unary_not.expr.roc: -------------------------------------------------------------------------------- 1 | !whee 12 foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/as_in_func_type_args.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | e: J 2 | as H -> A 3 | r 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/as_in_func_type_args.expr.roc: -------------------------------------------------------------------------------- 1 | e:J 2 | as H->A 3 | r 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/backslash_closure_last_expr.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | b 2 | |e| s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/backslash_closure_last_expr.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | b 2 | |e| s 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/backslash_closure_last_expr.expr.roc: -------------------------------------------------------------------------------- 1 | b 2 | \e->s 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/bang_newline_double_accessor.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 0 2 | ! .d 3 | .d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/bang_newline_double_accessor.expr.roc: -------------------------------------------------------------------------------- 1 | 0 2 | ! 3 | .d 4 | .d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/bangs_and_tuple_accessors.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | J 2 | ! .1 3 | ! .0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/bangs_and_tuple_accessors.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | J 2 | ! 3 | .1(!.0) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/bangs_and_tuple_accessors.expr.roc: -------------------------------------------------------------------------------- 1 | J 2 | ! 3 | .1!.0 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_apply.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whee(1) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_apply.expr.roc: -------------------------------------------------------------------------------- 1 | whee 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_field.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | rec.field 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_field.expr.roc: -------------------------------------------------------------------------------- 1 | rec.field -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_tag.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | Whee 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_tag.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-4 Tag( 2 | "Whee", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_tag.expr.roc: -------------------------------------------------------------------------------- 1 | Whee -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_tuple.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | (1, 2, 3) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_tuple.expr.roc: -------------------------------------------------------------------------------- 1 | (1, 2, 3) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_var.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whee 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/basic_var.expr.roc: -------------------------------------------------------------------------------- 1 | whee -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/binop_apply_complex.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | N < l (r * N) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/binop_apply_complex.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | N < l((r * N)) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/binop_apply_complex.expr.roc: -------------------------------------------------------------------------------- 1 | Nx 3 | x -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/binops_comment_indent_change.expr.roc: -------------------------------------------------------------------------------- 1 | r^ 2 | -f 3 | # 4 | -P -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/block_string_ann.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | "${g}" : q 2 | f -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/block_string_ann.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | "${g}": q 2 | f 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/block_string_ann.expr.roc: -------------------------------------------------------------------------------- 1 | """${g}""":q 2 | f 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/body_block_string_apply_string.expr.roc: -------------------------------------------------------------------------------- 1 | t="""" """"" 2 | S -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/body_with_unneeded_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | a = 2 | 6 3 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/body_with_unneeded_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | a = ( 2 | 6) 3 | a 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/body_with_unneeded_parens.expr.roc: -------------------------------------------------------------------------------- 1 | a=( 2 | 6) 3 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/call_bang.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | launchTheNukes! 123 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/call_bang.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | launchTheNukes!(123) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/call_bang.expr.roc: -------------------------------------------------------------------------------- 1 | launchTheNukes! 123 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/call_bang_no_space.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | fxFn! arg -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/call_bang_no_space.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | fxFn!(arg) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/call_bang_no_space.expr.roc: -------------------------------------------------------------------------------- 1 | fxFn!arg 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/can_ignored_field_in_import.expr.roc: -------------------------------------------------------------------------------- 1 | import P{_:h 2 | } 3 | t! 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/capture_body_parens_comment.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |L| E # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/capture_body_parens_comment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |L| E 2 | # 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/capture_body_parens_comment.expr.roc: -------------------------------------------------------------------------------- 1 | \L->(E 2 | # 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_arg_parens_then_comment.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |(8)| T # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_arg_parens_then_comment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |8| T # 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_arg_parens_then_comment.expr.roc: -------------------------------------------------------------------------------- 1 | \(8)->T# 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_in_apply_in_binop.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | m0 |w| w? e 2 | / s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_in_apply_in_binop.expr.roc: -------------------------------------------------------------------------------- 1 | m0\w->w?e 2 | /s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_in_binop_with_spaces.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i > |s| s 2 | -a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_in_binop_with_spaces.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i > |s| s 2 | -a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_in_binop_with_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | i>\s->s 2 | -a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_parens_double_newlines.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |L(z)| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_parens_double_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | \L((z 2 | ) 3 | )->42 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_pat_reccord_comment.expr.roc: -------------------------------------------------------------------------------- 1 | \{i# 2 | ,e}->a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_with_binops_and_unary.expr.roc: -------------------------------------------------------------------------------- 1 | m 2 | ^ -\w->m 3 | w 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_with_underscores.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |_, _name| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_with_underscores.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |__name| 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/closure_with_underscores.expr.roc: -------------------------------------------------------------------------------- 1 | \_, _name -> 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | F : e # 2 | 3 | q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | F : e # 2 | 3 | q 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.roc: -------------------------------------------------------------------------------- 1 | F:e# 2 | 3 | 4 | q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_dbg_in_empty_record_assignment.expr.roc: -------------------------------------------------------------------------------- 1 | {}=dbg l# 2 | n -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_def.moduledefs.migrated.roc: -------------------------------------------------------------------------------- 1 | foo = 1 # comment after 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_def.moduledefs.roc: -------------------------------------------------------------------------------- 1 | foo = 1 # comment after 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_expr_in_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i # abc -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_expr_in_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i # abc 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_expr_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | (i#abc 2 | ) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_op.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 12 2 | * # test! 3 | 92 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_op.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 12 * # test! 2 | 92 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_after_op.expr.roc: -------------------------------------------------------------------------------- 1 | 12 * # test! 2 | 92 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | w # 2 | : n 3 | Q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | w # 2 | : n 3 | Q 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.roc: -------------------------------------------------------------------------------- 1 | w# 2 | :n 3 | Q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | t # 2 | = 3 3 | e -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | t # 2 | = 3 3 | e 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.roc: -------------------------------------------------------------------------------- 1 | t# 2 | =3 3 | e -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_op.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 3 # test! 2 | + 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_op.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 # test! 2 | + 4 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_op.expr.roc: -------------------------------------------------------------------------------- 1 | 3 # test! 2 | + 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_pat_in_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | # 2 | 6 : s 3 | h -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_before_pat_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | ( 2 | # 3 | 6):s 4 | h 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_closure_pat.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |L( # 2 | i)| -e 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_closure_pat.expr.roc: -------------------------------------------------------------------------------- 1 | \L# 2 | i->-e -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_closure_pat_apply.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |LM( # 2 | Q)| f8 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_closure_pat_apply.expr.roc: -------------------------------------------------------------------------------- 1 | \L,M# 2 | Q->f8 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_tuple_ext.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | t : ()n # 2 | # 3 | 4 | p # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_tuple_ext.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | t: () 2 | p # 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_in_tuple_ext.expr.roc: -------------------------------------------------------------------------------- 1 | t:()(n# 2 | # 3 | ) 4 | p# 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_indent_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | 1((0# 2 | )# 3 | ):gi 4 | M -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_inside_empty_list.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [ # comment 2 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_inside_empty_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [ # comment 2 | ] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_inside_empty_list.expr.roc: -------------------------------------------------------------------------------- 1 | [#comment 2 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_with_non_ascii.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 3 # 2 × 2 2 | + 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_with_non_ascii.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 # 2 × 2 2 | + 4 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/comment_with_non_ascii.expr.roc: -------------------------------------------------------------------------------- 1 | 3 # 2 × 2 2 | + 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/compare_apply_record.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | x 2 | > 3 | x { 4 | } 5 | < r -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/compare_apply_record.expr.roc: -------------------------------------------------------------------------------- 1 | x> 2 | x{ 3 | 4 | } (w -> p) 2 | h -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/curried_function_type.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1: w -> w -> p 2 | h 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/curried_function_type.expr.roc: -------------------------------------------------------------------------------- 1 | 1:(w->w->p) 2 | h 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(1) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg.expr.roc: -------------------------------------------------------------------------------- 1 | dbg 1 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_double.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg dbg g g -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_double.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(dbg, g, g) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_double.expr.roc: -------------------------------------------------------------------------------- 1 | dbg dbg g g 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_double_newline.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(dbg, 2 | a, g) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_double_newline.expr.roc: -------------------------------------------------------------------------------- 1 | dbg dbg 2 | a g -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_extra_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg d z 2 | dd -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_extra_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(d, z) 2 | dd 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_extra_parens.expr.roc: -------------------------------------------------------------------------------- 1 | { 2 | }=dbg d z 3 | dd -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_newline_apply.expr.roc: -------------------------------------------------------------------------------- 1 | dbg 2 | 3 | izzb 4 | interfacesb 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_a_over_a.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg(a / a) 2 | d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_a_over_a.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(a / a) 2 | d 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_a_over_a.expr.roc: -------------------------------------------------------------------------------- 1 | dbg(a/a) 2 | d 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_in_double_parens.expr.roc: -------------------------------------------------------------------------------- 1 | ((dbg(r)) 2 | r) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_zero_args.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg() 2 | d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_zero_args.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg() 2 | d 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_pnc_zero_args.expr.roc: -------------------------------------------------------------------------------- 1 | dbg() 2 | d 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg (1 == 1) 2 | 3 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 2 | dbg (1 == 1) 3 | 4 | 4 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt.expr.roc: -------------------------------------------------------------------------------- 1 | 2 | dbg (1 == 1) 3 | 4 | 4 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_in_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | (dbg D, 2 | q 3 | 4 | h) 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | (dbg D 2 | q 3 | h) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_multiline.expr.roc: -------------------------------------------------------------------------------- 1 | dbg (5, 2 | 666) 3 | 4 | 4 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_two_exprs.expr.roc: -------------------------------------------------------------------------------- 1 | dbg 2 | (q 3 | qt) 4 | g 5 | qt 6 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_then_double_parens_cont.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg g 2 | L # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/dbg_then_double_parens_cont.expr.roc: -------------------------------------------------------------------------------- 1 | dbg g 2 | ((L 3 | ))# 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/def_multistring_apply.expr.roc: -------------------------------------------------------------------------------- 1 | e=""""""a 2 | p -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_closure_newlines_binop.expr.roc: -------------------------------------------------------------------------------- 1 | \j->e\B 2 | ->B 3 | >s 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_function_tuple.expr.roc: -------------------------------------------------------------------------------- 1 | 1:(w->p, 2 | w->p) 3 | h 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_question_binop.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | get_name! {} ?? "Bob" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_question_binop.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | get_name!({}) ?? "Bob" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_question_binop.expr.roc: -------------------------------------------------------------------------------- 1 | get_name! {} ?? "Bob" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_space_before.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 : ( 2 | M, 3 | )w 4 | ah -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/double_space_before.expr.roc: -------------------------------------------------------------------------------- 1 | 1:( 2 | ( 3 | M))w 4 | ah -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_app_header.header.formatted.roc: -------------------------------------------------------------------------------- 1 | app [] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_app_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | app [] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_hosted_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | hosted [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_hosted_header.header.roc: -------------------------------------------------------------------------------- 1 | hosted [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_list.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-2 List( 2 | [], 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_list.expr.roc: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_module_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | module [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_module_header.header.roc: -------------------------------------------------------------------------------- 1 | module [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_old_hosted_header.header.formatted.roc: -------------------------------------------------------------------------------- 1 | hosted [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_old_hosted_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | hosted [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_package_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | package [] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_package_header.header.roc: -------------------------------------------------------------------------------- 1 | package [] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-2 Record( 2 | [], 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record.expr.roc: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_dbg.expr.roc: -------------------------------------------------------------------------------- 1 | {}= 2 | dbg c 3 | c 4 | e 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_implements.expr.roc: -------------------------------------------------------------------------------- 1 | {}=O{}implements 2 | a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_return.expr.roc: -------------------------------------------------------------------------------- 1 | {}= 2 | return f 3 | d 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_tag.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | P 2 | O -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_tag.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 2 | P 3 | O 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_tag.expr.roc: -------------------------------------------------------------------------------- 1 | {}= 2 | P 3 | O -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assignment.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | B 2 | I -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assignment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | B 2 | I 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assignment.expr.roc: -------------------------------------------------------------------------------- 1 | {}=B 2 | I 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_eq_dbg.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | dbg n 2 | d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_eq_dbg.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(n) 2 | d 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_eq_dbg.expr.roc: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | =dbg n 4 | d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_newline_assign.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | {} 2 | I -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_newline_assign.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 2 | {} 3 | I 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_newline_assign.expr.roc: -------------------------------------------------------------------------------- 1 | 2 | {} 3 | ={} 4 | I -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_update.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | { e & } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_update.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {e&} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_record_update.expr.roc: -------------------------------------------------------------------------------- 1 | {e&} -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_string.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | "" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_string.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | "" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_string.expr.roc: -------------------------------------------------------------------------------- 1 | "" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_try_pnc.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | try() t -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_try_pnc.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | try()(t) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/empty_try_pnc.expr.roc: -------------------------------------------------------------------------------- 1 | try()t 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/equals.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | x == y -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/equals.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x == y 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/equals.expr.roc: -------------------------------------------------------------------------------- 1 | x==y -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/equals_with_spaces.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x == y 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/equals_with_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | x == y -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | expect 1 == 1 2 | 3 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | expect 1 == 1 2 | 3 | 4 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.roc: -------------------------------------------------------------------------------- 1 | expect 1 == 1 2 | 3 | 4 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ext_on_fn_ty.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | t : (w => p)a 2 | t -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ext_on_fn_ty.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | t: (w => p, ..a) 2 | t 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ext_on_fn_ty.expr.roc: -------------------------------------------------------------------------------- 1 | t:(w=>p)a 2 | t 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | B : {} 2 | 3 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | B : {} 2 | 3 | a 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | B:{} 2 | 3 | ( 4 | a) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/f_not_not_f.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | f 2 | ! !f -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/f_not_not_f.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | f 2 | ! 3 | !f 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/f_not_not_f.expr.roc: -------------------------------------------------------------------------------- 1 | f 2 | ! 3 | !f -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/float_with_underscores.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -1_23_456.0_1_23_456 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/float_with_underscores.expr.roc: -------------------------------------------------------------------------------- 1 | -1_23_456.0_1_23_456 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/h_greater_comment_minus_div.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | h > # 2 | -h / d 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/h_greater_comment_minus_div.expr.roc: -------------------------------------------------------------------------------- 1 | h># 2 | -h/d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/h_parens_as_parens_h_ann.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | N : A (H as H) H 2 | I -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/h_parens_as_parens_h_ann.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | N : A(Has H, H) 2 | I 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/h_parens_as_parens_h_ann.expr.roc: -------------------------------------------------------------------------------- 1 | N:A((H)as H) H 2 | I 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/highest_int.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 9223372036854775807 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/highest_int.expr.roc: -------------------------------------------------------------------------------- 1 | 9223372036854775807 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/i_over_not_g.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i 2 | / 3 | !g -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/i_over_not_g.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i / 2 | ! 3 | g 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/i_over_not_g.expr.roc: -------------------------------------------------------------------------------- 1 | i/ 2 | ! 3 | g 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | iffy = 5 2 | 3 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | iffy = 5 2 | 3 | 42 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.roc: -------------------------------------------------------------------------------- 1 | iffy=5 2 | 3 | 42 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/implements_annotation_comment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/implements_in_pnc_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | g(implements,x)=c 2 | c 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/implements_newline_in_fn_ty.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/implements_newlines_comments.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/implements_not_keyword.expr.roc: -------------------------------------------------------------------------------- 1 | A=B implements 2 | +s 3 | 1 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/implements_record_destructure.expr.roc: -------------------------------------------------------------------------------- 1 | {implements}=d 2 | I 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.formatted.roc: -------------------------------------------------------------------------------- 1 | import Json 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.migrated.roc: -------------------------------------------------------------------------------- 1 | import Json 2 | 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.roc: -------------------------------------------------------------------------------- 1 | import Json 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/import_backslash_as_m.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | import "\\" as m 2 | e -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/import_backslash_as_m.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | import "\\"asm 2 | e 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/import_backslash_as_m.expr.roc: -------------------------------------------------------------------------------- 1 | import"\\"as m 2 | e 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/int_with_underscore.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1__23 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/int_with_underscore.expr.roc: -------------------------------------------------------------------------------- 1 | 1__23 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/lambda_indent.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |x| 2 | 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/lambda_indent.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |x| 2 | 1 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/lambda_indent.expr.roc: -------------------------------------------------------------------------------- 1 | \x -> 2 | 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_comma_newlines.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [ 2 | s, 3 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_comma_newlines.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [s 2 | 3 | ] 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_comma_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | [s 2 | , 3 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_comment_newline.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [ 2 | L, # 3 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_comment_newline.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [L # 2 | 3 | ] 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_comment_newline.expr.roc: -------------------------------------------------------------------------------- 1 | [L# 2 | , 3 | 4 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_list_not_not_closure_newline.expr.roc: -------------------------------------------------------------------------------- 1 | [[!!\L->t 2 | M]] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_lots_of_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | [J 2 | # 3 | , 4 | 5 | # 6 | u] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_minus_newlines.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [ 2 | K, 3 | ] 4 | - i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_minus_newlines.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [K 2 | ] - i 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/list_minus_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | [K, 2 | ]-i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/lowest_int.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -9223372036854775808 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/lowest_int.expr.roc: -------------------------------------------------------------------------------- 1 | -9223372036854775808 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/mega_parens_pat.expr.roc: -------------------------------------------------------------------------------- 1 | 1((0# 2 | )f)((0# 3 | )f):f 4 | e 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/min_parens_number.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -(8) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/min_parens_number.expr.roc: -------------------------------------------------------------------------------- 1 | -(8) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minimal_app_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | app [] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minimal_app_header.header.roc: -------------------------------------------------------------------------------- 1 | app [] {} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_minus_block_string.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -- 2 | """ 3 | """ 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_minus_block_string.expr.roc: -------------------------------------------------------------------------------- 1 | --"""""" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_minus_six.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | -(-6) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_minus_six.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -(-6) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_minus_six.expr.roc: -------------------------------------------------------------------------------- 1 | (-(-6)) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_newline_minus.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | s 2 | - 3 | (-{}) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_newline_minus.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | s - 2 | -{} 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_newline_minus.expr.roc: -------------------------------------------------------------------------------- 1 | s- 2 | -{} 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_newline_minus_minus.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | p 2 | - 3 | (-t) 4 | - 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_newline_minus_minus.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | p - 2 | -t - 1 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_newline_minus_minus.expr.roc: -------------------------------------------------------------------------------- 1 | p- 2 | -t-1 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_not_h.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | -(!h) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_not_h.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -!h 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_not_h.expr.roc: -------------------------------------------------------------------------------- 1 | -!h 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_twelve_minus_five.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | -12 - 5 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_twelve_minus_five.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -12 - 5 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/minus_twelve_minus_five.expr.roc: -------------------------------------------------------------------------------- 1 | -12-5 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/module_multiline_exposes.header.roc: -------------------------------------------------------------------------------- 1 | module [a, b, 2 | c] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/module_with_newline.header.migrated.roc: -------------------------------------------------------------------------------- 1 | module [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/module_with_newline.header.roc: -------------------------------------------------------------------------------- 1 | module [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/module_with_params.header.roc: -------------------------------------------------------------------------------- 1 | module {echo, read } -> [menu] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/mul_comment_neg.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | n * f 2 | # 3 | -f -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/mul_comment_neg.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | n * f 2 | # 3 | -f 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/mul_comment_neg.expr.roc: -------------------------------------------------------------------------------- 1 | n*f 2 | # 3 | -f -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multi_char_string.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | "foo" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multi_char_string.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | "foo" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multi_char_string.expr.roc: -------------------------------------------------------------------------------- 1 | "foo" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multilin_str_body.expr.roc: -------------------------------------------------------------------------------- 1 | a=""""f""" 2 | f 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_and_str_in_alias.expr.roc: -------------------------------------------------------------------------------- 1 | 8 2 | ("""""""")f:C 3 | U 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_apply_in_parens_pat.expr.roc: -------------------------------------------------------------------------------- 1 | u ("""""" (0)):f 2 | s 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_crazyness.expr.roc: -------------------------------------------------------------------------------- 1 | """""""${i""""""}" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_in_pat.expr.roc: -------------------------------------------------------------------------------- 1 | 1"""""""^"2:A 2 | "" 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_opt_field.expr.roc: -------------------------------------------------------------------------------- 1 | {l?""""""}"" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_string_in_apply.expr.roc: -------------------------------------------------------------------------------- 1 | e""""\"""" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | f: 2 | {} 3 | 4 | 42 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature.expr.roc: -------------------------------------------------------------------------------- 1 | f : 2 | {} 3 | 4 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiple_fields.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | rec.abc.def.ghi 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiple_fields.expr.roc: -------------------------------------------------------------------------------- 1 | rec.abc.def.ghi -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiple_operators.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 31 * 42 + 534 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiple_operators.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 31 * 42 + 534 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/multiple_operators.expr.roc: -------------------------------------------------------------------------------- 1 | 31*42+534 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_float_literal_pnc_apply_pat.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | (-8.)() : C 2 | p -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_float_literal_pnc_apply_pat.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -8.(): C 2 | p 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_float_literal_pnc_apply_pat.expr.roc: -------------------------------------------------------------------------------- 1 | (-8.)():C 2 | p 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_inf_float.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -inf 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_inf_float.expr.roc: -------------------------------------------------------------------------------- 1 | -inf -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_nested_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -(0(1( 2 | d))) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_nested_parens.expr.roc: -------------------------------------------------------------------------------- 1 | -(0(1 2 | d)) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_newline_four.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | -( 2 | 4) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_newline_four.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -( 2 | 4) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/neg_newline_four.expr.roc: -------------------------------------------------------------------------------- 1 | -( 2 | 4) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negate_apply_parens_comment.expr.roc: -------------------------------------------------------------------------------- 1 | -((4 2 | 4)4) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negate_multiline_string.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | - 2 | """ 3 | """ 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negate_multiline_string.expr.roc: -------------------------------------------------------------------------------- 1 | -"""""" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negate_multiline_string_with_quote.expr.roc: -------------------------------------------------------------------------------- 1 | -""""<""" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_float.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -42.9 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_float.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-5 Float( 2 | "-42.9", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_float.expr.roc: -------------------------------------------------------------------------------- 1 | -42.9 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_in_apply_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | a = A( 2 | -g, a) 3 | a 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_in_apply_def.expr.roc: -------------------------------------------------------------------------------- 1 | a=A 2 | -g a 3 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_int.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_int.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-3 Num( 2 | "-42", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_int.expr.roc: -------------------------------------------------------------------------------- 1 | -42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_single_quote.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -'i' 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/negative_single_quote.expr.roc: -------------------------------------------------------------------------------- 1 | -'i' -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/nested_list_comment_in_closure_arg.expr.roc: -------------------------------------------------------------------------------- 1 | \I[[ 2 | O# 3 | ,i]]->i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/nested_parens_in_pattern.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | (J x) : i 2 | i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/nested_parens_in_pattern.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | J(x): i 2 | i 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/nested_parens_in_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | ((J)x):i 2 | i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | x = 2 | 5 3 | 4 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x = 2 | 5 3 | 4 | 42 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.roc: -------------------------------------------------------------------------------- 1 | x = 2 | 5 3 | 4 | 42 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_import_str_as.expr.roc: -------------------------------------------------------------------------------- 1 | import""as 2 | das 3 | A 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_mul.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 3 2 | * 3 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_mul.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 * 2 | 4 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_mul.expr.roc: -------------------------------------------------------------------------------- 1 | 3 * 2 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_opt_field.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | { 2 | i?? p, 3 | } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_opt_field.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {i: 2 | p} 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_opt_field.expr.roc: -------------------------------------------------------------------------------- 1 | {i? 2 | p} -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_paren.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_paren.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 2 | A 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_paren.expr.roc: -------------------------------------------------------------------------------- 1 | ( 2 | A) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_sub.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 3 2 | - 3 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_sub.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 - 2 | 4 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_after_sub.expr.roc: -------------------------------------------------------------------------------- 1 | 3 - 2 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_before_add.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 2 | + 4 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_before_add.expr.roc: -------------------------------------------------------------------------------- 1 | 3 2 | + 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_before_import_curlies.expr.roc: -------------------------------------------------------------------------------- 1 | import P 2 | {} 3 | y 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_before_sub.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 2 | - 4 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_before_sub.expr.roc: -------------------------------------------------------------------------------- 1 | 3 2 | - 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_alias_application.expr.roc: -------------------------------------------------------------------------------- 1 | A:A 2 | A 3 | p -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | R : D 2 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | R : D 2 | a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.roc: -------------------------------------------------------------------------------- 1 | R 2 | :D 3 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_inside_empty_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [ 2 | ] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_inside_empty_list.expr.roc: -------------------------------------------------------------------------------- 1 | [ 2 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_singleton_list.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [ 2 | 1, 3 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_singleton_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [ 2 | 1 3 | ] 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/newline_singleton_list.expr.roc: -------------------------------------------------------------------------------- 1 | [ 2 | 1 3 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/no_newline_after_implements.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/no_newline_after_implements.expr.roc: -------------------------------------------------------------------------------- 1 | S implements d:J 2 | m# 3 | D -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_double_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | !( 2 | 3 | E 4 | ) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_double_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | ! 2 | (( 3 | E) 4 | ) 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_double_parens.expr.roc: -------------------------------------------------------------------------------- 1 | ! 2 | (( 3 | E) 4 | ) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_multiline_string.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | ! 2 | """ 3 | """ -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_multiline_string.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | ! 2 | """ 3 | """ 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_multiline_string.expr.roc: -------------------------------------------------------------------------------- 1 | !"""""" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_record_updater.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | e 2 | ! &s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_record_updater.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | e 2 | ! 3 | &s 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_record_updater.expr.roc: -------------------------------------------------------------------------------- 1 | e 2 | ! 3 | &s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_tag.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | !( 2 | C 3 | 2 4 | ) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_tag.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | !({ 2 | C 3 | 2 4 | }) 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/not_tag.expr.roc: -------------------------------------------------------------------------------- 1 | !(C 2 | 2) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/num_bang_amp_z_dot_t.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 4 2 | ! &z.t -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/num_bang_amp_z_dot_t.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 4 2 | ! 3 | &z.t 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/num_bang_amp_z_dot_t.expr.roc: -------------------------------------------------------------------------------- 1 | 4 2 | ! 3 | &z.t 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/old_interface_header.header.formatted.roc: -------------------------------------------------------------------------------- 1 | module [Foo, foo, bar] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/old_interface_header.header.migrated.roc: -------------------------------------------------------------------------------- 1 | module [Foo, foo, bar] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_char_string.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | "x" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_char_string.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | "x" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_char_string.expr.roc: -------------------------------------------------------------------------------- 1 | "x" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | # leading comment 2 | x = 5 3 | 4 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | # leading comment 2 | x = 5 3 | 4 | 42 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.roc: -------------------------------------------------------------------------------- 1 | # leading comment 2 | x=5 3 | 4 | 42 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_minus_two.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 - 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_minus_two.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1 - 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_minus_two.expr.roc: -------------------------------------------------------------------------------- 1 | 1-2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_plus_two.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 + 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_plus_two.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1 + 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_plus_two.expr.roc: -------------------------------------------------------------------------------- 1 | 1+2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/one_spaced_def.expr.roc: -------------------------------------------------------------------------------- 1 | # leading comment 2 | x = 5 3 | 4 | 42 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_comment_after_head.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | A # 2 | p := a 3 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_comment_after_head.expr.roc: -------------------------------------------------------------------------------- 1 | A# 2 | p:=a 3 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_expr.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | @Age -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_expr.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | @Age 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_expr.expr.roc: -------------------------------------------------------------------------------- 1 | @Age 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_expr_with_arguments.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | @Age m n -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_expr_with_arguments.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | @Age(m, n) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_expr_with_arguments.expr.roc: -------------------------------------------------------------------------------- 1 | @Age m n 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_reference_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | when n is 2 | @Age -> 1 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_simple.moduledefs.migrated.roc: -------------------------------------------------------------------------------- 1 | Age() := U8 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opaque_simple.moduledefs.roc: -------------------------------------------------------------------------------- 1 | Age := U8 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ops_with_newlines.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 3 2 | + 3 | 4 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ops_with_newlines.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 3 2 | + 3 | 4 | 4 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ops_with_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | 3 2 | + 3 | 4 | 4 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opt_field_newline_in_pat.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | { i ?? Y } = p 2 | Q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opt_field_newline_in_pat.expr.roc: -------------------------------------------------------------------------------- 1 | {i 2 | ? 3 | Y}=p 4 | Q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opt_field_newline_in_ty.expr.roc: -------------------------------------------------------------------------------- 1 | 0:{i 2 | ?d} 3 | O -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/opt_record_field_pat_assign.expr.roc: -------------------------------------------------------------------------------- 1 | {e?f 2 | 4}=f 3 | e 4 | r 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/outdented_list.expr.roc: -------------------------------------------------------------------------------- 1 | a = [ 2 | 1, 2, 3 3 | ] 4 | a 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/outdented_record.expr.roc: -------------------------------------------------------------------------------- 1 | x = foo { 2 | bar: blah 3 | } 4 | x 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/p_return_f_minus_f.expr.roc: -------------------------------------------------------------------------------- 1 | p 2 | return# 3 | f 4 | -f -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/packed_singleton_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/packed_singleton_list.expr.roc: -------------------------------------------------------------------------------- 1 | [1] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/paren_newline_before_return.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i 2 | 3 | return u -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/paren_newline_before_return.expr.roc: -------------------------------------------------------------------------------- 1 | (i 2 | 3 | ) 4 | return u 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_apply_newline.expr.roc: -------------------------------------------------------------------------------- 1 | (f 2 | N) 3 | N# -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_apply_not_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | !(4 2 | )(4) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_apply_not_parens.expr.roc: -------------------------------------------------------------------------------- 1 | (!(4 2 | )4) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_comment_in_str_interpolation.expr.roc: -------------------------------------------------------------------------------- 1 | "${(S# 2 | )}" 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_comment_tuple.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | ((0 # 2 | ), L) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_comment_tuple.expr.roc: -------------------------------------------------------------------------------- 1 | ((0# 2 | ),L) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_empty_record_apply.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | ({ 2 | })({ 3 | }) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_empty_record_apply.expr.roc: -------------------------------------------------------------------------------- 1 | ({ 2 | }){ 3 | } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_func_apply_type.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | si : (e)(e -> A) 2 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_func_apply_type.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | si: (e, ..e -> A) 2 | A 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_func_apply_type.expr.roc: -------------------------------------------------------------------------------- 1 | si:(e)(e->A) 2 | A -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_newline_in_func_type.expr.roc: -------------------------------------------------------------------------------- 1 | C:( 2 | h)->a 3 | C -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_newlines_before_as.expr.roc: -------------------------------------------------------------------------------- 1 | 1:(*# 2 | )as J 3 | l 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_record_updater.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | T 2 | &n -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_record_updater.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | T 2 | &n 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parens_record_updater.expr.roc: -------------------------------------------------------------------------------- 1 | T 2 | &n 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | D : b 2 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | D : b 2 | a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.roc: -------------------------------------------------------------------------------- 1 | (D):b 2 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | A : b 2 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | A : b 2 | a 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.roc: -------------------------------------------------------------------------------- 1 | ( 2 | A):b 3 | a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_apply.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | (whee)(1) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_apply.expr.roc: -------------------------------------------------------------------------------- 1 | (whee) 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_basic_field.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | (rec).field 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_basic_field.expr.roc: -------------------------------------------------------------------------------- 1 | (rec).field -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_field_qualified_var.expr.roc: -------------------------------------------------------------------------------- 1 | (One.Two.rec).field -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_var.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | whee -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_var.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whee 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parenthetical_var.expr.roc: -------------------------------------------------------------------------------- 1 | (whee) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | Blah a b : Foo.Bar.Baz x y 2 | 3 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.roc: -------------------------------------------------------------------------------- 1 | Blah a b : Foo.Bar.Baz x y 2 | 3 | 42 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pat_space_after_comma.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | { i, p } = 5 2 | Q -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pat_space_after_comma.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {i, 2 | p} = 5 3 | Q 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pat_space_after_comma.expr.roc: -------------------------------------------------------------------------------- 1 | {i 2 | ,p}=5 3 | Q 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_as.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | when 0 is 2 | _ as n -> n -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_as.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | match 0 { 2 | 3 | _ as n->n} 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_as.expr.roc: -------------------------------------------------------------------------------- 1 | when 0 is 2 | _ as n -> n 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_comma_newlines.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1(i, p # 2 | ): f 3 | n 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_comma_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | 1(i,p# 2 | ):f 3 | n -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_record_apply_comment.expr.roc: -------------------------------------------------------------------------------- 1 | s{t# 2 | }:s 3 | p# -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pattern_with_as_parens.expr.roc: -------------------------------------------------------------------------------- 1 | when t is 2 | Ok ({} as d)->S 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pizza_dbg.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 |> dbg -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pizza_dbg.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1 |> dbg 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pizza_dbg.expr.roc: -------------------------------------------------------------------------------- 1 | 1 |> dbg 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/plus_if.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 * if Bool.true then 1 else 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/plus_if.expr.roc: -------------------------------------------------------------------------------- 1 | 1 * if Bool.true then 1 else 1 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_apply_comment_after_newline.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i(i 2 | )(t) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_apply_comment_after_newline.expr.roc: -------------------------------------------------------------------------------- 1 | i(i, 2 | )t 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_apply_neg_pattern.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | (-8)() : C 2 | 8 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_apply_neg_pattern.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -8(): C 2 | 8 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_apply_neg_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | (-8)():C 2 | 8 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_dbg_parens_comment.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | dbg(5 # 2 | ) 3 | e 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_dbg_parens_comment.expr.roc: -------------------------------------------------------------------------------- 1 | (dbg(5# 2 | )) 3 | e 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_parens_apply_etc.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 3() : B 2 | z -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_parens_apply_etc.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 2 | 3(): B 3 | z 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pnc_parens_apply_etc.expr.roc: -------------------------------------------------------------------------------- 1 | ( 2 | 3)():B 3 | (z) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pos_inf_float.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | inf 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/pos_inf_float.expr.roc: -------------------------------------------------------------------------------- 1 | inf -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/positive_float.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 42.9 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/positive_float.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-4 Float( 2 | "42.9", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/positive_float.expr.roc: -------------------------------------------------------------------------------- 1 | 42.9 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/positive_int.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/positive_int.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-2 Num( 2 | "42", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/positive_int.expr.roc: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/qualified_field.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | One.Two.rec.abc.def.ghi 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/qualified_field.expr.roc: -------------------------------------------------------------------------------- 1 | One.Two.rec.abc.def.ghi -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/qualified_var.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | One.Two.whee 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/qualified_var.expr.roc: -------------------------------------------------------------------------------- 1 | One.Two.whee -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_access_after_tuple.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | ({ a: 0 }, { b: 1 }).0.a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_access_after_tuple.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | ({a: 0}, {b: 1}).0.a 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_access_after_tuple.expr.roc: -------------------------------------------------------------------------------- 1 | ({a: 0}, {b: 1}).0.a -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_builder.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {Foo.Bar.baz<-x: 5, y: 0 2 | } 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_builder.expr.roc: -------------------------------------------------------------------------------- 1 | { Foo.Bar.baz <- x: 5, y: 0 2 | } 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_comment_newline_field.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | { # 2 | a} 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_comment_newline_field.expr.roc: -------------------------------------------------------------------------------- 1 | {# 2 | a} -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_double_newline_comment_field.expr.roc: -------------------------------------------------------------------------------- 1 | { 2 | 3 | # 4 | } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_update.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {Foo.Bar.baz&x: 5, y: 0} 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_update.expr.roc: -------------------------------------------------------------------------------- 1 | { Foo.Bar.baz & x: 5, y: 0 } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_update_comment_before_ampersand.expr.roc: -------------------------------------------------------------------------------- 1 | {i# 2 | &} -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_updater_closure_weirdness.expr.roc: -------------------------------------------------------------------------------- 1 | &rm?\L2->t 2 | +c 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_updater_var_apply.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | foo &bar 5 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_updater_var_apply.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | foo(&bar, 5) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_updater_var_apply.expr.roc: -------------------------------------------------------------------------------- 1 | foo&bar 5 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_with_if.expr.roc: -------------------------------------------------------------------------------- 1 | {x : if Bool.true then 1 else 2, y: 3 } -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_with_lots_of_newlines.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {t # 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/record_with_lots_of_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | {t# 2 | , 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/repr_7342.expr.roc: -------------------------------------------------------------------------------- 1 | ((1# 2 | )Q a:t 3 | n) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_apply_newline.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | return 2 | n 3 | r # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_apply_newline.expr.roc: -------------------------------------------------------------------------------- 1 | return 2 | n 3 | r# -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_empty_assign.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | return # 2 | s 3 | r -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_empty_assign.expr.roc: -------------------------------------------------------------------------------- 1 | return 2 | {}=# 3 | s 4 | r 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_field_access_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | (return.o) 2 | ss -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_in_apply_func.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | ( 2 | return -3e 3 | )(g) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_in_apply_func.expr.roc: -------------------------------------------------------------------------------- 1 | ( 2 | return-3e)g -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_minus_one.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | return -r 2 | 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_minus_one.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | return -r 2 | 3 | 1 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_minus_one.expr.roc: -------------------------------------------------------------------------------- 1 | return-r 2 | 1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_parens_comments.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | return 3 # 2 | # 3 | 4 | Z -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_parens_comments.expr.roc: -------------------------------------------------------------------------------- 1 | return(3# 2 | # 3 | ) 4 | Z 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_then_nested_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | return n 2 | 0 # -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_then_nested_parens.expr.roc: -------------------------------------------------------------------------------- 1 | return n 2 | ((0 3 | )# 4 | ) 5 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_with_after.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | return -1 # 2 | X 3 | s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/return_with_after.expr.roc: -------------------------------------------------------------------------------- 1 | return-1# 2 | X 3 | s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sep_annotation.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | E : i 2 | E = h 3 | 0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sep_annotation.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | E(): i 2 | 3 | E 4 | = h 5 | 0 6 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sep_annotation.expr.roc: -------------------------------------------------------------------------------- 1 | E:i 2 | 3 | E 4 | =h 5 | 0 6 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_arg_closure.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |a| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_arg_closure.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |a| 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_arg_closure.expr.roc: -------------------------------------------------------------------------------- 1 | \a -> 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_arg_with_underscore_closure.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |the_answer| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_arg_with_underscore_closure.expr.roc: -------------------------------------------------------------------------------- 1 | \the_answer -> 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_underscore_closure.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |_| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_underscore_closure.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |_| 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/single_underscore_closure.expr.roc: -------------------------------------------------------------------------------- 1 | \_ -> 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sneaky_and_expr.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | a 2 | ands 3 | d -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sneaky_and_expr.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | a 2 | {} = ands 3 | d 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sneaky_and_expr.expr.roc: -------------------------------------------------------------------------------- 1 | a 2 | {}=ands 3 | d 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_after_opt_field_pat.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | { p ?? m } : J 2 | O -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_after_opt_field_pat.expr.roc: -------------------------------------------------------------------------------- 1 | {p? 2 | m}:J 3 | O 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_before_parens_space_after.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i 2 | 4 # ( -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_before_parens_space_after.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i 2 | 4 3 | # ( 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_before_parens_space_after.expr.roc: -------------------------------------------------------------------------------- 1 | i 2 | (4 3 | )#( -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_only_after_minus.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | x - y -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_only_after_minus.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x - y 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/space_only_after_minus.expr.roc: -------------------------------------------------------------------------------- 1 | x- y -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/spaced_singleton_list.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [1] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/spaced_singleton_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/spaced_singleton_list.expr.roc: -------------------------------------------------------------------------------- 1 | [ 1 ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/spaces_inside_empty_list.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/spaces_inside_empty_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/spaces_inside_empty_list.expr.roc: -------------------------------------------------------------------------------- 1 | [ ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/stmt_parens_minus.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | i 2 | -2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/stmt_parens_minus.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | i 2 | -2 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/stmt_parens_minus.expr.roc: -------------------------------------------------------------------------------- 1 | i 2 | (-2) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/stmts_in_empty_record_assignment.expr.roc: -------------------------------------------------------------------------------- 1 | {}= 2 | p 3 | t 4 | J -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/str_block_multiple_newlines.expr.roc: -------------------------------------------------------------------------------- 1 | """ 2 | 3 | 4 | #"""# -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/str_minus_pnc_call_multiline_str.expr.roc: -------------------------------------------------------------------------------- 1 | "" -""""""() 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/string_without_escape.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | "123 abc 456 def" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/string_without_escape.expr.roc: -------------------------------------------------------------------------------- 1 | "123 abc 456 def" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sub_var_with_spaces.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x - 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sub_var_with_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | x - 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sub_with_spaces.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 - 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sub_with_spaces.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1 - 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/sub_with_spaces.expr.roc: -------------------------------------------------------------------------------- 1 | 1 - 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | Stdout.line??? 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question.expr.roc: -------------------------------------------------------------------------------- 1 | Stdout.line??? -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_nested.expr.roc: -------------------------------------------------------------------------------- 1 | foo? ( bar? baz) ( blah stuff) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tag_pattern.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |Thing| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tag_pattern.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |Thing| 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tag_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | \Thing -> 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tag_union_ann_with_as.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1 : [N (* as S)] 2 | _ -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tag_union_ann_with_as.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1: [N(*as S(),),] 2 | _ 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tag_union_ann_with_as.expr.roc: -------------------------------------------------------------------------------- 1 | 1:[N(*as(S))] 2 | _ 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ten_times_eleven.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 10 * 11 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ten_times_eleven.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 10 * 11 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/ten_times_eleven.expr.roc: -------------------------------------------------------------------------------- 1 | 10*11 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/three_arg_closure.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |a, b, c| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/three_arg_closure.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |abc| 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/three_arg_closure.expr.roc: -------------------------------------------------------------------------------- 1 | \a, b, c -> 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/triple_paren_pat_ann.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | 1(0(0)) f : f 2 | i -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/triple_paren_pat_ann.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 1(0(0 2 | ))(f): f 3 | i 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/triple_paren_pat_ann.expr.roc: -------------------------------------------------------------------------------- 1 | 1((0(0 2 | )))f:f 3 | i 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/triple_quote_craziness.expr.roc: -------------------------------------------------------------------------------- 1 | H""""""=f"""""" 2 | f! 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_blank_in_list.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | L [ 2 | try, # [then2[# 3 | ] -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_blank_in_list.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | L([try # [then2[# 2 | ]) 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_blank_in_list.expr.roc: -------------------------------------------------------------------------------- 1 | L[try#[then2[# 2 | ] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_function_after_pipe.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | "123" 2 | |> try Str.toU64 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_pipe_suffix.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | Str.toU64 "123" |> try -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_pipe_suffix.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | Str.toU64("123",) |> try 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_pipe_suffix.expr.roc: -------------------------------------------------------------------------------- 1 | Str.toU64 "123"|> try 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_plain_prefix.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | try Str.toU64 "123" -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_plain_prefix.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | try(Str.toU64, "123") 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_plain_prefix.expr.roc: -------------------------------------------------------------------------------- 1 | try Str.toU64 "123" 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_subtract.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | try - w -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_subtract.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | try - w 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/try_subtract.expr.roc: -------------------------------------------------------------------------------- 1 | try-w -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_ident.expr.roc: -------------------------------------------------------------------------------- 1 | abc = (1, 2, 3) 2 | abc.0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_record.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | {a: (1, 2)}.a.0 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_record.expr.roc: -------------------------------------------------------------------------------- 1 | { a: (1, 2) }.a.0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_accessor_function.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | .1((1, 2, 3)) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_accessor_function.expr.roc: -------------------------------------------------------------------------------- 1 | .1 (1, 2, 3) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_apply_parens_comment.expr.roc: -------------------------------------------------------------------------------- 1 | ((L 2 | L)L,L)#\ 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/tuple_funcs_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | f: (a, b -> c, d -> e, g) 2 | f 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/two_arg_closure.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | |a, b| 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/two_arg_closure.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | |ab| 42 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/two_arg_closure.expr.roc: -------------------------------------------------------------------------------- 1 | \a, b -> 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/two_branch_when.expr.roc: -------------------------------------------------------------------------------- 1 | when x is 2 | "" -> 1 3 | "mise" -> 2 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/type_ann_tag_union_parens_applies.expr.roc: -------------------------------------------------------------------------------- 1 | 1:[N(H(S 2 | ))] 3 | _ 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/type_signature_def.expr.roc: -------------------------------------------------------------------------------- 1 | foo : Int 2 | foo = 4 3 | 4 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -foo 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation.expr.roc: -------------------------------------------------------------------------------- 1 | -foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_access.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -rec1.field 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_access.expr.roc: -------------------------------------------------------------------------------- 1 | -rec1.field -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_arg.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | whee 12 -foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_arg.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whee(12, -foo) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_arg.expr.roc: -------------------------------------------------------------------------------- 1 | whee 12 -foo -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_with_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | -(whee 12 foo) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_with_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | -(whee(12, foo)) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_negation_with_parens.expr.roc: -------------------------------------------------------------------------------- 1 | -(whee 12 foo) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_not.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | !blah 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_not.expr.roc: -------------------------------------------------------------------------------- 1 | !blah -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_not_with_parens.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | !(whee 12 foo) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_not_with_parens.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | !(whee(12, foo)) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unary_not_with_parens.expr.roc: -------------------------------------------------------------------------------- 1 | !(whee 12 foo) -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/underscore_expr_in_def.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | J : R 2 | n_p -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/underscore_expr_in_def.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | J : R 2 | n_p 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/underscore_expr_in_def.expr.roc: -------------------------------------------------------------------------------- 1 | J:R 2 | n_p 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unicode_overflow_str.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | m "\u(FFFFFF)" s -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unicode_overflow_str.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | m("\u(FFFFFF)", s) 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unicode_overflow_str.expr.roc: -------------------------------------------------------------------------------- 1 | m"\u(FFFFFF)"s 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/unindented_if_in_closure.expr.roc: -------------------------------------------------------------------------------- 1 | \A->if!s!then 2 | f 3 | else-9 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | a : F 2 | F : h 3 | abc -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | a: F 2 | F : h 3 | abc 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.roc: -------------------------------------------------------------------------------- 1 | a:F 2 | F 3 | :h 4 | abc -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_else.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | elsewhere 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_else.expr.roc: -------------------------------------------------------------------------------- 1 | elsewhere -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_if.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | iffy 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_if.expr.roc: -------------------------------------------------------------------------------- 1 | iffy -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_is.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | isnt 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_is.expr.roc: -------------------------------------------------------------------------------- 1 | isnt -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_minus_two.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | x - 2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_minus_two.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | x - 2 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_minus_two.expr.roc: -------------------------------------------------------------------------------- 1 | x-2 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_then.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | thenever 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_then.expr.roc: -------------------------------------------------------------------------------- 1 | thenever -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_when.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | whenever 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/var_when.expr.roc: -------------------------------------------------------------------------------- 1 | whenever -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_comment_after_pattern.expr.roc: -------------------------------------------------------------------------------- 1 | when nns is 2 | O# 3 | ->r -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_comment_bbefore_if.expr.roc: -------------------------------------------------------------------------------- 1 | when 0 2 | is S# 3 | if S->e 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_in_assignment.expr.roc: -------------------------------------------------------------------------------- 1 | x = when n is 2 | 0 -> 0 3 | 42 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_in_binops.expr.roc: -------------------------------------------------------------------------------- 1 | di7e 3 | zl 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_in_list.expr.roc: -------------------------------------------------------------------------------- 1 | [when 2 is 8->[ 2 | ]] 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_in_parens.expr.roc: -------------------------------------------------------------------------------- 1 | (when x is 2 | Ok -> 3 | 3) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_in_parens_indented.expr.formatted.roc: -------------------------------------------------------------------------------- 1 | when x is 2 | Ok -> 3 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_newline_after_condition.expr.roc: -------------------------------------------------------------------------------- 1 | when n 2 | #s 3 | is O->1 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/when_with_numbers.expr.roc: -------------------------------------------------------------------------------- 1 | when x is 2 | 1 -> 2 3 | 3 -> 4 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/where_in_tuple_plain.expr.roc: -------------------------------------------------------------------------------- 1 | 1:A(*where e implements J) * 2 | l 3 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/zero_float.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 0.0 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/zero_float.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-3 Float( 2 | "0.0", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/zero_float.expr.roc: -------------------------------------------------------------------------------- 1 | 0.0 -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/zero_int.expr.migrated.roc: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/zero_int.expr.result-ast: -------------------------------------------------------------------------------- 1 | @0-1 Num( 2 | "0", 3 | ) 4 | -------------------------------------------------------------------------------- /crates/compiler/test_syntax/tests/snapshots/pass/zero_int.expr.roc: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /crates/compiler/uitest/tests/oiop/README.md: -------------------------------------------------------------------------------- 1 | Tests for open-in-output-position semantics. 2 | -------------------------------------------------------------------------------- /crates/compiler/work/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod work; 2 | 3 | pub use work::*; 4 | -------------------------------------------------------------------------------- /crates/compiler/worker/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod worker; 2 | 3 | pub use worker::*; 4 | -------------------------------------------------------------------------------- /crates/glue/platform/File.roc: -------------------------------------------------------------------------------- 1 | module [File] 2 | 3 | File : { name : Str, content : Str } 4 | -------------------------------------------------------------------------------- /crates/glue/tests/fixture-templates/rust/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | host::rust_main(); 3 | } 4 | -------------------------------------------------------------------------------- /crates/glue/tests/fixtures/c/hello-world/app.roc: -------------------------------------------------------------------------------- 1 | app [main] { pf: platform "platform.roc" } 2 | 3 | main = 42 4 | -------------------------------------------------------------------------------- /crates/glue/tests/fixtures/rust/enumeration/app.roc: -------------------------------------------------------------------------------- 1 | app [main] { pf: platform "platform.roc" } 2 | 3 | main = Foo 4 | -------------------------------------------------------------------------------- /crates/reporting/src/error/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod canonicalize; 2 | pub mod expect; 3 | pub mod parse; 4 | pub mod r#type; 5 | -------------------------------------------------------------------------------- /nightly_benches/rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | nightly -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | built-from-source 2 | --------------------------------------------------------------------------------