SRFI 231 Issue of the day: Naming convention Bradley Lucier (12 Jan 2022 16:48 UTC)
Re: SRFI 231 Issue of the day: Naming convention Arthur A. Gleckler (12 Jan 2022 16:59 UTC)
Re: SRFI 231 Issue of the day: Naming convention Jens Axel Søgaard (12 Jan 2022 17:00 UTC)
Re: SRFI 231 Issue of the day: Naming convention Bradley Lucier (12 Jan 2022 17:15 UTC)

Re: SRFI 231 Issue of the day: Naming convention Bradley Lucier 12 Jan 2022 17:14 UTC

I forgot to include specialized-array? in the list.

On 1/12/22 12:00 PM, Jens Axel Søgaard wrote:
> What's the convention in Gambit?

Good question, I list all the public names with ? at the end of this email.

It seems a mixed bag.  I suppose

make-array, make-interval, make-storage-class, make-specialized-array

and

array?, mutable-array?, specialized-array?

are consistent enough, even with all the other names having the object
type first.

Brad

heine:~> gsi
Gambit v4.9.4-1-g9c01e393

 > (apropos '?)
<internal names omitted>
empty namespace:
   abandoned-mutex-exception?, address-info?, all-bits-set?,
   any-bits-set?, binary-port?, bit-set?, boolean=?, boolean?, box?,
   bytevector?, cfun-conversion-exception?, char-alphabetic?,
   char-ci<=?, char-ci<?, char-ci=?, char-ci>=?, char-ci>?,
   char-lower-case?, char-numeric?, char-ready?, char-upper-case?,
   char-whitespace?, char<=?, char<?, char=?, char>=?, char>?, char?,
   circular-list?, complex?, condition-variable?, continuation?,
   datum-parsing-exception?, deadlock-exception?,
   display-dynamic-environment?, divide-by-zero-exception?,
   dotted-list?, eof-object?, eq?, eq?-hash, equal?, equal?-hash,
   eqv?, eqv?-hash, error-exception?, error-object?, even?,
   exact-integer?, exact?, expression-parsing-exception?, f32vector?,
   f64vector?, file-error?, file-exists-exception?, file-exists?,
   file-info?, finite?, fixnum-overflow-exception?, fixnum?, fleven?,
   flfinite?, flinfinite?, flinteger?, flnan?, flnegative?, flodd?,
   flonum?, flpositive?, flzero?, foreign-released?, foreign?,
   fxbit-set?, fxeven?, fxnegative?, fxodd?, fxpositive?, fxzero?,
   group-info?, heap-overflow-exception?, host-info?,
   inactive-thread-exception?, inexact?, infinite?,
   initialized-thread-exception?, input-port-open?, input-port?,
   integer?, invalid-hash-number-exception?,
   invalid-utf8-encoding-exception?, join-timeout-exception?,
   keyword-expected-exception?, keyword?, length-mismatch-exception?,
   list?, mailbox-receive-timeout-exception?,
   module-not-found-exception?, multiple-c-return-exception?, mutex?,
   nan?, negative?, network-info?,
   no-such-file-or-directory-exception?, noncontinuable-exception?,
   nonempty-input-port-character-buffer-exception?,
   nonprocedure-operator-exception?,
   not-in-compilation-context-exception?, not-pair?, null-list?,
   null?, number-of-arguments-limit-exception?, number?, odd?,
   os-exception?, output-port-open?, output-port?, pair?,
   permission-denied-exception?, port?, positive?, procedure?,
   processor?, promise?, proper-list?, protocol-info?,
   random-source?, range-exception?, rational?, read-error?,
   readtable-case-conversion?, readtable-case-conversion?-set,
   readtable-eval-allowed?, readtable-eval-allowed?-set,
   readtable-keywords-allowed?, readtable-keywords-allowed?-set,
   readtable-sharing-allowed?, readtable-sharing-allowed?-set,
   readtable-write-cdr-read-macros?,
   readtable-write-cdr-read-macros?-set,
   readtable-write-extended-read-macros?,
   readtable-write-extended-read-macros?-set, readtable?, real?,
   repl-display-environment?, rpc-remote-error-exception?,
   s16vector?, s32vector?, s64vector?, s8vector?,
   scheduler-exception?, service-info?, sfun-conversion-exception?,
   socket-info?, stack-overflow-exception?,
   started-thread-exception?, string-ci<=?, string-ci<?, string-ci=?,
   string-ci=?-hash, string-ci>=?, string-ci>?, string<=?, string<?,
   string=?, string=?-hash, string>=?, string>?, string?, symbol=?,
   symbol?, table?, terminated-thread-exception?, test-bit-field?,
   textual-port?, thread-group?, thread-state-abnormally-terminated?,
   thread-state-initialized?, thread-state-normally-terminated?,
   thread-state-running?, thread-state-uninitialized?,
   thread-state-waiting?, thread?, time?, tty?, type-exception?,
   u16vector?, u32vector?, u64vector?, u8-ready?, u8vector?,
   unbound-global-exception?, unbound-key-exception?,
   unbound-os-environment-variable-exception?,
   unbound-serial-number-exception?, uncaught-exception?,
   uninitialized-thread-exception?, uninterned-keyword?,
   uninterned-symbol?, unknown-keyword-argument-exception?,
   unterminated-process-exception?, user-info?, vector?, will?,
   wrong-number-of-arguments-exception?,
   wrong-number-of-values-exception?,
   wrong-processor-c-return-exception?, zero?