Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp.py
347:17317598efd2
2:3dff1f10598f
2016-12-08
Paul Boddie
raw
annotate
files
changeset
graph
Added support for fopen and opening files. Moved common stream functionality into the __builtins__.file module. Moved common type checking functionality into the __builtins__.types module.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)