I was taking my time reading Fogus’s book and, as a result, found myself forgetting the implementation of functions defined earlier in the book. I wanted to be able to look up implementations easily and realized that a dictionary of function names to implementations would solve my problem.
Steps to using my custom dictionary:
- Put it on your e-ink Kindle (transfer over USB or email it).
You can change your Kindle’s default dictionary by navigating to
This dictionary isn’t perfect but it did improve my reading experience. One example of where it fails is if you look up the function
partial1 it will look up
partial. This is result of how the Kindle looks up words. Another minor issue is that the functions are often too large to fit in the pop-up window. The fix to both of these is to click the “Show Full Definition” button of the pop-up to be taken to the dictionary. Another issue is that the numerous functions defined by composition (example:
isOdd) are not parsed by my parser and therefor not part of the dictionary.
This was definitely a larger challenge than creating my custom Dune dictionary. It forced me to dive into the Amazon documentation a bit and figure out more of the markup language. I have notes on my experience creating Kindle dictionaries and sometime in the future will be writing a post with details about what I’ve learned.