if[@[1b; `.access.enabled;0b]; ('"controlaccess.q already active";exit 1) ]
This throws a type error every time and is horrible behavior to rely on.
It relies on q applying 1b to something that it knows can never succeed , so that you get your fallback value.
PeachQ would prefer to error on the 1b itself as a bad argument.
|
if[@[1b; `.access.enabled;0b]; ('"controlaccess.q already active";exit 1) ] |
This throws a type error every time and is horrible behavior to rely on.
It relies on q applying 1b to something that it knows can never succeed , so that you get your fallback value.
PeachQ would prefer to error on the 1b itself as a bad argument.
TorQ/code/handlers/permissions.q
Line 4 in 7e77714