871 reputation
47
bio website
location
age
visits member for 3 years, 1 month
seen 6 mins ago

2h
revised Is it okay to use exceptions as tools to “catch” errors early?
added 1 character in body
Sep
15
answered Is it okay to use exceptions as tools to “catch” errors early?
Aug
22
comment Is there any practical use for the empty type in Common Lisp?
@PauloMadeira The answer is now edited, for the better I hope. Thanks for your comments.
Aug
22
revised Is there any practical use for the empty type in Common Lisp?
added 996 characters in body
Aug
21
revised Is there any practical use for the empty type in Common Lisp?
added 335 characters in body
Aug
21
comment Is there any practical use for the empty type in Common Lisp?
@PauloMadeira Thanks for the detailed explanations, I wasn't aware of this. (1) Does it mean for SBCL that some declarations, like error, will eventually be changed to use (values &optional)? (2) You said that "there is no portable way", yet values is "the only reliable way"; I am little lost here, isn't it portable? (3) you say that since it is impossible to have a value of type nil, the function definition with nil is necessarly wrong: but functions are allowed to not return values; wouldn't signaling an error/warning for the declaration be incorrect, by over-approximation?
Aug
21
revised Is there any practical use for the empty type in Common Lisp?
added 21 characters in body
Aug
21
revised Is there any practical use for the empty type in Common Lisp?
added 700 characters in body
Aug
21
comment Is there any practical use for the empty type in Common Lisp?
@PauloMadeira (i) You might be confusing the NULL type with the NIL type (aka. "empty type"); (ii) It is true that this is an undefined behaviour. I'll edit to make it clear, thanks.
Aug
2
awarded  Yearling
Jul
30
revised Filtering a List
Change to match original question format
Jul
30
revised Filtering a List
added 2 characters in body
Jul
30
revised Filtering a List
added 87 characters in body
Jul
30
answered Filtering a List
Jul
28
revised Is this a candidate for Singleton?
I think "incentive" is the proper word here
Jul
28
suggested suggested edit on Is this a candidate for Singleton?
Jul
18
answered Is there any practical use for the empty type in Common Lisp?
Jun
17
answered How to minimize typos when you code?
May
11
comment Find number of occurrence of a word in a 2D matrix of Characters
Your example does not cover corner cases where multiple occurences overlap (what about a palindromic "TEAMEAT" sequence in the matrix?). If multiple solutions exist, do you want to produce them all or only one?
Apr
21
awarded  Mortarboard