Pipe vs Flow for type inference
Why can't
flow provide similar inference to pipe? What would be the workaround?flowpipeimport { pipe, flow } from "effect";
const x = pipe("WEE" as const, (c) => c);
// ^- narrowed to "WEE"
const y = flow((c) => c)("WEE" as const);
// ^- unknown