Effect CommunityEC
Effect Community16mo ago
8 replies
Tickle Me Pink

Multiple parameters in pipe/flow with Effect-ts and/or fp-ts

What's the construct I need to have something like this:
pipe(
  ["hello", "world", 3],
  (s: string, s2: string, n: number) => {
    //s === "hello"
    //s2 === "world"
    //n === 3
  }
)
Was this page helpful?