Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/lutilPublic

Commitbeb4e8c

Browse files
committed
Updated README and CI/CD.
1 parentff78341 commitbeb4e8c

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

‎.github/workflows/cicd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
otp_version:['24.3', '25.3', '26.0']
21+
otp_version:['26', '25', '24']
2222

2323
steps:
2424
-uses:actions/checkout@v3
@@ -54,7 +54,7 @@ jobs:
5454
# * https://github.com/lfe/rebar3/issues/82
5555
# * https://github.com/erlang/rebar3/issues/2817
5656
#otp_version: ['20.3', '21.3', '22.3', '23.3']
57-
otp_version:['21.3', '22.3', '23.3']
57+
otp_version:['23', '22', '21']
5858

5959
steps:
6060
-uses:actions/checkout@v3

‎README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ In your `rebar.config` file, update your `deps` section to include
4747

4848
```erlang
4949
{deps, [
50-
{lutil,"0.14.0"}}}
50+
{lutil,"0.15.0"}}}
5151
]}
5252
```
5353

@@ -57,6 +57,8 @@ In your `rebar.config` file, update your `deps` section to include
5757

5858
For the modules, usage is the same as any other Erlang or LFE library :-)
5959

60+
Some example usage:
61+
6062
```cl
6163
> (lutil-math:dot-product '(1 2 3) '(4 5 6))
6264
32
@@ -66,14 +68,20 @@ For the modules, usage is the same as any other Erlang or LFE library :-)
6668
> (lutil-tuple:cat (list (tuple 1 2) (tuple 3 4) (tuple 5 6)))
6769
#(1 2 3 4 5 6)
6870
69-
> (lutil:uuid4 (tuple 'type "list"))
70-
"f790b655-f139-46d5-08e5-faf132bdd62a"
71-
> (lutil:uuid4 (tuple 'type "atom"))
72-
8ecd6cc2-8580-4ab6-3fc1-8135ed9bb28c
73-
> (lutil:uuid4 (tuple 'type "binary"))
74-
#B(51 49 53 56 102 52 53 54 45 50 51 55 56 45 52 51 56 54 45 50 57 56 ...)
75-
> (lutil:uuid4)
76-
#B(99 101 102 102 54 53 97 50 45 48 57 55 49 45 52 50 49 49 45 50 52 ...)
71+
lfe> (lutil-list:chunks (lists:seq 1 32) 8 #(by-parts))
72+
((1 2 3 4)
73+
(5 6 7 8)
74+
(9 10 11 12)
75+
(13 14 15 16)
76+
(17 18 19 20)
77+
(21 22 23 24)
78+
(25 26 27 28)
79+
(29 30 31 32))
80+
lfe> (lutil-list:chunks (lists:seq 1 32) 8 #(by-length))
81+
((1 2 3 4 5 6 7 8)
82+
(9 10 11 12 13 14 15 16)
83+
(17 18 19 20 21 22 23 24)
84+
(25 26 27 28 29 30 31 32))
7785
```
7886

7987
###Macros[↟](#contents)
@@ -90,7 +98,7 @@ added to the [LFE stdlib][clj docs]!
9098
BSD 3-Clause License
9199

92100
```
93-
Copyright © 2013-2023, Duncan McGreggor <oubiwann@gmail.com>
101+
Copyright © 2013-2024, Duncan McGreggor <oubiwann@gmail.com>
94102
Copyright © 2016, Eric Bailey <eric@ericb.me>
95103
Copyright © 2015, arpunk <arpunk@cryptolab.net>
96104
osense <krupicka.adam@gmail.com>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp