const program = search({
query: 'Should I buy a new car?',
freshness: 'none',
count: 10,
}).pipe(
Effect.andThen((data) => data.web.results),
Effect.andThen(extractAll),
Effect.tap((data) => console.log(data)),
);
const program = search({
query: 'Should I buy a new car?',
freshness: 'none',
count: 10,
}).pipe(
Effect.andThen((data) => data.web.results),
Effect.andThen(extractAll),
Effect.tap((data) => console.log(data)),
);