MCPcopy Create free account
hub / github.com/coldtype/coldtype / ch

Method ch

test/test_runon.py:299–302  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

297 self.assertEqual(r.sum(), [2, 3, 4])
298
299 def ch(a):
300 def _ch(ro):
301 ro / (lambda p: p.update(p.v + a))
302 return _ch
303
304 r = Runon(1, 2, 3)
305 r | ch(2)

Callers 15

dip_penFunction · 0.80
waveFunction · 0.80
_displayFunction · 0.80
previewMethod · 0.80
nshowFunction · 0.80
precomposeMethod · 0.80
cropMethod · 0.80
rasterizeMethod · 0.80
_rasterizeFunction · 0.80
_mod_pixelsFunction · 0.80
_vector_pixelsFunction · 0.80
_warpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected