Write the simplest function that has the following type signature (or equivalent) and works for all sizes of list: pairList (a -> b) ->(b ->c) -> (a] ->[(b,c)] In Smalltalk: In Elixir: In Haskell: n Rust: Show transcribed image text Write the simplest function that has the following type signature (or equivalent) and works for all sizes of list: pairList (a -> b) ->(b ->c) -> (a] ->[(b,c)] In Smalltalk: In Elixir: In Haskell: n Rust:
Solution
OR
OR