Provide shortcuts for common take idioms #287
|
Since the following two den.lib.take.exactly({host}: ...)
den.lib.take.atLeast({host, user}: ...)Why not provide shortcuts for them under den.lib.host aspect
den.lib.user aspectSo that den.lib.host = aspect: den.lib.take.exactly({host}@ctx: fixedTo ctx aspect)
den.lib.user = aspect: den.lib.take.exactly({host, user}@ctx: fixedTo ctx aspect)Not sure about the names, but this is the idea. |
Answered by
vic
Mar 16, 2026
Replies: 2 comments 1 reply
|
I support the idea and suggest (like |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implementation and tests at #288