Fairshare between two and more: Difference between revisions
m
→Python :: Functional: updated primitives
m (fixed an HTML tag.) |
m (→Python :: Functional: updated primitives) |
||
Line 1,203:
#
# main :: IO ()
def main():
Line 1,221:
#
# Just :: a -> Maybe a
Line 1,244:
of a series of functions.
'''
return reduce(go, fs, identity)
Line 1,279 ⟶ 1,280:
xShow, fxShow, f, xs
)
# identity :: a -> a
def identity(x):
'''The identity function.'''
return x
|