These are books, grouped by author name, that I have read or re-read in the past couple of years and that I think other people might enjoy.
Ann Leckie
- Ancillary Justice
- Ancillary Sword
- Ancillary Mercy
- Provenance
Grammar: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
| do | |
| local log = hs.logger.new('mutation', 'info') | |
| local cmd_shift = {"cmd", "shift"} | |
| -- Mute or unmute the speaker according to the truth of t. | |
| local function mute(t) | |
| return string.format("set volume %s output muted", | |
| t and "with" or "without") | |
| end |
| #!/usr/bin/env bash | |
| ## | |
| ## Usage: install-go.sh [<version>] | |
| ## e.g.: install-go.sh 1.22.3 | |
| ## | |
| ## If a version is omitted, the latest available release is installed. | |
| ## | |
| ## By default, the script installs a precompiled toolchain for the specified OS | |
| ## and architecture. Set SOURCE=1 to build from source instead. Source builds | |
| ## require a bootstrap toolchain, which the script will fetch if needed. |
When a Go package defines a concrete type to implement some interface, it is common to ask the compiler to verify that your type satisfies the desired interface, e.g.,
package mything
import "some/other/pkg"
// Concrete implements pkg.Interface using a pellucid ammonite in