Skip to content

Instantly share code, notes, and snippets.

1
1,1
1,2,1
1,3,3,1
1,4,6,4,1
1,5,10,10,5,1
import java.io.*;
class MyClass {
public static void main(String[] args) throws Exception {
File f=new File("my-file.tsv");
PrintStream stream=new PrintStream(f);
stream.println("...");
//OR the concise version:
((lambda (append atom) (append '(1 2 3) '(4 5 6)))
(lambda (a b)
(
(lambda (a b loop)
(loop a b loop) )
a b
(lambda (a b loop)
(cond
((null? b) a)
((null? (cdr a)) (cons (car a) b))