Skip to content

gergoerdi/icfp-bingo-2017-idris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICFP 2017 Bingo (Idris edition)

I wrote the original implementation of the ICFP 2017 Bingo in Haskell using GHCJS and Reflex-DOM; however, the generated JavaScript weighed in at 2 MB, which is pretty bad considering how trivial this single-page webapp is.

My friend and ex-coworker Encsé mentioned I should give Idris a try, so I did. The resulting JavaScript is 150 kB, much better.

Dependencies:

  • idrisjs for interfacing with the DOM
  • effects for random number generation
  • contrib for ST as used by idrisjs