annotate wisdom/last-class function @ 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 2a5158257e21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6935
2a5158257e21 <oerjan> ` sed -i \'s/$/. It can, however, be pointed at, derisively./\' wisdom/\'last-class function\'
HackBot
parents: 6934
diff changeset
1 A last-class function is a function that cannot be passed as an argument, accept a function as an argument, be returned by a function, return a function, set to a variable other than its initial name, or be called. It can, however, be pointed at, derisively.