Add Bytes

This commit is contained in:
Shunsuke Shibayama 2023-01-16 10:37:08 +09:00
parent ed96ca9420
commit dea05ef6e8
4 changed files with 6 additions and 5 deletions

View file

@ -45,6 +45,7 @@ impl Context {
NoneType,
);
let t_bin = nd_func(vec![kw("n", Int)], None, Str);
// TODO: overload: Iterable(Int) -> Bytes
let t_bytes = nd_func(
vec![kw("str", Str), kw("encoding", Str)],
None,