Alexander Burger a...@software-lab.de writes:
Hi Alex,
sorry for being thick as a brick ...
Well, 'bind' is the evaluating version of 'let'. It could be used to
implement the outher functions.
I'll check that out.
What you probably mean is something different. It is a different way of
Hi Rick + Thorsten,
On Sat, Aug 08, 2015 at 11:43:03PM +0200, Thorsten Jolitz wrote:
Rick Hanson cryptor...@gmail.com writes:
Yeah, sorry. I had this on the mind -- a different animal altogether.
$ sbcl
* (let ((X (+ 3 4))) `(hello ,X ,(- X 9)))
(HELLO 7 -2)
Maybe I was
Thorsten Jolitz tjol...@gmail.com
writes:
Hi Alex,
When I quote the reference:
,
| A single backquote character ` will cause the reader to evaluate
| the following expression, and return the result.
|
| : '(a `(+ 1 2 3) z)
| - (a 6 z)
`
it looks to me as if the difference
Alexander Burger a...@software-lab.de writes:
Hi Alex,
uhh ... bad timing from my side, writing more confused question while
you are actually answering them at the same time...
Either
: (let X (+ 2 3) (list 3 4 X)) # I would prefer a simple 'list'
- (3 4 5)
or
: (let X (+ 2 3)
Hi Thorsten,
I have to try fill, and think more about the whole issue, but the last
version with @X looks pretty close to what I'm looking for.
Ah, yes, didn't think about that when I wrote the last mail. This is
also a possibility:
(de g Lst
(fill Lst) )
(setq @Temp 33)
(g
Thorsten Jolitz tjol...@gmail.com
writes:
Hi List,
This comes pretty close to what I was looking for, thanks. The only
drawback is that normal parens (and double quotes) are very common in
text so a lot of escaping would be necessary. Something like this:
(g Current temperature in Berlin
A subtle change in the definition. Added two quote marks.
(de if-let Args
## Better than anaphoric `if` because you can name the test result
## yourself.
(let ((@Pattern Test @Then @Else) Args
@Test-Result (eval Test))
(eval
(fill
'(if '@Test-Result
(let
hi all,
I totally dont like it. I vote.
All this useless.
Can you write here #Usage examples of (if-let) in current language feature
set?
Coder already have all needed, like in forth.
If coder want, it have all required to implement this by himself.
Like reduce and - from clojure I've used to
Please unsubscribe me.
I really just wanted to follow progress on the Picolisp cpu.
If you have a pciolisp cpu announce list, then please add me to it.
Chris
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Christopher,
On Mon, Aug 10, 2015 at 07:17:12AM +0200, Christopher Lozinski wrote:
Please unsubscribe me.
Please send a message with the subject Unsubscribe to the list.
♪♫ Alex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Rick,
thanks for the ideas :)
However, as Mike Pechkin wrote, I do also believe that such a construct
is rather useless.
The examples are too simple. They can be easily rewritten as:
(if-let X 13 (- X 1) 0) #- 12
(if 13 (dec @) 0)
(if-let X 13 (- X 1)) #- 12 # you can leave
11 matches
Mail list logo