Explorer

core.compile-string-data

description
The bytes of the strings of the string table, concatenated (the passive data segment 0 that core.compile-string-init reads)
type
Fn(strings: List<String>, index: Number) -> List<Number>
expression
fn(strings$0, index$1) =>
  match @core.list-get(list: $0, index: $1) {
    #none(_) =>
      [],
    #some(item$1004) =>
      @core.list-concat(
        left: @core.string-to-bytes(value: $1004),
        right: @core.compile-string-data(strings: $0, index: @core.plus(left: $1, right: 1))
      )
  }
visibility
public
core.compile-string-data (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: tAvUQPW-WBjlb2ltCF6WgzjAa8K0Hodutm5sv_44dDs
content hash: 9erOAND2FOKFjbe5jK71X-TjaoADQ5-eLqhX978dTtI