Get dvms working better

This commit is contained in:
Jon Staab
2024-11-21 16:42:26 -08:00
parent 2fbcfc59a1
commit 976aa375cd
3 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export const identity = <T>(x: T, ...args: unknown[]) => x
export const always = <T>(x: T, ...args: unknown[]) => () => x
export const not = (x: boolean, ...args: unknown[]) => !x
export const not = (x: any, ...args: unknown[]) => !x
export const num = (x: Maybe<number>) => x || 0