husky

package module
v0.0.0-...-ac7182d Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 0 Imported by: 0

README

husky

A Haskell-like set of functions in pure Golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any[V any](xs []V, fn func(V) bool) bool

func Elem

func Elem[T comparable](collection []T, element T) bool

func Filter

func Filter[V any](xs []V, fn func(V) bool) []V

func Foldl

func Foldl[T any, R any](initial R, xs []T, fn func(R, T) R) R

func ForEach

func ForEach[T any](xs []T, fn func(T))

func Map

func Map[T any, R any](xs []T, fn func(T) R) []R

func Not

func Not(b bool) bool

func Take

func Take[T any](n int, xs []T) []T

Types

This section is empty.

Jump to

Keyboard shortcuts

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