Michał "phoe" Herda
Michał "phoe" Herda
Can you also modify https://github.com/phoe/safe-read/blob/master/test.lisp#L111-L119 to use this non-interactive mode? These tests are buggy, as in, the DX stream objects may get cached which leads to undefined behavior.
Only ECL seems affected - https://gitlab.com/embeddable-common-lisp/ecl/-/issues/675
Fix: http://clhs.lisp.se/Body/f_mk_i_1.htm
This is not yet solved - the lambda list for the function still contains question mark arguments. SQL statement: ```sql -- name: add-player-into-player-group @execute -- Adds a player to a...
Also, in case of the following query: ```sql INSERT INTO players_groups (player_id, other_player_id, player_group_id, is_owner) VALUES(?player_id, ?player_id, ?player_group_id, ?is_owner); ``` I would expect the lambda list to contain only three...
Oh. Okay then - let me replace them with underscores.
I have been able to work around this via explicit casting. ```sql -- name: check-selection SELECT ?::boolean AS p; ``` ```lisp SQL/TEST> (check-selection t) ((T)) ```
On another thought, square brackets might make sense in there, as long as they do not conflict with any kind of SQL array accesses. Something like: ```sql :limit[10] :sort{ASC,DESC}[ASC] ```...
> Clozure seems to discard the docstrings of lambdas What do you mean? How exactly do you set the documentation of an anonymous function? The canonical way mentioned by http://clhs.lisp.se/Body/f_docume.htm...
I can see multiline docstrings as required in SBCL. ```lisp GATEWAY/SQL> (describe 'select-players-by-display-name) GATEWAY/SQL:SELECT-PLAYERS-BY-DISPLAY-NAME [symbol] SELECT-PLAYERS-BY-DISPLAY-NAME names a compiled function: Lambda-list: (CL-YESQL/STATEMENT::?0 &KEY (CL-YESQL-USER::LIMIT (REQUIRED-ARGUMENT 'CL-YESQL-USER::LIMIT))) Derived type: (FUNCTION (T...