Skip to content

Instantly share code, notes, and snippets.

@zitterbewegung
Created February 25, 2010 07:30
Show Gist options
  • Select an option

  • Save zitterbewegung/314333 to your computer and use it in GitHub Desktop.

Select an option

Save zitterbewegung/314333 to your computer and use it in GitHub Desktop.
#lang scheme
(require (planet wmfarr/simple-matrix:1:1/matrix))
(define (symbol-list . elements)
(map symbol-accumulate-and-number elements))
(define (create-adjacency-matrix environment x y)
(define created-matrix (make-matrix x y))
(for/matrix x y symbol-list)
(set! environment (cons environment created-matrix)))
(define symbol-accumulate-and-number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment