Haskell

Outlawing return types in Servant APIs (jship.github.io)

This post demonstrates how to outlaw specific return types from servant APIs. Perhaps we have types that are intended for backend use only, or maybe the types are legal in one API but illegal in another yet the backend code is a monolith. Whatever the reason, we can encode a type-level assertion over a servant API that produces...

An opportunity that I couldn't pass up (discourse.haskell.org)

Dear Haskell Community, Since May, 2022, I’ve had the honor and pleasure of serving as the Executive Director of the Haskell Foundation. As many of you know, I’ve had a deep and abiding interest in dependently-typed programming, formal verification, compile-time metaprogramming, and programmer tooling. A rare opportunity...

React + Reflex: Harmonizing TypeScript and Haskell with FRP - Ryan Trinkle (www.youtube.com)

Learn how to combine the best of both TypeScript and Haskell for frontend development. TypeScript developers will learn how to take the reactive principles that made React successful to the next level with pure Functional Reactive Programming (FRP). Haskell developers on the other hand will learn how to easily integrate with the...

Laziness in Haskell — Part 2: Why not Strict Haskell? (www.youtube.com)

Answering the question raised at the end of Part 1, we take a look at how a hypothetical Strict Haskell would tie the compilers hands despite pervasive purity. We also examine how laziness permits optimizations that come with no intrinsic cost and compare its benefits to a strict language with opt-in laziness.

Overriding Type Class Instances (Part 1) (2019) (caryrobbins.com)

It’s well known in the Haskell world that type class instances cannot be overridden. When you have an instance in scope, you are stuck with it. Is this a feature? Is this a bug? Maybe either depending on the problem you are facing. I have my own opinions, but let me lay out the case for wanting to be able to override...

Laziness in Haskell — Part 1: Prologue (www.youtube.com)

Laziness is a critical but often maligned aspect of Haskell, and as this video argues, it is frequently misunderstood. In this video, Alexis explains how even strict evaluation in imperative programming languages is not always quite as strict as it seems, and how deviating from strictness can often significantly improve...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • haskell
  • cubers
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • everett
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • thenastyranch
  • kavyap
  • GTA5RPClips
  • tester
  • anitta
  • osvaldo12
  • normalnudes
  • ethstaker
  • Durango
  • ngwrru68w68
  • khanakhh
  • modclub
  • megavids
  • provamag3
  • tacticalgear
  • Leos
  • JUstTest
  • lostlight
  • All magazines