Skip to content

Commit 2d19fc9

Browse files
committed
propagators/boolean -- inverter
1 parent 82d420a commit 2d19fc9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

TODO.md

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
> https://github.com/cicada-lang/propagator/issues/4
66
7-
propagators/boolean -- inverter
87
propagators/boolean.test -- inverter
98

109
propagators/conditional -- conditional & conditionalWriter

src/propagators/boolean.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { not } from "../generics/boolean.js"
2+
import { definePrimitive } from "../propagator/index.js"
3+
4+
export const inverter = definePrimitive(2, not)

0 commit comments

Comments
 (0)