(module main)

(fn label () -> string
  "standard")

(fn echo ((value string)) -> string
  value)

(fn label_len () -> i32
  (std.string.len (echo "standard")))

(test "std string equality"
  (= (echo "standard") "standard"))

(test "std string byte length"
  (= (label_len) 8))

(fn main () -> i32
  (std.io.print_string (echo "standard"))
  (std.io.print_bool (= (echo "standard") "standard"))
  (std.io.print_i32 (std.string.len "standard"))
  0)
