mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
Add Bytes
This commit is contained in:
parent
ed96ca9420
commit
dea05ef6e8
4 changed files with 6 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue