Type-safe APIs with PureScript: http, graphql, and postgres

Veröffentlicht am: 20 April 2026
auf dem Kanal: Impure Pics
661
25

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


Auf dieser Seite können Sie das Online-Video Type-safe APIs with PureScript: http, graphql, and postgres mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Impure Pics 20 April 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 661 Mal angesehen und es wurde von 25 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!