Re: [racket-users] Scribbling hexadecimal values

2020-09-18 Thread Eric Griffis
Hi Dominik, If you put the hex number in a string, many of the formatting functions in the Scribble manual, section 4.2.1.4 will work: (proc-doc/names name (->* () (integer?) void?) (() ((argument #,(racketvalfont "#x1f" @{ some description })) Eric On Fri, Sep 18, 2020

[racket-users] querying MS SQL Server with db-lib (ODBC)

2020-09-18 Thread Jin-Ho King
Does anyone have experience using Racket to query a MS SQL Server? I'm attempting to use the db-lib package (https://docs.racket-lang.org/db/) and odbc-driver-connect, but running the method just hangs, with no feedback. By contrast, using the same connection string, I can successfully connect

Re: [racket-users] Scribbling hexadecimal values

2020-09-18 Thread Ben Greenman
+1 For now, I've used hacks like `(string->number "#x...")` for typesetting https://docs.racket-lang.org/pict-abbrevs/index.html On 9/18/20, Dominik Pantůček wrote: > Hello Racketeers, > > I am struggling to make scribble typeset default values in > proc-doc/names in hexadecimal. An example

[racket-users] Scribbling hexadecimal values

2020-09-18 Thread Dominik Pantůček
Hello Racketeers, I am struggling to make scribble typeset default values in proc-doc/names in hexadecimal. An example would be: (proc-doc/names name (->* () (integer?) void?) (() ((argument #x1f))) @{ some description }) ; yes, at-exp reader The same applies to values in nested

[racket-users] [racket users] Naming conventions

2020-09-18 Thread Kevin Forchione
Hi guys, Racket has some naming conventions that I’ve come across: parameters prefixed with “current-“, class and interfaces suffixed with % and <%> respectively. I’ve not stumbled across one for structs yet. Suppose I have a circle struct and want to distinguish this from the http/image