Last active
March 22, 2018 15:25
-
-
Save jb55/c19868c269bd5d5a15142aec3dbeb7fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell -i racket -p racket | |
#lang racket | |
(require racket/pretty) | |
(define (pretty-write-all) | |
(define next (read)) | |
(when (not (eof-object? next)) | |
(pretty-write next) | |
(pretty-write-all))) | |
(pretty-write-all) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment