Skip to content

Commit

Permalink
Merge pull request #5 from hyphennn/hyphen/dev
Browse files Browse the repository at this point in the history
update README
  • Loading branch information
hyphennn authored Dec 8, 2023
2 parents 73059c8 + 6b96117 commit 87bd2e7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
Quick Start

```shell
go get github.com/hyphennn/glamda@latest
```

```go
package main

import (
"fmt"

"github.com/hyphennn/glamda/lslice"
)

func main() {
s := []int{1, 1, 4, 5, 1, 4}
ss := lslice.Map(s, func(f int) int {
return f + 1
})
fmt.Println(ss) //[2 2 5 6 2 5]
}
```

Dedicated to providing a go lamda expression library that does not introduce any additional dependencies and only incurs minimal additional performance costs


Expand Down

0 comments on commit 87bd2e7

Please sign in to comment.