Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/listcomp.py
140:37644d46a414
2:3dff1f10598f
2016-10-27
Paul Boddie
raw
annotate
files
changeset
graph
Renamed the bool class to boolean, adding a bool function to test objects. Introduced various native methods to support boolean and other operations.
1
def
f
(
l
,
y
):
2
return
[
x
for
x
in
l
if
x
>
y
]
3
4
result
=
f
([
1
,
2
,
3
],
2
)