# dune build --auto-promote @fmt # OCAMLPARAM: unset # Shared cache: disabled # Workspace root: /usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld # Auto-detected concurrency: 8 $ /usr/home/sforman/.opam/default/bin/ocamlc.opt -config > /tmp/dune_9b5fa0_output # Dune context: # { name = "default" # ; kind = "default" # ; profile = Dev # ; merlin = true # ; for_host = None # ; fdo_target_exe = None # ; build_dir = "default" # ; toplevel_path = # Some External "/usr/home/sforman/.opam/default/lib/toplevel" # ; ocaml_bin = External "/usr/home/sforman/.opam/default/bin" # ; ocaml = Ok External "/usr/home/sforman/.opam/default/bin/ocaml" # ; ocamlc = External "/usr/home/sforman/.opam/default/bin/ocamlc.opt" # ; ocamlopt = Ok External "/usr/home/sforman/.opam/default/bin/ocamlopt.opt" # ; ocamldep = Ok External "/usr/home/sforman/.opam/default/bin/ocamldep.opt" # ; ocamlmklib = # Ok External "/usr/home/sforman/.opam/default/bin/ocamlmklib.opt" # ; env = # map # { "DUNE_OCAML_HARDCODED" : "/usr/home/sforman/.opam/default/lib" # ; "DUNE_OCAML_STDLIB" : "/usr/home/sforman/.opam/default/lib/ocaml" # ; "DUNE_SOURCEROOT" : # "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld" # ; "INSIDE_DUNE" : # "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/default" # ; "MANPATH" : # "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/bin" # ; "OCAMLFIND_IGNORE_DUPS_IN" : # "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/lib" # ; "OCAMLPATH" : # "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/lib" # ; "OCAMLTOP_INCLUDE_PATH" : # "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/lib/toplevel" # ; "OCAML_COLOR" : "always" # ; "OPAMCOLOR" : "always" # } # ; findlib_paths = [ External "/usr/home/sforman/.opam/default/lib" ] # ; arch_sixtyfour = true # ; natdynlink_supported = true # ; supports_shared_libraries = true # ; ocaml_config = # { version = "4.14.0" # ; standard_library_default = "/usr/home/sforman/.opam/default/lib/ocaml" # ; standard_library = "/usr/home/sforman/.opam/default/lib/ocaml" # ; standard_runtime = "the_standard_runtime_variable_was_deleted" # ; ccomp_type = "cc" # ; c_compiler = "cc" # ; ocamlc_cflags = # [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ] # ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] # ; ocamlopt_cflags = # [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ] # ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] # ; bytecomp_c_compiler = # [ "cc" # ; "-O2" # ; "-fno-strict-aliasing" # ; "-fwrapv" # ; "-pthread" # ; "-fPIC" # ; "-D_FILE_OFFSET_BITS=64" # ] # ; bytecomp_c_libraries = [ "-lm"; "-lpthread" ] # ; native_c_compiler = # [ "cc" # ; "-O2" # ; "-fno-strict-aliasing" # ; "-fwrapv" # ; "-pthread" # ; "-fPIC" # ; "-D_FILE_OFFSET_BITS=64" # ] # ; native_c_libraries = [ "-lm" ] # ; native_pack_linker = [ "ld"; "-r"; "-o" ] # ; cc_profile = [] # ; architecture = "amd64" # ; model = "default" # ; int_size = 63 # ; word_size = 64 # ; system = "freebsd" # ; asm = [ "cc"; "-c" ] # ; asm_cfi_supported = true # ; with_frame_pointers = false # ; ext_exe = "" # ; ext_obj = ".o" # ; ext_asm = ".s" # ; ext_lib = ".a" # ; ext_dll = ".so" # ; os_type = "Unix" # ; default_executable_name = "a.out" # ; systhread_supported = true # ; host = "x86_64-unknown-freebsd12.3" # ; target = "x86_64-unknown-freebsd12.3" # ; profiling = false # ; flambda = false # ; spacetime = false # ; safe_string = true # ; exec_magic_number = "Caml1999X031" # ; cmi_magic_number = "Caml1999I031" # ; cmo_magic_number = "Caml1999O031" # ; cma_magic_number = "Caml1999A031" # ; cmx_magic_number = "Caml1999Y031" # ; cmxa_magic_number = "Caml1999Z031" # ; ast_impl_magic_number = "Caml1999M031" # ; ast_intf_magic_number = "Caml1999N031" # ; cmxs_magic_number = "Caml1999D031" # ; cmt_magic_number = "Caml1999T031" # ; natdynlink_supported = true # ; supports_shared_libraries = true # ; windows_unicode = false # } # } $ (cd _build/default && /usr/home/sforman/.opam/default/bin/ocamlformat --impl bin/main.ml) > _build/default/bin/.formatted/main.ml $ /usr/local/bin/git --no-pager diff --no-index --color=always -u _build/default/bin/main.ml _build/default/bin/.formatted/main.ml > diff --git a/_build/default/bin/main.ml b/_build/default/bin/.formatted/main.ml > index 2fcd04c..fd4a636 100644 > --- a/_build/default/bin/main.ml > +++ b/_build/default/bin/.formatted/main.ml > @@ -14,11 +14,11 @@ let zero = JoyInt 0 > let dummy = JoyList [ joy_true; joy_false; j_loop; zero ] > > let rec joy_to_string jt = > - match jt with > - | JoySymbol sym -> sym > - | JoyTrue -> "true" > - | JoyFalse -> "false" > - | JoyInt i -> string_of_int i > - | JoyList el -> "[" ^ (String.concat " " (List.map joy_to_string el)) ^ "]";; > + match jt with > + | JoySymbol sym -> sym > + | JoyTrue -> "true" > + | JoyFalse -> "false" > + | JoyInt i -> string_of_int i > + | JoyList el -> "[" ^ String.concat " " (List.map joy_to_string el) ^ "]" > > let () = print_endline (joy_to_string dummy) [1]