def singleton(string):
    """
    Return a list with a single member.
    Useful when collecting result of parsers chained by `seq`.
    """
    # interesting alternative names: capture, lift
    return [string]