Search
6:46:37
phantomics
Is there a way to specify the return type of a (lambda)? As with declaring a ftype for a named function
6:47:29
beach
You mean of an anonymous function?
7:01:38
_death
just declare its type, possibly even use THE?
7:03:25
phantomics
Like (the type (lambda () ...))?
7:04:51
jdz
http://www.lispworks.com/documentation/HyperSpec/Body/t_fn.htm
7:08:27
phantomics
So for instance (the (function ((unsigned-byte 32)) (unsigned-byte 32)) (lambda (x) ...))
7:11:01
jdz
Or (let ((fun (lambda (x) ...))) (declare (type (function ((unsigned-byte 32)) (unsigned-byte 32)) fun)) ...).
9:25:17
contrapunctus
https://news.ycombinator.com/item?id=32948969
9:26:07
contrapunctus
> The AP5 Specification Language for Common Lisp
9:28:36
beach
All I see is an empty box.
9:29:10
mfiano
That is for comments on the link above it?
9:29:20
pjb
beach: The actual link is https://oceanpark.com/ap5.html