Cool Code
From Sch3m3rs Stuph
Cool Code
This page is for interesting bits and bobbles of coding:
Format is: Name for code Code What it does
Display List W/ line-breaks
(define (displayx x)
(begin (display x) (newline)))
(define (for-each-disp a-list)
(for-each displayx a-list))
When given a list it takes each item displays it in the interactions window with each piece separated with a line break.