Hardware implementation of the ICFP 2014 contest