Skip to content

charlie572/infinite_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinite List

A list that spans infinitely in both directions

Values can be set and retrieved using functions, subscripts, or slices.

Using slices with steps other step values e.g. li[0:10:2] is not implemented yet.

Usage

from infinite_list import InfiniteList

li = InfiniteList()
li[0] = 'a'
li[1:4] = 'b', 'c', 'd'
li[-7] = 'z'
li[2:] = 'w'
li[:5] = 'q'

About

A list that spans infinitely in both direction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages