Visualize.VirtualSource.Sandbox.Compiled (Visualize v0.8.1)

Copy Markdown View Source

A stored function checked and compiled once (spec/08 §10.5.3, D-194): hash, the SHA-256 of its source; fun, the closure; arity; and warnings, the compiler's, each {line, message}, printed nowhere.

Summary

Types

t()

@type t() :: %Visualize.VirtualSource.Sandbox.Compiled{
  arity: non_neg_integer(),
  fun: function(),
  hash: String.t(),
  warnings: [{pos_integer() | nil, String.t()}]
}