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 -> Char -> String -> String
def justifyLeft(n, s):
return (s + (n * ' '))[:n]
9,659

edits