Lambda on the Move

A (non-)personal blog about programming, Symbian, and little else.
newest · all · tags · dates · titles · feedRSS feed · author

Scheme

Times Are Hard for Racketeers, too

APIs dealing with dates and times must be hard to get right. I'm not aware of any programming language whose standard library for dealing with times is both intuitive and comprehensive. Racket has built-in libraries that are second to none, but even it presently leaves something to be desired when it comes to support for handling dates and times.

Read more...

Written on Sunday, 6 January 2013, 01:21:31 UTC.
Tagged as APIs, Emacs, Lisp, Racket, Scheme.

On Racket Support in Emacs Org-Mode

Earlier I blogged about Epresent, which is basically a piece of code for making Org-Mode suitable for preparing presentation slides. There are times when I can’t resist mentioning the innovative Racket programming language in a presentation. In those situations I tend to want to have syntax-highlighted Scheme code on my slides, and also to evaluate the code snippets and insert the results next to the code listing. This is apparently the sort of thing one can do with Org-Mode Babel, for a variety of languages.

Read more...

Written on Thursday, 8 September 2011, 20:35:15 UTC.
Tagged as Emacs, Epresent, Org, presentations, Racket, Scheme, software.

Mixing Hand-Written, Generating, and Generated Code with Koog

Some days ago I released a little code generation utility that I have been using for well over a year in cranking out repetitive C++ code. Koog is—for lack of a better established term—a mixed-code generator. It is similar to other tools of its kind (such as Cog), but the only one that I know of that uses the Scheme language for specifying what code to generate.

Read more...

Written on Tuesday, 28 September 2010, 17:58:24 UTC.
Tagged as C, C++, code generation, HIIT, Racket, Scheme, software, Symbian.

Nokia's Products Are Error (Message) Free

So I upgrade the firmware of my Nokia E71 from v200 something to v300 something.

Read more...

Written on Sunday, 8 November 2009, 17:12:30 UTC.
Tagged as PIM, Racket, S60, Scheme, software, Symbian, vCalendar.

Passing on Keyword Arguments in PLT Scheme

I am a big fan of Python’s keyword argument facility, and especially its support for *args and **kwargs function parameter declarations. *args and **kwargs capture any explicitly undeclared positional and keyword arguments, respectively, and this facility in many cases allows one to avoid repeating function interfaces. This is both less typing and more future proof, and makes it easier to see the parameters that directly concern a function. Contrast this with Java, which not only has no keyword arguments, and no support for *args style declarations, but which also forces you to repeat caught exception declarations in function signatures.

Read more...

Written on Saturday, 15 November 2008, 09:57:26 UTC.
Tagged as keyword arguments, macro systems, Python, Racket, Scheme.