Created
January 16, 2018 08:48
-
-
Save euhmeuh/20471158c863bdd4f941503f900e6eab to your computer and use it in GitHub Desktop.
Generate a text file from an hexadecimal range
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
#lang racket | |
(call-with-output-file "data.txt" #:exists 'replace | |
(lambda (out) | |
(for ([i (in-range #xF101 #xF12D)]) | |
(write-char (integer->char i) out)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment