Mercurial > repo
view paste/paste.30067 @ 8001:faebf4569ba3
<b_jonas> `` echo $\'#!/bin/sh\\nexec perl -e\\\'\'\'open$I,"<","share/mtg/allsets.txt"or die$!;$/=""; @c=grep{/(?i:$ARGV[0])/}<$I>; print $c[rand($c)];\'\\\'\' "$1"\' > bin/random-card && chmod -v a+x bin/random-card
author | HackBot |
---|---|
date | Mon, 09 May 2016 08:32:52 +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 ['