package
Version:
v0.0.0-...-e3f2fdf
Opens a new window with list of versions in this module.
Published: Mar 9, 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 curry contains the implementation of the curry plugin, which generates the deriveCurry function.
The deriveCurry function curries the first two parameters of the input function.
deriveCurry(f func(A, B, ...) T) func(A) func(B, ...) T
New is a constructor for the curry code generator.
This generator should be reconstructed for each package.
NewPlugin creates a new curry plugin.
This function returns the plugin name, default prefix and a constructor for the curry code generator.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.