15 May '13, 1pm

Emacs Lisp: Font Lock for Clojure's Partial

I love using partial, but I dislike the length of the function name. There's a simple solution, define another function with a shorter name that simply calls (or is) partial. This is exactly what I did in the jry library. I liked the use of % due to partial feeling similar to creating a function using #(), and % having a special meaning inside #(). I thought they tied well together. Unfortunately, there's an obvious problem, things would be very broken if you tried to use the '%' function in an anonymous function defined with #(). Somewhere along the way this issue caused me to stop using jry/%. Using partial is great: it's part of the standard lib, and I don't need to explain it to anyone who joins my team or any future maintainers of the code I write. Still, I want something shorter, and I've always had a background thread looking for another shorter-than-partial solutio...

Full article: http://blog.jayfields.com/2013/05/emacs-lisp-font-lock-fo...

Tweets

Clojure: Testing The Creation Of A Partial Func...

blog.jayfields.com 14 May '13, 1pm

I recently refactored some code that takes longs from two different sources to compute one value. The code originally stor...

Win a Set of 3 Lock Laces ! from Runningshoesgu...

runningshoesguru.com 15 May '13, 10pm

Looking for the best running shoes ? We test all the running shoes we review and help you choose the right one. Start by v...

Master lock auto-cracker built as coursework at University

Master lock auto-cracker built as coursework at...

hackaday.com 14 May '13, 1pm

We’ve talked about the ease with which these locks can be cracked. But [Ross] points out that the resources we linked to b...

Emacs Lisp: Toggle Between a Clojure String and...

blog.jayfields.com 02 May '13, 3pm

When I was doing a fair bit of Ruby I often used the TextMate 's shortcut (Ctrl+:) to convert a Ruby String to a Symbol or...

Everything I know about Clojure after one week ...

pivotallabs.com 26 May '13, 3am

This week I decided to clear out the cobwebs of my Ruby-trained brain and try a completely different language. Ruby and Ra...