-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thx, that's what i figured out a moment ago. i am used to allknowing ides

Am 06.09.2011 15:25, schrieb Stefan Kamphausen:
> hi,
> 
> why does clojure want to cast the result to IFn?
> 
> 
> if I parse that correctly, you have two parens around the 
> let-expression.  That leads to Clojure evaluating the
> let-expression, taking the result (which is the return value of the
> line you mentioned: a Boolean) and trying to call that as a
> function.
> 
> Consider:
> 
> user=> ((let [x :dont-care] +) 3 4) 7
> 
> Hope, this helps.
> 
> Stefan
> 
> -- You received this message because you are subscribed to the
> Google Groups "Clojure" group. To post to this group, send email to
> clojure@googlegroups.com Note that posts from new members are
> moderated - please be patient with your first post. To unsubscribe
> from this group, send email to 
> clojure+unsubscr...@googlegroups.com For more options, visit this
> group at http://groups.google.com/group/clojure?hl=en


- -- 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOZiHUAAoJENRtux+h35aGYNEQALHei3B68cM+QR/U4pRC2FkK
cKmHplrziwWcnXysac9cSC9F4mmcDw+JnnYyB4YI4pCb9El8i8E6a53J5GvilOFX
xG8HF6aUxaifticyQS7kpgG47VgeoaT5VKWcpZLFqZM6axSc8MIJ2ArRNCCMZMw3
bLcTEgk0JGWqjeub2b3/pUhFWI23EaCAv4BszKCnGYqhuG847+Ks3Vd0XFO1gKAo
fwEC0QipX2+0T3rrZuF3AjKQpmEN2+iEpE7sTxrgjICXbnEzGAfK395HWc0Kn8KC
+IXI3K2fMkJRB3M1rqRfRf+luxbw48oPgQa/uos/iK4dPcwkODhNCQwq9PFKkNp1
W9j+rLRRm5+n3p/HfIV4GTB3skKY0ij/X00NtsrCE7OM+bs03zAj6qE5ike/bwxv
XEuUSaqR1vR3LgZ5ii6OW1tev1N86cw7Mi7yQBtAFilXEZ/En5dSdEwRTVjDRSoD
nL59wjTNUZUcVTpQ5I4RUTEm8LX+/5d2bU/LHYVjqV49fxY0eDF6f5eMvBXwANo5
I+l/4uf37K3TD+hXGZkh0DcPdxeyltTRoetbtx+OQg64wFxCzz6nxnOytiDInmyD
+k763My95U4Ex9gIxV6r0NSoJb8hcfQEKdru1Liktghc/wMtiBWfuhgRfOO0rZU/
+oP03MYnZzFZD4Hgakz0
=+Tuc
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to