further type checking fixes

This commit is contained in:
Adrian Mariano
2021-03-14 12:08:20 -04:00
parent 35c2d7df42
commit 737baed34c
5 changed files with 32 additions and 45 deletions

View File

@@ -421,8 +421,8 @@ turtle state: sequence of transformations ("path") so far
function _turtle3d_state_valid(state) =
is_list(state)
&& is_list_of(state[0],ident(4))
&& is_list_of(state[1],ident(4))
&& is_consistent(state[0],ident(4))
&& is_consistent(state[1],ident(4))
&& is_num(state[2])
&& is_num(state[3])
&& is_num(state[4]);