Helium for learning Haskell
Helium is a user-friendly compiler designed especially for learning the functional programming language Haskell. The quality of the error messages has been the main concern both in the choice of the language features and in the implementation of the compiler. Helium implements almost full Haskell, where the most notable difference is the absence of type classes. Our goal is to let students learn functional programming more quickly and with more fun. The compiler has been successfully employed in two introductory programming courses at Utrecht University.
(mentioned on the PLT discussion list)
Why Calculating is Better than Scheming
In 1987 Phil Wadler wrote the paper Why Calculating is Better than Scheming. It is an essay on the shortcomings of using Scheme as the programming language with which to teach beginning programmers in SICP, and how Miranda would have a better choice for teaching the software engineers of tomorrow. This was very fun for me to read, and might be for you, too, if you are interested in teaching or the history of both Haskell and Scheme.
Continue reading “Why Calculating is Better than Scheming”
A peasant revolt against DrScheme!
Here is an interesting thread in the PLT discussion archive discussing the want of beginning programmers only to learn things that are clearly useful!
(surely via the PLT Discussion list, but I can’t recall or find it…)
Carneades
Carneades is an argument mapping application, with a graphical user interface, and a software library for building applications supporting various argumentation tasks.
The interesting thing about this is that it is written in both JavaFX and R6RS Scheme!
(via comp.lang.scheme)
An Improved Approach to the Sieve of Eratosthenes
For an explanation and easy improvemnts see Colin Runciman’s functional pearl “The primes using The Sieve of Eratosthenes”.
Found here in PDF or PS.
(via the PLT Discussion List)
International Lisp Conference 2009
The International Lisp Conference 2009 will be taking place at M.I.T., in Cambridge, Massachusetts, from March 22 to March 25, 2009.
Addendum: 2/4/9
All of the details are now out on the site.
Haskell Super Mario Bros
Here is a post on a reimplementation of Super Mario Bros written in Haskell.
(via The Little Calculist)
A few good WordPress links
Ben has some good links on WordPress resources here
Finding the real problem
The poster of this thread on the PLT discussion list wondered why Scheme code is so much slower than Python. It was interesting to see how the question was answered because there were at least 3 levels to the problem:
- The source code to the solution itself
- How the source code worked “under the covers” (it called into C functions)
- An implementation in Scheme similar to how Python worked under the covers
Finding an explanation didn’t just involve comparing the code, it required understanding that the Python code actually called into C functions, and then converting the Scheme code into a similar “stateful” style of program. In programming, thinking is required!