Skip to content

Instantly share code, notes, and snippets.

Madeleine Udell madeleineudell

Block or report user

Report or block madeleineudell

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
@MikeInnes
MikeInnes / startup.jl
Last active Sep 10, 2019
Some useful macros for Julia
View startup.jl
# Repeat an operation n times, e.g.
# @dotimes 100 println("hi")
macro dotimes(n, body)
quote
for i = 1:$(esc(n))
$(esc(body))
end
end
end
You can’t perform that action at this time.