view paste/paste.30067 @ 5129:7d19c0f4d970

<b_jonas> echo $\'#!/usr/bin/perl\\n\'\'$_=shift;sub k{my$t;$t=~y/IVXLC/XLCDM/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$$t=$_;$t}k for s""\\$"..4e3;print eval(),$/\' > bin/fromroman && chmod a+x bin/fromroman
author HackBot
date Fri, 14 Nov 2014 21:22:56 +0000
parents e037173e0012
children
line wrap: on
line source

2009-06-24.txt:19:07:27: <oerjan> also i have seen so few applicatives that aren't usually extended right on to monads, the only one coming to mind is ZipList (and i recall concluding even those _had_ a monad extension in principle)
2009-06-24.txt:19:08:39: <Gracenotes> ZipList is mah canonical example
2009-06-24.txt:19:28:12: <oerjan> augur: i'm talking about a theoretical Monad instance for ZipList, lambdabot doesn't have it
2009-06-26.txt:05:30:49: <pikhq> > fromZipList $ fmap chr $ (+) <$> (fmap ord ['