Skip to content

Instantly share code, notes, and snippets.

View ribeirotomas1904's full-sized avatar

Nathanael Ribeiro ribeirotomas1904

  • Fortaleza - CE
View GitHub Profile
@ribeirotomas1904
ribeirotomas1904 / kr-errata-2nd-edition.txt
Created April 13, 2024 17:20 — forked from ttilley/kr-errata-2nd-edition.txt
Errata for The C Programming Language, Second Edition
Errata for The C Programming Language, Second Edition
This lists all known errors in The C Programming Language, Second Edition, by Brian Kernighan and Dennis Ritchie (Prentice-Hall, 1988).
The pagination of the book has changed only in minor ways across printings of the English-language edition. These errata now include section numbers, which are more likely to be preserved across translations. This might help identify errors that survive into translated editions.
Changes between first and second printing:
The first printing of the book was made before the Standard was finalized; these copies say "Based on Draft-Proposed ANSI C" on the front cover. All subsequent printings are identified by a large red ``ANSI C'' on the right center of the cover. Fortunately, the changes are minor; some repair our bugs, a few account for last-minute changes in the draft standard. These changes were made so early that they probably do not apply to you.
[<RequireQualifiedAccess>]
type Type =
| Unit
| Bool
| Int
| Sum of (string * Type list) list
[<RequireQualifiedAccess>]
type Pattern =
| Variable of string
// fsharplint:disable MemberNames
namespace Feliz.UsePersist
open Feliz
open Browser.WebStorage
open Thoth.Json
[<RequireQualifiedAccess>]
type StorageOption =
| Local