@davetchepak Here is a related challenge. Implement the SpaceSaving algorithm http://www.cs.ucsb.edu/research/tech_reports/reports/2005-23.pdf … in a purely functional style.
-
-
Replying to @headinthebox
@headinthebox@davetchepak pure functional and imperative programming are not in contention. In fact, pure FP does imperative best.1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@davetchepak Absolutely, but I like to avoid UnsafePerformIO and RunST if there is another solution without them.1 reply 0 retweets 0 likes
Replying to @headinthebox
@headinthebox @davetchepak unsafe* is another thing altogether. avoid ST for what? var? lolvar?
9:47 PM - 28 Dec 2012
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.