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 |
|
rev |
line source |
0
|
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)
|
|
2 2009-06-24.txt:19:08:39: <Gracenotes> ZipList is mah canonical example
|
|
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
|
|
4 2009-06-26.txt:05:30:49: <pikhq> > fromZipList $ fmap chr $ (+) <$> (fmap ord ['
|