Bruno BELANYI
0e7c0531f5
lib: string: remove unused 'let' block
2023-05-03 15:02:44 +00:00
Bruno BELANYI
3c6e8933a1
lib: attrs: add 'merge'
2023-02-25 01:43:07 +00:00
Bruno BELANYI
3eb1dc086b
lib: fix formatting
2022-06-22 16:06:58 +02:00
Bruno BELANYI
8bf601a6aa
lib: strings: add 'mkMailAddress'
2021-10-12 17:53:23 +02:00
Bruno BELANYI
62adfd5055
lib: add strings
2021-10-12 17:53:10 +02:00
Bruno BELANYI
d813d85af8
lib: remove 'with self;'
2021-09-24 01:21:57 +02:00
Bruno BELANYI
9473cff408
lib: modules: refactor 'mapModules'
...
Introduce the recursive version of this function, then refactor to
reduce repetition.
2021-09-24 01:21:57 +02:00
Bruno BELANYI
2b0b6f2004
lib: modules: document 'mapModules'
2021-09-24 00:26:28 +02:00
Bruno BELANYI
8ce123c527
lib: attrs: add 'recursiveMerge'
2021-09-23 22:11:25 +02:00
Bruno BELANYI
906202b222
lib: lists: add countValues
2021-08-26 15:54:13 +02:00
Bruno BELANYI
7d2c43d157
lib: lists: add 'mapFilter'
2021-08-26 15:54:13 +02:00
Bruno BELANYI
9690b0b14b
lib: attrs: add renaming functions
2021-05-08 17:14:13 +02:00
Bruno BELANYI
af317ac156
lib: attrs: document functions
2021-05-08 17:14:13 +02:00
Bruno BELANYI
b30d574069
lib: attrs: add genAttrs' function
2021-05-08 17:14:13 +02:00
Bruno BELANYI
49232423ca
lib: ip: verify ip is valid in 'check'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
0112dd87ac
lib: ip: add 'isValidIp4'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
5a06ab74bb
lib: ip: add 'nth' utility to 'parseSubnet4'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
1968285d0a
lib: ip: add 'nthInRange4'
...
And use it to refactor 'rangeIp4'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
63d28c4ae2
lib: ip: add 'rangeIp4'
...
The `range` attribute is not very useful by itself. However this
generator can convert it into a list of all addresses in the given
range.
2021-04-25 12:39:17 +00:00
Bruno BELANYI
ad006bf2b8
lib: add ip
2021-04-25 12:39:17 +00:00
Bruno BELANYI
5b646ec174
lib: options: add mkDisableOption
2021-03-14 12:18:09 +00:00
Bruno BELANYI
331b7cf8e3
lib: create 'my' extensions
...
Inspired by this [1] repo, I want to add some functions to `lib.my`. I
would have liked to make it work without having to use an overlay, but I
did not manage to do it...
[1]: https://github.com/hlissner/dotfiles
2021-03-14 12:18:09 +00:00