Noogλe

search input

Function of the day

  • Takes 2 arguments

    separator, list

    Concatenate a list of strings with a separator between each element

    Inputs

    sep
    Separator to add between elements
    list
    List of input strings

    Type

    concatStringsSep :: String -> [String] -> String
    

    Examples

    lib.strings.concatStringsSep usage example

    concatStringsSep "/" ["usr" "local" "bin"]
    => "usr/local/bin"