View Source Dune.Success (dune v0.3.8)

A struct returned when Dune evaluation succeeds.


  • value (term): the value which was actually returned at runtime. Should not be displayed to the user, might be different from what the user expects.
  • inspected (string): safely inspected value to be displayed to the user
  • stdio (string): captured standard output

value contains the actual value used at runtime, so atoms will be different from the ones displayed to the user (see Dune.eval_string/2).



@type t() :: %Dune.Success{inspected: String.t(), stdio: binary(), value: term()}