check out the clojurian egg too: http://wiki.call-cc.org/eggref/4/clojurian
martin
On Thu, Nov 6, 2014 at 6:21 PM, Sungjin Chun chu...@gmail.com wrote:
Thank you. Though I'm not sure on my code is in good style, I managed to
convert my
code to chicken scheme like this;
(set-read-syntax!
Thank you, what I miss from clojure is its uniform or homoiconic(?) style of
sequence accessing; so one does not have to check current sequence is whether
list or vector or others. I'd like to create macro or something for this. :-)
Sent from my iPhone
On Nov 7, 2014, at 5:16 PM, Martin
NeXT chu...@gmail.com writes:
Thank you, what I miss from clojure is its uniform or homoiconic(?)
style of sequence accessing; so one does not have to check current
sequence is whether list or vector or others. I'd like to create macro
or something for this. :-)
This is called a generic
Wow, thank you.
Sent from my iPhone
On Nov 7, 2014, at 10:03 PM, Moritz Heidkamp mor...@twoticketsplease.de
wrote:
NeXT chu...@gmail.com writes:
Thank you, what I miss from clojure is its uniform or homoiconic(?)
style of sequence accessing; so one does not have to check current
On Fri, 7 Nov 2014, Moritz Heidkamp wrote:
NeXT chu...@gmail.com writes:
Thank you, what I miss from clojure is its uniform or homoiconic(?)
style of sequence accessing; so one does not have to check current
sequence is whether list or vector or others. I'd like to create macro
or something
Hi,
I've rather impressed on Clojure's easy to use hash and vector/array, I've
written
and used these macros in my lisp code. Now I want to convert them for
chicken.
(set-macro-character
#\{
(lambda (stream char)
(declare (ignore char))
(let ((*readtable* (copy-readtable *readtable*
Hi Sungjin,
These are typically referred to as reader extensions in the Scheme
world: http://api.call-cc.org/doc/library#sec:Reader_extensions
You'll probabably want `set-read-syntax!` in particular:
http://api.call-cc.org/doc/library/set-read-syntax!
Cheers,
Evan
Thank you. Though I'm not sure on my code is in good style, I managed to
convert my
code to chicken scheme like this;
(set-read-syntax!
#\[
(lambda (port)
(let loop ((c (peek-char port)) (exps '()))
(cond ((eof-object? c)
(error EOF encountered while parsing [ ... ] clause))