from Hacker News

Abusing the type system for fun and profit

by mpoteat on 10/29/22, 11:18 PM with 3 comments

  • by mpoteat on 10/29/22, 11:20 PM

    Hey there folks - over my vacation I decided to write 'hkt-toolbelt' to scratch an itch I've been having with writing type-level Typescript.

    This package allows you to do higher order 'map' operations on the type level, with a legible and extensible interface.

  • by ldlework on 10/29/22, 11:24 PM

    This is quite cool.