map (\\${element} -> ${element}) ${collection}
      Haskell language logo


      Haskell public recipes

      When you use the map function, it takes two arguments. The first argument is a variable name and the second argument is a function. The map function will call the function every time it is invoked with the same variable name as the first argument. The function will receive the value of the variable as the argument.

      Shortcut: map


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.