annotate paste/paste.30067 @ 7759:b4341511eb47

<fizzie> ` echo -e \'#! /bin/bash\\ncmd="$1"\\nshift\\nf="$*"\\nif [ -z "$f" && "$f" == *\\\\ * ]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi\\nif [ -z "$f" ]; then echo try: \\\\`f command filename; else "$cmd" "$(< "$f")"; fi\' > bin/f
author HackBot
date Wed, 04 May 2016 21:35:48 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 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)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 2009-06-24.txt:19:08:39: <Gracenotes> ZipList is mah canonical example
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 2009-06-24.txt:19:28:12: <oerjan> augur: i'm talking about a theoretical Monad instance for ZipList, lambdabot doesn't have it
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 2009-06-26.txt:05:30:49: <pikhq> > fromZipList $ fmap chr $ (+) <$> (fmap ord ['