Get started with Bluefin
summary
Bluefin is an effect library for Haskell that models effects as value-level handles instead of type-level constraints and shows concrete code: a state-based totalPrice that sums [1..5] to 15, a corrected product example that yields 120 after fixing the initial state, a stream example using yield-to-list producing 9 color/size combos, and a combined IO + early-return example that prints “found” and returns true or prints “didn't find” and returns false. Examples run with runPureF or runF and use explicit handles for composability.
AI-written summary · about
chapters (9)
- 0:00Introduction to Bluefin
- 1:20Core concepts and setup
- 5:13State effect basics
- 8:08Early return with exceptions
- 12:28Working with streams
- 17:25Modifying example logic
- 23:44Under the hood of effects
- 29:25Combining and running effects
- 37:24Design philosophy and conclusion
related talks
01h 10mA History of Effect Systems
25mExperience report: Bluefin in industry
45mFunctional Programming bits and pieces
43mFunctional Programming with Effects
01h 00mCause and Effect(s): Towards a More Programmable Haskell
50mFunctional Programming with Effects
14mFundamentalist Functional Programming
01h 22mHaskell for Everyday Programmers
