Function
toSet
(self: Supervisor.Supervisor<any>)
Source from the content-addressed store, hash-verified
| 141 | |
| 142 | /** @internal */ |
| 143 | const toSet = (self: Supervisor.Supervisor<any>): HashSet.HashSet<Supervisor.Supervisor<any>> => { |
| 144 | if (Equal.equals(self, supervisor.none)) { |
| 145 | return HashSet.empty() |
| 146 | } else { |
| 147 | if (supervisor.isZip(self)) { |
| 148 | return pipe(toSet(self.left), HashSet.union(toSet(self.right))) |
| 149 | } else { |
| 150 | return HashSet.make(self) |
| 151 | } |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | /** @internal */ |
| 156 | export const diff = ( |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…