Lazy Nest
Under dotted blankets sleeps the evaluation beast. Its footprints appear before its body; its name is not demanded until the cave asks for it.
footprint :: Need -> Value footprint = trace "..." sleepingBeast
haskell.monster
A moonlit field guide to pure functions, folded rooms, and creatures that live inside type signatures.
summon ::
Under dotted blankets sleeps the evaluation beast. Its footprints appear before its body; its name is not demanded until the cave asks for it.
footprint :: Need -> Value footprint = trace "..." sleepingBeast
The map-bird carries a value through its violet ribs and returns it changed but still nested in the same kind of sky.
fmap :: (a -> b) -> f a -> f b
Here the bind-chain ripples from pool to pool. Each step chooses the next creature by the glow left behind by the last.
(>>=) :: m a -> (a -> m b) -> m b
Tiny familiars patrol the old theorem shelves. When a monster proves its habit, a badge fastens itself to the hide with a gold click.
class Show a where show :: a -> String
final chamber
The monsters gather around a glowing prompt. Syntax sparks rise into the roof of the cave, becoming constellations of operators and small, precise myths.
λ> explore bestiary