IRC channel logs
2023-02-19.log
back to list of logs
<lechner>specifically, "web/http.scm:252:2: In procedure parse-non-negative-integer: Bad non-negative-integer header component: 31536000;max-age=0" <mirai>they're using semi-colons instead of commas <mirai>guile is doing it right™ by throwing exception IMO <cow_2001>maybe i should tell #gnu or #fsf about that? or some mailing list. they love mailing lists. <mwette>so dumb that dsssl was replaced by xslt <cow_2001>okay okay. you cannot re-(define) a procedure's argument. <old>eeh (format #f "~p" 0) => "s" <old>Why is that? Plural means >= 2 no? <old>the manual says: plural != 1 <old>I'm no linguist, but I think this is wrong <old>eeh maybe this is english specific <pussipupu>It depends on what number inflections your language has <pussipupu>Many languages have singular, dual and plural for instance <old>I know that in french plural means >= 2, thus zero is singular <old>thanks for the precision. TIL that zero is plural in english. <old>minus one something? <old>we would write it as "moins une pomme" == "-1 apple" <old>and "une pomme" == "1 apple" <old>But "deux pommes" == "2 apples" <old>and "zéro pomme" == "0 apples" <old>And so I guess "1.5 apples" also? <pussipupu>Finnish is a bit weird(to me) in that for nominative noun phrases with specific numbers other than one, the number is in the nominative singular and the noun is in the partitive singular <cow_2001>i have a symbol. how do i get the value associated with it? <lilyp>cow_2001: (module-ref some-module the-symbol) ? <cow_2001>there is module-symbol-interned? and stuff <cow_2001>hmm. get-line in ice-9's textual-ports does not include new lines. if i do something like `printf 'moo' | some-cat-like-guile-program` and it is running at a loop around get-line, you have to do something like a `(display line) (newline)` at each iteration, it would print a new line even through `printf 'moo' | cat` would not