4 lines
101 B
Nix
4 lines
101 B
Nix
{nib, ...}: {
|
|
badType = expect: x:
|
|
throw "Expected type ${expect} but got ${nib.typeOf x}.";
|
|
}
|