Skip to content
Snippets Groups Projects
Commit 5e3c850e authored by Fredrik Wieczerkowski's avatar Fredrik Wieczerkowski
Browse files

Swap ExceptT and WriterT to make sure warnings are always propagated

Moving the ExceptT to the outermost (or innermost, depending on the
viewpoint) layer of the transformer stack, the result type changes from

            errors        warnings
               v             v
    Either [Message] (a, [Message])

to

             errors       warnings
                v            v
    (Either [Message] a, [Message])
parent 9530582d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment