Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Arrowyz01/csv2logseq_block
/ del_adjacent
Function
del_adjacent
logseq_block2csv.py:8–11 ·
view source on GitHub ↗
(alist)
Source
from the content-addressed store, hash-verified
6
7
# delete adjacent duplicate
8
def
del_adjacent(alist):
9
for
i in range(len(alist) - 1, 0, -1):
10
if
alist[i] == alist[i-1]:
11
del alist[i]
12
13
# syntax
14
symb1 =
'-'
Callers
1
logseq_block2csv.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected