langfield

Results 135 comments of langfield

This is one user's (opinionated) vote for sticking with "jujutsu".

I think perhaps it would be good to have a feature request for this in full scope that lives somewhere, even if it's closed as "requires funding", just so that...

> Note that changing the decorators order (`beartype`/`with_secret`) seems to work but prevents use cases such as the `beartype` decorator being added automatically. So is this the automatic decoration of...

Perhaps this sort of thing ought to be handled within `assert` statements.

@posita I agree, it may not be worth implementing. See here https://github.com/beartype/beartype/issues/82#issuecomment-1003613985: >Perhaps this sort of thing ought to be handled within assert statements. At the end of the day,...

Off-topic: @posita As for the mess that is the README for that repo: really I'm partial to just straight LaTeX/JaX snippets, but I figured it might be useful to readers...

@leycec I love your choice of name, `IsArgumentative`. That's much better. It's hard for me to decide which of your proposed variants I like best. Perhaps if users show interest...

Closing as the above discussion suggests it isn't a great idea to implement this at the moment.

**Update.** So after doing some more reading, validating 'against other arguments to a function' actually has a name in the literature. A type that is relative to a value, or...

Huh, this actually looks pretty promising. The one messy bit is that you need to provide the arguments as strings, which is a little gross. There is an alternative, which...