top | item 40562828

(no title)

nitros | 1 year ago

bracket [1] is easy to use and ensures that the cleanup operation runs, the Control.Exception module is also well documented [2]

[1]: https://hackage.haskell.org/package/base-4.20.0.1/docs/Contr...

[2]: https://hackage.haskell.org/package/base-4.20.0.1/docs/Contr...

discuss

order

whateveracct|1 year ago

Not to mention the widespread safe-exceptions and unliftio provide an API that makes it hard to shoot yourself in the foot.

Pretty funny that Haskell of all languages also has best-in-class exceptions & exception handling haha.

valcron1000|1 year ago

"The finest imperative programming language"