Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/PyWhile-0.1.7/pywhile/output.py   PyWhile(Download)
from .executor import Nil, Cons, nil, hd, tl
from .exceptions import AtomicError
def identity(i):
    return i
 
def list(i):
    o = []
    while i != nil:
        o.append(hd(i))
        i = tl(i)