On this page:


unworriedsafari <unworriedsafari@tilde.club>

 (require unworriedsafari/hello)

(displayln "Hello, welcome to my homepage.")

I like to write random programs in my free time. On this website, you can find some literate programs written in hyper-literate language. You can browse the code by just browsing the site. All the source code is included.

If you want to play with the code, you can do that: the entire website is a Racket collection that you can install. First, get Racket if you haven’t got it already.

There are multiple methods to install the collection depending on what you want to do. If you only want to use the collection as-is, execute the following command to install it:

  raco pkg install https://tilde.club/~unworriedsafari/unworriedsafari.zip

After that, you can use it just like any other Racket collection. For instance, this page is generated from the literate program unworriedsafari/hello. After you have installed the collection, when you require the module, the code at the start of the page is executed:

> (require unworriedsafari/hello)

Hello, welcome to my homepage.

If you want to make changes to the programs, don’t use the above raco command to install the collection. Instead, download the zip file and extract it to a new local directory named unworriedsafari. Once you’ve done that, cd into that directory and run raco pkg install. After that, the collection is installed and linked to the directory. That means you can use the collection just as if you installed it using the first method. Additionally, you can make changes in the directory and do raco setup -l unworriedsafari to install the changes.