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


Watch video Debugging without a “real” debugger (in Haskell and PureScript) online without registration, duration hours minute second in high quality. This video was added by user Impure Pics 27 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,13 once and liked it 8 people.