haskell

Tag: haskell

4 posts
vivshaw's webbed sight icon
vivshaw's webbed sight
vivsha.ws

Stress testing Claude's language skills

Polyglot or poly-not?

·
Feb 23
·
TIL: `join` over `(->)`
C
Carlos' Dev Stream
dev-stream.pckt.blog

TIL: `join` over `(->)`

I discovered a neat pattern: using join with the function arrow ((-)) as a Monad. When you join over functions, you get: This lets you pass the same argument twice: once to determine what to do, and another to actually do it. In , we have validators with the signature type Validator = input - Validation. Most of our validation helpers are written in a point-free, un-applied style, which works great, except recently when I needed to inspect the input to decide which validator to run.

·
Jan 23
·
vivshaw's webbed sight icon
vivshaw's webbed sight
vivsha.ws

Integrating Yesod and Morpheus GraphQL

It's all about the types

·
Dec 20 '20
·
notes // seth.computer icon
notes // seth.computer

How I'm currently writing Haskell

A walkthrough of a Haskell development environment built on NixOS, Vim, GHCid, and Hoogle. Covers the Nix and Cabal setup, fast compiler feedback with GHCid, testing with hspec, and documentation lookups, all prioritizing simplicity and locally contained tooling.

·
Aug 4 '19
·