ligo/src/test/contracts/expected/string_arithmetic.religo

6 lines
169 B
Plaintext
Raw Normal View History

2020-06-03 12:41:26 +02:00
let size_op = (s: string): nat => String.length(s);
let slice_op = (s: string): string => String.sub(1n 2n s);
let concat_syntax = (s: string) => s ++ "test_literal";