package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package uncurry contains the implementation of the uncurry plugin, which generates the deriveUncurry function.
The deriveUncurry function uncurries the input function.
deriveUncurry(f func(A) func(B, ...) T) func(A, B, ...) T
New is a constructor for the uncurry code generator.
This generator should be reconstructed for each package.
NewPlugin creates a new uncurry plugin.
This function returns the plugin name, default prefix and a constructor for the uncurry code generator.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.