Verifying my understanding of psychotic bastard:
set x: fn (b) : cons : 't (cons 'b ())
is a valid way to say
(set x (fn (b) (cons (' t) (cons (' b) ()))))
Correct?
Verifying my understanding of psychotic bastard:
set x: fn (b) : cons : 't (cons 'b ())
is a valid way to say
(set x (fn (b) (cons (' t) (cons (' b) ()))))
Correct?
| Currently true code samples? | |
| ----- | |
| set x: fn (b): cons 't (cons 'b ()) ===> (set x (fn (b) (cons (' t) (cons (' b) ())))) | |
| set x: fn (b): cons 't: cons 'b () ===> (set x (fn (b) (cons (' t) (cons (' b) ())))) | |
| ----- | |
| set def: | |
| '('name ... 'code | |
| leak: really name | |
| set (really name) code) | |
| and | |
| set def: | |
| '(('name ... 'code): | |
| leak: really name | |
| set (really name) code) | |
| (set def | |
| (' (((' name) ... (' code)) | |
| (leak (really name)) | |
| (set (really name) code)))) | |
| [MAYBE this, too: | |
| set def: | |
| '('name ... 'code | |
| leak: really name | |
| set (really name) code)] | |
| ----- |
I had a code sketch for if/else that was a pretty naive 4 lines long. I put in a working but hideous version tonight via def-keyword. It weighed in at around 50 lines, two of which were
; OMG HACKS
and
; END OMG
I'm taking this as a sign that I haven't got def-keyword right yet.
Every possible method for doing
if/elseis completely and utterly wrong and I despise each of them, individually, for the hateful snowflakes they truly are.