Move all output to a sum type

All errors, warnings, and messages are now listed in a sum type
in 'CAStore.Type.Text'. The added structure should help with
writing better error messages. Also, if and when we get to
localising ca-store, implementation will be trivial.
This commit is contained in:
hylodon 2025-09-18 16:12:46 +01:00
parent 1971897eb8
commit 68bba7c653
10 changed files with 74 additions and 21 deletions

View file

@ -53,8 +53,10 @@ library:
- CAStore.Config.Type
- CAStore.Program
- CAStore.Program.Internal
- CAStore.Program.IO.Text
- CAStore.Program.Storage
- CAStore.Type
- CAStore.Type.Text
- Data.List.Extra
executables: