Thanks to visit codestin.com
Credit goes to github.com

Skip to content

goretkin/FixArgs.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

276 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •