Today we're going to start creating a small HTTP 1.1 library in Common Lisp. Specifically, for Steel Bank Common Lisp. Source Code: gitlab.com/pbohun/tinynet
I came back for a second watch! after revisiting a lisp book trying to understand some topics I had not, I remembered this series and wanted to see some lisp in action!!
A tip, for you or/and the reader: the C-c C-y shortcut in Slime pre-writes a function call on the REPL for the function the point is in, and places the cursor so than you only have to write the parameters. It adds the package prefix if needed, with one : or two :: as required. Quite handy, it allows to quickly test functions at the REPL with less typing :]
Thanks for the video!!! Super awesome. If there is any light backlog for requests, could you add a simple project like this mixed in with some 'how-to-emacs' stuff? I find material that gets your hands dirty with both at the same time as few/far-between as it is necessary.
Excellent series! You would have caught the cd/cdr and "format nil" typos earlier with a C-c C-c on the functions (but I would have expected the quickload to show the warnings too 🤔).
Do you really need the lambda wrapping `header->string`? Couldn't you just do `(map header->string headers)` ? I don't write CL so I don't know if this is supported or idiomatic.