u/Noughtmarein r/haskell • Mentions
On “Does anyone have a good analogy for understanding foldl and foldr for infinite lists?”
#typesystems#naturalnumbers#haskell
23K subscribers • 34 videos on Hallway • Community channel
Intermediate. Assumes working knowledge.
4.1K views7 years ago
Programming languagesSoftware designLanguage design and type systemsFunctional programmingSimplicity and complexity
José Manuel Calderón Trilla discusses Colin Runciman's paper on using natural numbers instead of integers to make illegal states unrepresentable.
PWLConf 2019 Link: pwlconf.org/2019/jose-trilla/ Slides / Captions: github.com/papers-we-love/pwlconf-info/tree/master/2019/jose… What About the Natural Numbers? José Manuel Calderón Trilla, Research Scientist at Galois, Inc. 30 years ago Colin Runciman asked What About the Natural Numbers? Now, in 2019, we find ourselves in need of a successor to carry Runciman's banner. Despite major advances in type systems and the growing adoption of the slogan 'make illegal states unrepresentable', we often rely on Integers in cases where negative values have no meaning. Runciman's paper reminds us of a fact that we all know: the choice in types can change the nature of an API. Integers are often the default in many systems and APIs, often for no reason beyond programmer familiarity. In this talk we will argue two main points: that for many cases Natural numbers retain all of the positive aspects of the Integers with none of the negatives, and that when designing a system or an API we should constantly be asking ourselves "What about X?" References ------------------ What About the Natural Numbers by Colin Runciman (sciencedirect.com/science/article/pii/0096055189900040?via%3…) Biography ---------------- José Manuel Calderón Trilla studied Music Engineering Technology at the University of Miami before pursuing graduate work in Natural Computation (MSc) and Programming Languages (PhD) at the University of York in the UK. After his PhD work he became a Research Scientist at Galois, Inc. working mostly on Quantitative Information Flow, compilers, and abstract interpretation. His research interests are in parallel functional languages, DSLs, computer music (particularly the representation and manipulation of structures representing rhythm), and compilers. Playing music and baking bread are what occupy most of his time, though he has yet to find a way to combine the two hobbies. Twitter: twitter.com/josecalderon Site: jmct.cc/ DBLP: dblp.org/pers/hd/t/Trilla:Jos=eacute=_Manuel_Calder=oacute=n ----------------------------------------------------------------------------------------------------------- Video Sponsor: Comcast (jobs.comcast.com/) Captioning Sponsor: Two Sigma (twosigma.com/careers/) -----------------------------------------------------------------------------------------------------------Papers We Love is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.
u/Noughtmarein r/haskell • Mentions
On “Does anyone have a good analogy for understanding foldl and foldr for infinite lists?”
u/Noughtmarein r/haskell • Mentions
On “Why using Int over Word is convention in Haskell?”
u/Noughtmarein r/haskell • Mentions
On “Why do http libraries use Int for port numbers instead of Word16?”
u/Noughtmarein r/haskell • Mentions
On “So long Surrogates: How we moved to UTF-8 in Haskell”
u/ddellacostain r/haskell • Mentions
On “Library for natural numbers”
u/pthierryin r/haskell • Mentions
On “replacements for !!”