Currying: Difference between revisions
m
Python - edited comment line
m (Python - edited comment line) |
|||
Line 1,361:
# A plain uncurried function with 2 arguments,
# justifyLeft :: Int
def justifyLeft(n, s):
return (s + (n * ' '))[:n]
|