Something to consider…
“I can’t imagine why anyone would need X” is a statement about your imagination, not X.
(via Dan)
Something to consider…
“I can’t imagine why anyone would need X” is a statement about your imagination, not X.
(via Dan)
Swing is the GUI standard for Java. Clojure is the awesomeness standard for Java.
(via Stuart)
Here is an article explaining Eiffel’s new for-each-like syntax.
It is pretty interesting to see how the language evolves… obviously a very different approach then the Lisp-ish “just add the syntax you need” approach.
Addendum:01/30/10
Changed the title as I meant ‘for-each’ and not ‘map’.
Here is a nice review of Scheme modes for Emacs.
Via the homepage:
OUnit is a unit test framework for OCaml. It allows one to easily create unit-tests for OCaml code. It is based on HUnit, a unit testing framework for Haskell. It is similar to JUnit, and other XUnit testing frameworks.
The Batteries Included project has come under new management since David Teller moved on. The project has gone through a process of reorganization and is finally ready for a release. We’ve rethought a lot of the structure decisions of the old codebase to make it easier to use and develop.
(via Caml-list)
Via Eli on comp.lang.scheme:
#lang scheme
;; using the /proc filesystem
(call-with-input-file "/proc/self/loginuid" read)
;; running `id'
(require scheme/system)
(let ([o (open-output-string)])
(parameterize ([current-output-port o]) (system "id -u"))
(read (open-input-string (get-output-string o))))
;; calling getuid()
(require scheme/foreign)
(unsafe!)
((get-ffi-obj 'getuid #f (_fun -> _int)))