All Projects → novalagung → Gubrak

novalagung / Gubrak

Licence: mit
⚙️ Golang functional utility library with syntactic sugar. It's like lodash, but for Go

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gubrak

Aecor
Pure functional event sourcing runtime
Stars: ✭ 299 (-9.12%)
Mutual labels:  functional-programming
Quack
🐤 A multi-paradigm programming language with gradual and duck typing that targets PHP and JS
Stars: ✭ 309 (-6.08%)
Mutual labels:  functional-programming
Effect
effect isolation in Python, to facilitate more purely functional code
Stars: ✭ 324 (-1.52%)
Mutual labels:  functional-programming
Droste
recursion schemes for cats; to iterate is human, to recurse, divine
Stars: ✭ 300 (-8.81%)
Mutual labels:  functional-programming
Coconut
Simple, elegant, Pythonic functional programming.
Stars: ✭ 3,422 (+940.12%)
Mutual labels:  functional-programming
Prelude Ts
Functional programming, immutable collections and FP constructs for typescript and javascript
Stars: ✭ 315 (-4.26%)
Mutual labels:  functional-programming
Funcshell
Improve your shell by making it functional through Haskell! (An update to Awkward)
Stars: ✭ 297 (-9.73%)
Mutual labels:  functional-programming
Swiftz
Functional programming in Swift
Stars: ✭ 3,327 (+911.25%)
Mutual labels:  functional-programming
Shapeless
Generic programming for Scala
Stars: ✭ 3,207 (+874.77%)
Mutual labels:  functional-programming
Vertx Zero
Zero Framework:http://www.vertxup.cn
Stars: ✭ 320 (-2.74%)
Mutual labels:  functional-programming
Awesome Idris
𝛌 Awesome Idris resources
Stars: ✭ 299 (-9.12%)
Mutual labels:  functional-programming
Kocircuit
Ko: A generic type-safe language for concurrent, stateful, deadlock-free systems and protocol manipulations
Stars: ✭ 305 (-7.29%)
Mutual labels:  functional-programming
Lambda Talk
A Flock of Functions: Combinators, Lambda Calculus, & Church Encodings in JS
Stars: ✭ 315 (-4.26%)
Mutual labels:  functional-programming
Virtual Audio Graph
🎶 Library for declaratively manipulating the Web Audio API
Stars: ✭ 299 (-9.12%)
Mutual labels:  functional-programming
Here Be Dragons
An Intellij/Android Studio plugin to help visualise side effects in your code.
Stars: ✭ 325 (-1.22%)
Mutual labels:  functional-programming
Android Cleanarchitecture Kotlin
This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
Stars: ✭ 3,646 (+1008.21%)
Mutual labels:  functional-programming
Functional Fortran
Functional programming for modern Fortran
Stars: ✭ 311 (-5.47%)
Mutual labels:  functional-programming
Underscore Java
java port of Underscore.js
Stars: ✭ 327 (-0.61%)
Mutual labels:  functional-programming
Magic In Ten Mins
十分钟魔法练习
Stars: ✭ 327 (-0.61%)
Mutual labels:  functional-programming
Monio
Async-capable IO monad for JS
Stars: ✭ 311 (-5.47%)
Mutual labels:  functional-programming

Gubrak v2

Gubrak is Go functional utility library with syntactic sugar. It's like lodash, but for Go Programming language.

Go Report Card Build Status Coverage Status

Installation

The latest version of gubrak is v2. Here are the available method to get this library.

  • Using go get from github, for Go Mod-based project:

    go get -u github.com/novalagung/gubrak/v2
    
  • Using go get from github, for $GOPATH-based project:

    go get -u github.com/novalagung/gubrak
    

Usage

Since this library is developed as go module, the versioning system used is the one from Go.

  • For Go Mod-based project:

    import gubrak "github.com/novalagung/gubrak/v2"
    
  • For $GOPATH-based project:

    import "github.com/novalagung/gubrak"
    

Documentation

Hello World Example

Lodash for Golang

APIs

Below are the list of available functions on gubrak:

ChunkCompactConcatCountDifferenceDropDropRightEachEachRightFillFilterFindFindIndexFindLastFindLastIndexFirstForEachForEachRightFromPairsGroupByHeadIncludesIndexOfInitialIntersectionIsArrayIsBoolIsChannelIsDateIsEmptyIsEmptyStringIsFloatIsFunctionIsIntIsMapIsNilIsNumericIsPointerIsSliceIsStringIsStructObjectIsTrueIsUintIsZeroNumberJoinKeyByLastLastIndexOfMapNowNthOrderByPartitionPullPullAllPullAtRandomIntRandomStringReduceRejectRemoveReverseSampleSampleSizeShuffleSizeSortByTailTakeTakeRightUnionUniqWithout

Test

go test -cover -race -v ./... 

Contribution

Fork ➜ Create branch ➜ Commit ➜ Push ➜ Pull Requests

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].