Commit graph

8 commits

Author SHA1 Message Date
Simon Brooke dc3e85946c
Merge pull request #1 from seancorfield/patch-1
Update README.md
2023-06-11 07:25:35 +01:00
Simon Brooke e25d93bde9
Merge pull request #2 from seancorfield/patch-2
Ensure gecos string has at least two fields
2023-06-11 07:24:56 +01:00
Sean Corfield 63125d6ee5
Ensure gecos string has at least two fields
For a `gecos` string like `,,,`, `clojure.string/split` produces `[]` so `interleave` produces an empty result (it stops on the shortest sequence) and so the `apply assoc` fails with two few arguments.

This ensures that the `gecos` string will always produce a non-empty result from the `split` so the rest works.

Note that `(split "a,,," #",")` produces `["a"]` -- the empty trailing elements are ignored/dropped.
2023-06-10 22:58:19 -07:00
Sean Corfield 08dc3dbd98
Update README.md
Fix required ns name
2023-06-10 22:54:05 -07:00
Simon Brooke 2bce582c5a
Sigh. Essentially, only documentation was wrong. Upversioned to 1.0.1. 2023-06-10 13:27:38 +01:00
Simon Brooke 475f7aa0e6
Now works on (my) Windows; upversioned to 1.0.0 2023-06-10 12:07:16 +01:00
Simon Brooke c3004ea93a
Mainly making the code more elegant. Actual problems not solved. 2023-06-09 11:51:32 +01:00
Simon Brooke bc68d186cd Initial commit 2023-06-08 08:19:40 +01:00