Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 838 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 838 Bytes

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