Are you building a long running app like a WebSocket server? Is its memory usage increasing steadily the longer it runs? You’ve got a memory leak. You’ve stared at your code for hours and everything looks fine. You start to question the...
Are you building a long running app like a WebSocket server? Is its memory usage increasing steadily the longer it runs? You’ve got a memory leak. You’ve stared at your code for hours and everything looks fine. You start to question the...
Have some Hedgehog tests to write? Here’s five useful features you may not know about! Roundtripping If you only try one thing on the list this should be it! When you serialize something, no matter the format, you probably want to be able to...
Are you trying to process a large amount of timestamped data? Need to manipulate events in CSV or log files? Your choice of time library could be slowing you down. Most people new to this problem will do the obvious thing and google for "haskell...
Are you wondering how to define a function in GHCi that spans multiple lines? How can you provide explicit type signatures for a function? How can you copy and paste larger chunks of Haskell into the interpreter like you can in Python? You can do...
What if you're trying to create a global counter? If you need some global cache and just don't want to plumb an IORef through all of your code? Is there some dirty hack you can use to get a global IORef?