Mercurial > repo
view paste/paste.937 @ 3903:0f6dc05fb0d4
<boily> echo -e "#!/usr/bin/env python\\n# -*- encoding: utf-8 -*-\\nimport sys\\nimport unicodedata\\ntry:\\n print u\'\'.join(map(unicodedata.lookup, sys.argv[1:])).encode(\'utf-8\')\\nexcept KeyError:\\n print u\'\xc3\x9a\xc5\x84\xe1\xb8\xb1\xc5\x84\xc3\xb3\xe1\xba\x83\xc5\x84 \xc4\x87h\xcc\x81\xc3\xa1\xc5\x95\xc3\xa1\xc4\x87t\xcc\x81\xc3\xa9\xc5\x95.\'" >bin/unicode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 15:24:35 +0000 |
parents | e314d3f7858d |
children |
line wrap: on
line source
2011-05-26.txt:07:23:39: <oerjan> (for really compact point-free code, you want to import at least Control.Applicative, Control.Arrow and Control.Monad.Instances) 2011-10-26.txt:00:23:55: <evincar> Pointfree just feels nicer, but in applicative languages it's less readable. 2011-12-13.txt:23:50:27: <oerjan> kallisti: a free applicative defined with a GADT, for example 2011-12-14.txt:00:12:39: <oerjan> also i rethought my definition of a free applicative 2012-09-10.txt:00:02:15: <oerjan> `pastelogs free.*applicative 2012-09-10.txt:00:05:04: <oerjan> `pastelogs free.*applicative