public function format($value)
    {
        return array_reduce(
            $this->transformations,
            function ($x, callable $f) {
                return $f($x);
            },
            $value ?: $this->default
        );
    }