You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Julia package for fixing a given positional argument to a given callable. Intended as a straight improvement upon and stand-in replacement for `Base.Fix` (including `Base.Fix1` and `Base.Fix2`).
11
+
12
+
## Provided functionality
13
+
14
+
The package exports the following bindings:
15
+
16
+
*`Fix`
17
+
18
+
*`Fix1`
19
+
20
+
*`Fix2`
21
+
22
+
The usage is the same as with the `Base` counterparts.
23
+
24
+
## Motivation
25
+
26
+
`Base.Fix` fails to be a zero-cost abstraction when the provided callable or the provided argument to fix are types. `Fix` handles that case as expected:
0 commit comments