News for hackers. Stuff that matters.
Re:Currying by bPspGiJT8Y on Monday April 08, 2024 @10:26AM (#39970071)
This function would use an anonymous record:

    splitString :: { pattern :: String, string :: String } -> Array String
    splitString { pattern, string } = ...
This function would use positional arguments:

    splitString :: Pattern -> String -> Array String
    splitString pattern string = ...

There are no comments on this comment yet.