Skip to content

Instantly share code, notes, and snippets.

@jonniedie
Created November 18, 2022 04:35
Show Gist options
  • Save jonniedie/96d26d218295cc4edd05fea8d69d7662 to your computer and use it in GitHub Desktop.
Save jonniedie/96d26d218295cc4edd05fea8d69d7662 to your computer and use it in GitHub Desktop.
function deep_access(sol, names...)
return map(sol.u) do u
reduce(Base.maybeview, names; init=u)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment