Tag Archives: Lisp

Burritos and Monads

Ahh, now I get it "A burrito? What's that? Sorry, I'm new to Mexican food." "Well, it's a bit complicated, but to start with, a burrito is like a monad..." — Fiora‮☄anreteA (@FioraAeterna) September 6, 2014

Posted in Programming | Tagged | Leave a comment

Atabey Kaygun on Common Lisp Memoization

Atabey Kaygun is a mathematician who likes to experiment with various (mostly mathematical) algorithms using Common Lisp. Many times, a function is most naturally implemented via recursion but this can lead to disastrously inefficient implementations. The canonical example is the … Continue reading

Posted in Programming | Tagged , | 1 Comment

Common Lisp format Summary

The Common Lisp format function is a bit controversial among some Lispers1. The problem is that the language used by format to specify output strings is un-Lisp like. I'm not one of those people. I like format and feel comfortable … Continue reading

Posted in Programming | Tagged , | 1 Comment

October Quicklisp

The October Quicklisp is available. Upgrade with the usual (ql:update-dist "quicklisp")

Posted in Programming | Tagged , | Leave a comment

SBCL 1.2.4 Released

Steel Bank Common Lisp 1.2.4 has been released and is available at the usual place. Check the NEWS page for what's new in this release (mostly some improvements in how certain sequence functions are implemented). As usual, there were no … Continue reading

Posted in Programming | Tagged , | Leave a comment

Wilfred Hughes on Macro Systems

Wilfred Hughes has an interesting post, Comparitive Macrology, in which he looks at the macro systems of various languages. For each, he implements two macros: A swap macro to exercise hygiene An anaphoric macro to exercise (intentional) variable capture He … Continue reading

Posted in Programming | Tagged | 3 Comments

The Java Virtual Machine Tax

Via Wilfred Hughes Much-needed straight talk about the "JVM tax" in Clojure and Scala, among other new language issues. RT @AidyLewis https://t.co/OpS1kuafTa — Alex Chamberlain (@dodgethestmrlr) September 23, 2014 I've often been tempted by Clojure but the JVM tax that … Continue reading

Posted in Programming | Tagged , | Leave a comment

A Math & Lisp Blog

If, like me, you're interested in Mathematics and Lisp and like doing math experiments on a computer, you should check out Atabey Kaygun's Blog. Kaygun is a Mathematician at Bahçeşehir University in Istanbul. On his blog he considers various problems … Continue reading

Posted in Programming | Tagged , | 2 Comments

A Quick Introduction to Generic Functions & CLOS

Zach Beane points to a nice post by Nicolas Hafner on Generic Functions and CLOS. CLOS is often considered a hideously complicated system but the basics are easy to understand and use and most people will never need to explore … Continue reading

Posted in Programming | Tagged , | 1 Comment

Shamir's Secret Sharing Implementation

Yesterday, I discussed Shamir's secret sharing and how it works. The TL;DR was a method to give people a secret number so that any of the recipients can reveal the secret. The method works by defining a -degree polynomial with … Continue reading

Posted in Programming | Tagged , | Leave a comment