Brandon Bloom@BrandonBloom·Dec 10, 2021kebab-case-identifers?neverOK7.9%(ideal-for a-lisp)67.4%always-ok(even, here)24.7%89 votes·Final results103
Brandon Bloom@BrandonBloom·Dec 10, 2021For folks voting "always-ok", have you seen it anywhere in the wild?8
Brandon Bloom@BrandonBloom·Dec 10, 2021Nice! I see that in the Koka book: https://koka-lang.github.io/koka/doc/book.html#sec-identifiers… but can't find evidence of it for Nix... Am I looking in the wrong place?1
Brendan Zabarauskas@brendanzab·Dec 11, 2021Oh, to be clear, in Nix they are 'always allowed' but generally only used as identifiers for packages names, by convention. To be honest I'd prefer they were always used though! https://nixos.org/guides/nix-pills/basics-of-language.html#idm140737320586816…11
Brendan Zabarauskas@brendanzabReplying to @brendanzab and @BrandonBloomOh I should also add that Agda allows dashes in identifiers. Whether they are used is a matter up author discretion though (I'm not sure if any precise programming standards exist).12:11 AM · Dec 11, 2021·Twitter Web App1 Like
Brendan Zabarauskas@brendanzab·Dec 11, 2021Replying to @brendanzab and @BrandonBloomAlso add Twelf to the list: https://cs.cmu.edu/~twelf/guide-1-4/twelf_2.html#SEC6… For an example of it in use: http://twelf.org/wiki/Proving_metatheorems:Representing_the_judgements_of_the_natural_numbers… - other characters are also allowed, so using `/` is a common idiom in identifiers: http://twelf.org/wiki/Linear_logic…