freenode/#lisp - IRC Chatlog
Search
13:18:42
I729
i know there is something on stackoverflow but for me with Haskell as my second main language I thought about how to make recursive algebraic data types
13:19:26
phoe
Lisp types cannot refer to themselves because Lisp types are mostly based on set theory
13:20:39
phoe
there is a loophole named SATSFIES that lets you do more creative things, but it comes at a cost - compilers cannot optimize those types well
16:57:10
flip214
with UIOP:launch-program, can I have arbitrary file handles passed on? Ie. create a socketpair or pipe and pass one end as FD 17 or whatever?
18:13:19
etimmons
flip214: not portably. All implementations I'm aware of either close all extra file handles without a way to override (e.g., SBCL) or pass all of them on without a way to override (e.g., ECL)
18:14:51
etimmons
But if an implementation allows you to configure that, you can add the necessary keyword args to UIOP:LAUNCH-PROGRAM. It passes all unknown args through to the implementation, IIRC
0:11:45
no-defun-allowed
srji: Somewhat late, but SETF came from SETFQ, which was something like "set function quoted" as the "function" place you'd set would appear quoted like SETQ.
0:16:57
White_Flame
it seems that :EXTERNAL-FORMAT is passed into the dispatcher, which then ends up in an ECASE looking for :STREAM-EXTERNAL-FORMAT, all in sbcl's main code
0:19:36
White_Flame
(this call is being made by some old code I'm running, but crashes standalone in a clean image under slime as well)