Problem I’m doing the Racket track on exercism.io and solved the grains exercise: Write a program that calculates the number […]
Tag: racket
Why is this RC4 code in Racket so slow?
Problem According to shootout.alioth.debian.org, Racket is not much slower than C#, at least in the same order of magnitude due […]
Simple evaluator of Scheme-like expressions in Haskell
Problem This is my first nontrivial Haskell program: module Main where import qualified Data.Map as Map type Env = Map.Map […]
Solution to Project Euler #1 – multiples of 3 and 5
Problem I have been programming for about ~2 years, and mostly wrote OOP and structural code. Recently, I have decided […]
Project Euler #12 in Racket
Problem Problem here. It’s not exactly the brute force approach but I’m not using any sort of pre-calculated primes table, […]
Advent of Code 2016 Day 1 “No Time for a Taxicab”
Problem I already solved it in JavaScript, where I’m more comfortable. I pretty much ported the algorithm from there. I […]