Three libraries and one idea: let the type system do the boring work (if the logic doesn't match the spec, it doesn't build). My friend, Mark, walks me through his PureScript libraries for building safe production APIs. This conversation was unscripted and has some abrupt cuts. I hope you enjoy
https://github.com/rowtype-yoga
Type-safe http apis https://github.com/rowtype-yoga/pures...
Type-safe graphql https://github.com/rowtype-yoga/pures...
Type-safe postgres https://github.com/rowtype-yoga/pures...
#fp #functionalprogramming #purescript
Subscribe to Impure Pics: https://bit.ly/impure-youtube
More Impure Pics
🐣 / impurepics
📦 http://impurepics.com
👕 http://merch.impurepics.com
📗 Functional Alphabet book: https://bit.ly/fp-abc-soft-cover
Watch more Impure Pics
• Debunking Haskell Myth: “Tooling Issue”
About Impure Pics
FP Advocat. Distilling functional programming for the good of all
Get in touch: https://zelenya.com
00:00 Begin
00:17 (1) Type-safe https apis
07:14 Error Handling and path params
09:20 It breaks
09:30 Back to Error Handling and path params
11:36 Request Bodies
15:08 Query params and headers
19:13 Looking at the golden tests
22:44 (2) Type-safe graphql (teaser)
25:23 (3) Type-safe postgresql (teaser)
30:46 Parting thoughts
Sur cette page du site, vous pouvez voir la vidéo en ligne Type-safe APIs with PureScript: http, graphql, and postgres durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Impure Pics 20 avril 2026, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 661 fois et il a aimé 25 téléspectateurs. Bon visionnage!