uncurry

package
v0.0.0-...-e3f2fdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New is a constructor for the uncurry code generator. This generator should be reconstructed for each package.

func NewPlugin

func NewPlugin() derive.Plugin

NewPlugin creates a new uncurry plugin. This function returns the plugin name, default prefix and a constructor for the uncurry code generator.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL