-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 06.09.2011 16:28, schrieb Meikel Brandmeyer (kotarak): > > Am Dienstag, 6. September 2011 15:57:16 UTC+2 schrieb Mark > Rathwell: > > You want an anonymous function: > > (fn [x] (= x 2)) > > or the equivalent shorthand form: > > #(= % 2) > > Or even more short-hand: #{2} (for all 2s not in #{nil false}) > > Scary.
too scary. = % 2 is just right. > > Sincerely Meikel > > > > -- 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/ iQIcBAEBAgAGBQJOZjOCAAoJENRtux+h35aGWtoQANQYreEZ89NTmsYIEwKCzTpp EVgOz22QNCL+AfxfCDZ0rfPSBrsE1vWi7DJCUZv7TDJNGsvr7sT8FjbeE4FOtJp6 afV5GDqxOTTjP5xi7db3Cc9XbHorodLyfvpfqfkoOxkjkj+yjrqXfgTISteMjvjF 6gtlDFUpLwc9Q6gbt4o+521JE4TABlcEUhzJyGzHmdg9c7vxD1GtQLno5uBA5Dih SvNjBbrujKyxvkii2Eaoupg12PVMdYsETjl+GpFcQWkLyfDteivwsBfVbtBLF7sM 8p+qhqm44hGp/d820vZwCYNTeA8NaGm4Zrnm9ksETFAClHIfzu+x8RwtVB6IaTUy wBMkewSEt1ixbNn7xRbraCsR6LFatcsbIlx99VLGFUq5q0Vl/8Eco3uhL7R/x1kI qaInDHa+dYksl81paEPu9LhX5kLITLNfZU1yQ1TstA4G0N9W6bX8sKt1bdQ2HDZo QIIGylSg/x8NBuhzAUDWd8VqoUK+G4JbRfqiHBifLB/hfAwK1THeb4iI4hDjpk3n 2YkdS/i061Az/d50zncOV+7mzCLEDvxMxS+fabQyMDLhGcQ4MrbBwK/Wq4mvb38l X0XP7hgBUIAPY5l6MbFK2u21KLYrmvlDHSK77+y3GpSCrA9/QhRybedi5i8/JdHi bkMbAIJZjtx7wO82YGLG =H1Fa -----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