I'm trying to go along with this and I think I'm stuck I really don't know much about functional programming but this
pipe(
undefined,
O.fromNullable,
O.map(({ bar }) => bar)
);
returns a ts error of cannot find name O I would like to know what I'm doing wrong? is there something I'm missing or didn't import to use the options?