Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp.py
206:1a64c775111a
2:3dff1f10598f
2016-11-22
Paul Boddie
raw
annotate
files
changeset
graph
Fixed fragment allocation in the native functions and added some list and buffer operations, extending the buffer class. Eventually, buffer and list may be combined in some way.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)