Skip to content
#

closures

Here are 100 public repositories matching this topic...

Arkoniak
Arkoniak commented Apr 22, 2020

Not sure whether it's a bug or wrong usage of Underscores.jl, but following example fails

v = [(x = rand(), y = rand()) for _ in 1:10]
@_ v |> sum(_.x, __) / length(__)

ERROR: MethodError: no method matching /(::var"#56#58"{Array{NamedTuple{(:x, :y),Tuple{Float64,Float64}},1}}, ::Int64)
Closest candidates are:
  /(::Missing, ::Number) at missing.jl:115
  /(::BigInt, ::Union{Int

Improve this page

Add a description, image, and links to the closures topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the closures topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.