freenode/#lisp - IRC Chatlog
Search
23:30:54
Bike
with the gray streams extension, you can define methods on the stream-read-byte function.
0:35:19
Bike
because that's exactly what gray streams provides, and most implementations support the extension.
1:15:11
Bike
is "metamorphosis" the name of a library or are you referring to butterfly development or what
1:27:58
edgar-rft
one can perfectly morph in 1 dimension, so methamorphosis must not necessarily be complex
2:00:25
caltelt
Is there anything similar to clojure's edn for cl? A way to read in a safe subset of the language that can be used for data transfer, conf files, etc?
2:04:41
edgar-rft
there's read-line returning one line as a string plus a parser for safe tokens, to be written by *you*
2:34:19
Bike
that doesn't mean anything. it's not returning true because (getf emp1 :gender) will be the list (QUOTE MALE).
10:34:09
makomo_
edgar-rft: regarding your comment about feedback paths -- yes, it's possible to model those as well since pins can be used as input, output or both
10:37:32
mrcom
What's the type declaration for (defun baz (f) (declare (type <<??? something that accepts foo>> f))) ?
10:49:38
mrcom
That's what I wound up doing :/ But the better really, really hates losing to the good.
10:51:00
trittweiler
I'd be surprised if there's a compiler that does anything more with that specification in praxis that it wouldn't do with (declare (type function f))
10:52:42
mrcom
I'm looking more for type checking than optimizing. SBCL definitely checks when it compiles apply or funcall.
10:54:04
trittweiler
When you declare a parameter to be a function, and you funcall that parameter, the compiler doesn't need to go through an implicit call to fdefinition. (As symbols and lists of form '(setf foo) are also callable)