Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Post Code

Name: Anonymous 2011-03-04 21:33

One recurring complaint is that nobody talks about code on /prog/. So everyone write go and write some code, any code, that does something, anything, and post it. A small explanation wouldn't go amiss either.

Name: Anonymous 2011-03-13 13:28

#!r6rs
(library (boxes)
(export box unbox set-box!)
(import (rnrs base) (srfi :99 records))

;;; boxes are a scheme implementation of MLs reference types
;;; You can think of them as being like first class variables.
(define-record-type :box
  box
  box?
  (v unbox set-box!))
)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List