Skip to content

Instantly share code, notes, and snippets.

@arathnim
Last active September 25, 2017 23:30
Show Gist options
  • Save arathnim/13f6e8be3f429e239af933980fbce23b to your computer and use it in GitHub Desktop.
Save arathnim/13f6e8be3f429e239af933980fbce23b to your computer and use it in GitHub Desktop.
Lisp Shell Code
mv [f ".lisp" => f ++ ".cl"]
sum (map [file:f int:s => s] (read-lines ./file.txt))
read-lines ./file.txt | map [File:f Int:s => s] | sum
thread-map [json:j => j | :language] (http-get "api.github.com/search/repos/foo") | append
sum [x | x <- [1..999], x % 3 == 0 || x % 5 == 0]
str = read-file ./file.txt
str | tails | map take 13 | map string->integer | maximize-for product
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment