Lobsters
Read post

Bluefin

Bluefin is a Haskell effect system that allows you to mix a variety of effects, such as early return, exceptions, I/O, mutable state, and streams. Effects are accessed through value-level handles, and Bluefin supports multiple effects of the same type. Exceptions in Bluefin are always handled and cannot escape the scope of their handler. Bluefin functions have a common type signature pattern, and the implementation style is similar to effectful. Tips for using Bluefin include using certain language extensions and writing explicit type signatures for handlers. Bluefin allows you to create your own effects, and an example is provided for counting positives and negatives using Bluefin.

    #haskell
Apr 26, 2024•6m read time•From hackage.haskell.org
Post cover image
Table of contents
In briefIntroductionComparison to other effect systemsImplementationTipsCreating your own effectsExample
1 Impression
Lobsters's image
Lobsters

Lobsters is a community-driven platform for sharing and discussing links to articles, tutorials, and...

1.9K Followers

•

36.1K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard