Explorer

core.eval-native-part

description
The name for core.eval-builtin-call if core.eval-value runs the part compiled instead of evaluating its expression (core.string-index-of and so on)
type
Fn(id: String) -> Union{#none, #some(String)}
expression
fn(id$0) =>
  match $0 {
    "w094tRBTyBNOZveCCAr7pWE00XAZK__JXyTjHWIgSTo" =>
      #some("native_string_index_of"),
    "4ottsXHHnPazgnuYz8RVzqVutgSCijpu-H8DzJ1WDDs" =>
      #some("native_string_split"),
    "FGvr2Lqq_DUOIh0b2Tmov2xS7F9yc2nZ7CE5xJ4XOX0" =>
      #some("native_string_join"),
    "tE04KgPlnx7ofjrpHtwfQRXHQN3HkveBAxIsXqddGJU" =>
      #some("native_string_replace"),
    _ =>
      #none
  }
visibility
public
core.eval-native-part (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: V66LezOO91LA55O9g8is23V3LJ2I16FXrQ2pSrXj9zY
content hash: G_7FKITDv0joCJJWAdPEYtzakgOM4MKUgR8Ct-GLxC0