Issue 163

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.

Featured

  • Empty and Unit Types by Ashley Yakeley

    Remember when you were in school, and your mathematics teacher told you that 0^0 = 1, and you got very confused? This is the type theory equivalent of that.

  • A Practical Introduction to Freer Monads by Keagan McClelland

    I could sit here and talk about the theoretical underpinnings that make Free/r monads interesting, but there are far more qualified people than I to talk about such things. And while they are certainly interesting in their own right, I want to take a step back, de-emphasize the theory, and talk about something more concrete.

  • Free monads of free monads by Li-yao Xia

    It is well known that a free monad is a monad. It is less known that the free monad functor, that thing which generates free monads, is also a monad.

  • hsp: Command line text stream processor by Bruce Wolk

    I have just uploaded the initial release of hsp. hsp is a command line text processor that can provide most of the functionality of grep, sed, awk, and much more using standard haskell text and list functions as well as custom functions.

  • Pure Programs: Pure functions all grown up by Cloudseal

    In this post, I won’t reiterate arguments for functional programming, only observing that the usual arguments apply no less at the large scale than the small. The main idea of this article is that we can consider functional semantics as we move along a spectrum of increasing granularities, from the single machine instruction to the entire program execution.

  • Monoid by Type Classes

    A monoid is a type along with a binary associative operation and an identity element. We’ve written a comprehensive guide to monoids in Haskell.

  • Episode 13: Why Haskell? by Haskell Weekly Podcast

    Cameron Gera and Taylor Fausak talk about why the Semantic team at GitHub decided to use Haskell.

  • Nifty features of the ARM architecture by Ben Gamari

    While sorting out GHC’s support for architectures with weakly-ordered memory subsystems I peeked at GCC’s lowering of the __sync_bool_compare_and_swap operation1 on ARM. This reminded me of a few features of the architecture that I quite like and felt compelled to write about.

  • German Naming Convention by Chris Done

    As a software consultant, mostly contributing code to other company’s codebases, and doing code review, I’ve seen about thirty separate codebases over the past half dozen years, and there’s one thing that could make my life much easier: better naming convention.

Jobs

  • Galois is hiring for a variety of roles (ad)

    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.

  • Senior Haskell Engineer at Serokell

Trying to hire a Haskell developer? You should advertise with us!

Package of the week

This week’s package of the week is lens-regex-pcre, a lens-based layer on top of regular expressions using pcre-heavy.

Call for participation

Events

North America

Europe

Oceania

  • 2019-06-17 in Perth, Australia by Perth Functional Programmers: Haskell meetup
  • 2019-06-19 in Canberra, Australia by CanFP - The Canberra Functional Programming Group: CanFP Monthly meetup

Asia