Skip to content

Commit a1bae21

Browse files
committed
palet: remove encoder/decoder proc
1 parent acff85e commit a1bae21

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

auto_editor/lang/stdenv.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
from dataclasses import dataclass
44
from typing import TYPE_CHECKING
55

6-
import bv
7-
86
from auto_editor.analyze import mut_remove_large, mut_remove_small
97
from auto_editor.lib.contracts import *
108
from auto_editor.lib.data_structs import *
@@ -1169,9 +1167,6 @@ def change_file_ext(a: str, ext: str) -> str:
11691167
"string->vector", lambda s: [Char(c) for c in s], (1, 1), is_str
11701168
),
11711169
"range->vector": Proc("range->vector", list, (1, 1), is_range),
1172-
# av
1173-
"encoder": Proc("encoder", lambda x: bv.Codec(x, "w"), (1, 1), is_str),
1174-
"decoder": Proc("decoder", lambda x: bv.Codec(x), (1, 1), is_str),
11751170
# reflexion
11761171
"var-exists?": Proc("var-exists?", lambda sym: sym.val in env, (1, 1), is_symbol),
11771172
"rename": Syntax(syn_rename),

docs/doc.pal

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -814,14 +814,6 @@
814814
)
815815
)
816816
]
817-
"AV" #[
818-
(proc "encoder" '((value str?) any)
819-
(text "Returns av.Codec("'value", mode=\"w\")")
820-
)
821-
(proc "decoder" '((value str?) any)
822-
(text "Returns av.Codec("'value", mode=\"r\")")
823-
)
824-
]
825817
"Reflection" #[
826818
(syntax "quote" "body"
827819
(text

0 commit comments

Comments
 (0)