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

Published: 27 July 2023
on channel: 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


On this page of the site you can watch the video online Debugging without a “real” debugger (in Haskell and PureScript) with a duration of hours minute second in good quality, which was uploaded by the user Impure Pics 27 July 2023, share the link with friends and acquaintances, this video has already been watched 2,138 times on youtube and it was liked by 82 viewers. Enjoy your viewing!