Trying out larl parser
This commit is contained in:
2
ziffers/common.py
Normal file
2
ziffers/common.py
Normal file
@ -0,0 +1,2 @@
|
||||
def flatten(arr) -> list:
|
||||
return flatten(arr[0]) + (flatten(arr[1:]) if len(arr) > 1 else []) if type(arr) is list else [arr]
|
||||
Reference in New Issue
Block a user