FixFunctionArgument.jl: Fix a function positional argument to a callable. Stand-in replacement for Base.Fix

Suboptimal design in Base.Fix, also applying to Base.Fix1 and Base.Fix2, causes things like Base.Fix1(convert, Bool) to have a greater than zero representation in memory, because Bool isa Type. Fixing this in Base would be arguably breaking, so here’s a new package providing a stand-in replacement to Base.Fix, Base.Fix1, Base.Fix2. The design is meant to be a straight improvement over Base.Fix, without unnecessary changes.

The package has now entered the three-day waiting period, after which it can be registered.

Here’s also the relevant issue ticket on Github:

Update:

10 Likes