@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.
@headinthebox @davetchepak pure functional and imperative programming are not in contention. In fact, pure FP does imperative best.
-
-
@dibblego@davetchepak Absolutely, but I like to avoid UnsafePerformIO and RunST if there is another solution without them. -
@headinthebox@davetchepak unsafe* is another thing altogether. avoid ST for what? var? lolvar?
End of conversation
New conversation -
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.