Re:The Idea of Lisp
by theseoafs on Friday December 16, 2016 @01:46PM
(#13195625)
`void` in C does not have a value. You can't make a variable and put a void in it because there is no such object as "void".
[ Parent
| on HN ]
Re:The Idea of Lisp
by Ericson2314 on Saturday December 17, 2016 @10:18AM
(#13200989)
That is an artificial restriction if C. Also see how ! In Rust is also loosing it's artificial restrictions.
Indeed, and there has been some talk of removing this restriction in C++ because it makes certain kinds of metaprogramming a lot more cumbersome than they should be.
Re:The Idea of Lisp
by jimktrains2 on Friday December 16, 2016 @03:51PM
(#13196689)
Yes, and () isn't void; the poster above me is wrong. Void is...the absence of a type? It's awkward.
However, () and Unit are.