Debugging without a “real” debugger (in Haskell and PureScript)

Veröffentlicht am: 27 Juli 2023
auf dem Kanal: Impure Pics
2,138
82

Hate watching videos? Check out the complementary article, which covers the same content: https://dev.to/zelenya/debugging-with...

If you're wondering how to debug in Haskell without a "real" debugger, this tutorial is for you. Especially if someone convinced you that “Haskell is pure, so you can’t print anything”.

💡 Useful links:
The GHCi Debugger: https://downloads.haskell.org/~ghc/7....

#fp #haskell #purescript

Subscribe to Impure Pics: https://bit.ly/impure-youtube

More Impure Pics
🐣   / impurepics  
📦 http://impurepics.com
👕 http://merch.impurepics.com

Functional Alphabet book
📗 Softcover: https://bit.ly/fp-abc-soft-cover
📘 Hardcover: https://bit.ly/fp-abc-hard-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

0:00 Intro
0:42 This program 🐞 you
1:24 print “Hello, world”
3:11 trace “pls hlp”
4:37 [PureScript] spy “dupa”
5:11 Next steps
6:02 Use REPL
6:26 Write tests
6:41 EOF


Auf dieser Seite können Sie das Online-Video Debugging without a “real” debugger (in Haskell and PureScript) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Impure Pics 27 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,138 Mal angesehen und es wurde von 82 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!