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

Опубликовано: 27 Июль 2023
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Debugging without a “real” debugger (in Haskell and PureScript) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Impure Pics 27 Июль 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,138 раз и оно понравилось 82 зрителям. Приятного просмотра!