Issue 160 2019-05-23
Welcome to another issue of Haskell Weekly! Haskell is a safe, purely functional programming language with a fast, concurrent runtime. This is a weekly summary of what’s going on in its community.
Announcing the Haskell Weekly podcast by Taylor Fausak
We select interesting articles from the Haskell Weekly newsletter to talk about. Each episode uses a conversational two-host format, typically with me and another ITProTV engineer. We try to keep episodes short, so they run for about 15 minutes. We publish new episodes every week.
Competitive Programming in Haskell: Scanner by Brent Yorgey
There is another common class of problems, however, which follow this pattern: “The first line of the input consists of an integer
T. Each of the next
Tlines consists of …” That is, the input contains integers which are not input data per se but just tell you how many things are to follow.
Deprecating API endpoints with Servant by Ben Weitzman
At Co-Star, we use
servantto write our backend, and we’ve had a lot of success using the type of our API to help us generate tests and documentation. I wanted to extend some of
servant’s behavior to help us model deprecated endpoints as well.
Hoogle XSS Vulnerability by Neil Mitchell
On Friday afternoon I got an email from Alexander Gugel with the subject line “Non-persistent XSS vulnerability on
hoogle.haskell.org” — never a good thing to get.
Profiling in Haskell for a 10x Speedup by Jake Zimmerman
I’ll walk through the problem I was trying to solve, my slow first solution, and how I used Haskell’s profiling tools to find and fix some egregiously slow parts of the code.
Purely Functional Games by Gil Mizrahi
How I built a game in Haskell — pure functional style.
What is a functor? by Eric Normand
Functors are an operation that has a structure preserving property. But what is that? Are these things practical? Does it have anything to do with the real world? Of course!
What Is A Monad? by Steven Watson
Monads are often a point of frustration for learners of Haskell. The question of what a monad is leads to the question of why a monad is. The question of why a monad is leads to the question of what a monad is.
Writing Custom Optimization Passes by Sandy Maguire
I’ve been paying a lot of attention to performance in
polysemy. Getting it to be fast has been really hard. It’s clearly possible, but for the longest time I was afraid I’d need to fork the compiler. And that didn’t seem like a thing that would attract a large-user base.
Including but not limited to: Software Engineers/Researchers, Project Managers, Hardware Engineers, Red Team Lead, Software Integration Engineer.
We collaborate with organizations like NASA, DARPA, and AWS to explore blue sky ideas and turn them into usable technology. Some of the things we’ve worked on in the past: Formal methods, static analysis, cryptographic algorithms, abstract interpretation, type theory, formal verification, reinforcement learning, autonomous systems assurance, communication security, cyber-deception for network defense, DDoS defense, provable hardware security, and statistical anomaly detection for detecting advanced persistent threats. We think working here is awesome; see lifeatgalois.com.
Trying to hire a Haskell developer? You should advertise with us!
- Finding Success (and Failure) in Haskell
- Maybe catamorphism
- Running From Enemies!
- Which companies employ the most Haskellers?
Package of the week
This week’s package of the week of optparse-generic, a library that auto-generates an
Parser from any data type that derives the
Call for participation
- 2019-05-23 in Raleigh, NC, USA by Raleigh Haskell Meetup: (hack . yack)
- 2019-05-23 in San Diego, CA, USA by San Diego Functional Programmers: May Meetup - Pure Functions
- 2019-05-24 in Austin, TX, USA by Austin Types, Theorems, and Programming Languages: Going through Software Foundations by Benjamin Pierce et al
- 2019-05-25 in Berkeley, CA by Code Self Study: Open Programming Session (Saturday Afternoon)
- 2019-05-25 in Boston, MA, USA by Weekly Functional Programming Meetup: Hang out + short talk (Implementing Type Inference by Ian Denhardt)
- 2019-05-25 in Los Angeles, CA, USA by LA PureScript: May Day-Convoluted Weekend - BeachHac edition!
- 2019-05-26 in Des Moines, IA, USA by Des Moines Haskell Study Group: Week 2. Getting started with Haskell. (Chapters 2 & 3)
- 2019-05-26 in San Francisco, CA, USA by Queerious Labs: Haskell for Beginners
- 2019-05-27 in Irvine, CA by Orange Combinator - Functional Programming In OC: Combinating - The Weekly Function
- 2019-05-28 in Brooklyn, NY, USA by New York Haskell Users Group: Parallel and Concurrent Haskell Reading Group
- 2019-05-29 in Berkeley, CA by Code Self Study: Open Programming Session (Wednesday, Berkeley)
- 2019-05-30 in Las Vegas, NV, USA by Las Vegas Functional Programming User Group: Functional Programming Meetup
- 2019-05-30 in Chicago, IL, USA by The Project Euler Sprint: Project Euler Sprint
- 2019-05-23 in Budapest, Hungary by The Budapest Functional Programming Group: 12 Tips to Better Scala
- 2019-05-23 in Karlsruhe, Germany by The Karlsruhe Functional Programmers Meetup Group: Stammtisch (gemeinsam mit der C++ UG KA)
- 2019-05-27 in Karlsruhe, Germany by Karlsruhe Haskell Meetup: Parallel and Concurrent Programming Study Group
- 2019-05-27 in Delft, Netherlands by Delft Haskell Study Group: Haskell Study Session #13
- 2019-05-27 in Cesson-Sévigné, France by Meetup Lambda Rennes - Programmation fonctionnelle: Introduction pratique à Event Sourcing & CQRS
- 2019-05-27 in 8500 Kortrijk, Belgium by Functional Kortrijk: Haskell Introduction
- 2019-05-28 in Regensburg, Germany by Regensburg Haskell Meetup: May meetup
- 2019-05-28 in Bristol, United Kingdom by CodeHub Bristol: Hack Night
- 2019-05-28 in Copenhagen, Denmark by Mødegruppe for F#unktionelle Københavnere: [Jérémie Dimino]: Get your money’s worth with selective functors
- 2019-05-29 in Leipzig, Germany by Funktionaler Stammtisch Leipzig: “Funktionaler Stammtisch” Clojure, Elm, Haskell, Scala and Co…
- 2019-05-29 in London. EC1V 4PB, United Kingdom by London Haskell: Unix command line tools in Haskell
- 2019-05-25 in Delhi, India by DelhiNCR Haskell And Functional Programming Languages Group: FPNCR Unscripted Online meetup
- 2019-05-26 in 東京都, Japan by Tokyo Haskell Meetup: May 2019 (Hi, it has been a while!)
- 2019-05-28 in Hong Kong Island, Hong Kong by Hong Kong Functional Programming: Functional Programming in C++
- 2019-05-30 in Noida, India by Reactive Application Programmers in Delhi NCR: [Webinar]: Working with Reactive Spring
- 2019-05-29 in Quito, Ecuador by Quito Lambda: Más allá de Java 8, el enfoque funcional y Spring WebFlux
- 2019-05-30 in Melbourne, Australia by Melbourne Haskell Users Group: Melbourne Haskell Users Group Meetup