(_: void)
| 506 | |
| 507 | /** @internal */ |
| 508 | export const getMonoid = <A>(_: void): monoid.Monoid<DocTree.DocTree<A>> => { |
| 509 | return { |
| 510 | empty, |
| 511 | combine: (self, that) => concat(Arr.make(self, that)), |
| 512 | combineMany: (self, trees) => concat(Arr.fromIterable([self, ...trees])), |
| 513 | combineAll: (trees) => concat(Arr.fromIterable(trees)) |
| 514 | } |
| 515 | } |
| 516 | |
| 517 | /** @internal */ |
| 518 | export const Covariant: covariant.Covariant<DocTree.DocTree.TypeLambda> = { |