List::insert
Insert an item to a given index.
Type
insert :: [a] -> Int -> a -> [a]
Examples
l = [1, 2, 3].insert$(-2, 5)
println$(l)
Insert an item to a given index.
insert :: [a] -> Int -> a -> [a]
l = [1, 2, 3].insert$(-2, 5)
println$(l)