Skip to content

Instantly share code, notes, and snippets.

Carlos Fernando Baptista CFBaptista

Block or report user

Report or block CFBaptista

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@CFBaptista
CFBaptista / test_skipat.jl
Created Jul 12, 2019
Testing an iterator for skipping a particular index in a for loop
View test_skipat.jl
using Base.Iterators
using Base: @propagate_inbounds
#-------------------------------------------------------------------------------
# Iterator
#-------------------------------------------------------------------------------
struct SkipAt{I}
iter::I
skip::Int
You can’t perform that action at this time.