FixArgs.jl

Author goretkin
Popularity
19 Stars
Updated Last
9 Months Ago
Started In
June 2020

FixArgs

Dev Build Status Coverage

This package aims to generalize Base.Fix1 and Base.Fix2 for arbitrary function arities and binding patterns with a type Fix. Fix can also include keyword arguments. One day, parts of this package may be included in Julia's Base itself; see issue #36181.

See the documentation for more detail and examples.

Related features in other languages:

Video

A lightning talk about this package was presented at JuliaCon 2021.

JuliaCon 2021 talk recording

Development

Julia line coverage information in VS Code

First generate .cov files:

using Pkg
Pkg.test("FixArgs"; coverage=true)

Then

using Coverage
coverage = process_folder()
open("lcov.info", "w") do io
    LCOV.write(io, coverage)
end;

Finally, Open a source file in VS Code and run the command "Coverage Gutters: Display Coverage" in the VS Code Command Pallet.

Used By Packages

No packages found.