Skip to content
  • Ryan Scott's avatar
    8612af0f
    Adapt to MonadFail-related changes in base-4.13 · 8612af0f
    Ryan Scott authored and Andrew Martin's avatar Andrew Martin committed
    `base-4.13` will finally complete the `MonadFail` proposal by
    removing the `fail` method from `Monad`. This adapts `vector` to
    that change by guarding the existing `fail` implementation in
    `vector` (for `Data.Vector.Vector`) behind CPP, and defining
    a `MonadFail` instance for `Vector` going forward.
    8612af0f
    Adapt to MonadFail-related changes in base-4.13
    Ryan Scott authored and Andrew Martin's avatar Andrew Martin committed
    `base-4.13` will finally complete the `MonadFail` proposal by
    removing the `fail` method from `Monad`. This adapts `vector` to
    that change by guarding the existing `fail` implementation in
    `vector` (for `Data.Vector.Vector`) behind CPP, and defining
    a `MonadFail` instance for `Vector` going forward.
Loading