On Sunday, 8 June 2014 17:24:56 UTC+1, jongiddy  wrote:

> # would work with UFCS
> f.readlines().map(int).min(key=lambda n: n % 
> 10).str().b64encode(b'?-').print()

Ooops - map is the wrong way round to support UFCS in this case.  However, with 
UFCS, I could fix this by changing it to smap, and defining:

def smap(seq, func):
   return map(func, seq)
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to