This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-syntax (type-case stx) | |
(define (add-huh s) | |
(datum->syntax stx (string->symbol (string-append (symbol->string (syntax-e s)) "?")))) | |
(syntax-case stx () | |
[(_ val | |
[(ty field ...) body] | |
...) | |
(with-syntax ([(p ...) (map add-huh (syntax-e #'(ty ...)))]) | |
#'(let ([v val]) | |
(cond |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
stat() { | |
local lsout="$(ls -ld "$1" 2>/dev/null)" | |
case "$lsout" in | |
"") nex=1; fil= ; dir= ;; | |
d*) nex= ; fil= ; dir=1 ;; | |
*) nex= ; fil=1; dir= ;; | |
esac | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timing multiple value return techniques | |
running automated test. | |
noMultipleValues time 431 | |
noMultipleValues time 419 | |
noMultipleValues time 427 | |
noMultipleValues time 429 | |
noMultipleValues time 421 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timing multiple value return techniques | |
running automated test. | |
noMultipleValues time 433 | |
noMultipleValues time 426 | |
noMultipleValues time 412 | |
noMultipleValues time 412 | |
noMultipleValues time 417 | |
noMultipleValues time 416 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timing multiple value return techniques | |
running automated test. | |
noMultipleValues time 4131 | |
noMultipleValues time 4133 | |
noMultipleValues time 4128 | |
noMultipleValues time 4204 | |
noMultipleValues time 4122 | |
noMultipleValues time 4121 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define EXIT_STATUS EXIT_FAILURE | |
#include "true.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg width="30cm" height="9cm" viewBox="0 0 1000 300" version="1.1" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<!-- show outline of canvas --> | |
<rect x="1" y="1" width="998" height="298" | |
fill="none" stroke="red" stroke-width="2"/> | |
<path d="M 0 150 L 1000 150" stroke="red" stroke-width="1"/> | |
<path d="M 500 0 L 500 300" stroke="red" stroke-width="1"/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.^ | |
' | | |
| | |
| | |
--+-- |
OlderNewer