Textual Type Classes - a Haskell library for conversion between data types and textual data types
I had not come across your witch package before. Thank you very much for letting me know about it! I will add it to the related work section of the TTC README.
:mage_woman: Convert values from one type into another.
The witch package provides type classes for converting between arbitrary types: text, numbers, and anything else that people create instances for. It is therefore much more broadly applicable compared to TTC, which only works with text. I really appreciate that both a From type class (for conversion without failure) and a TryFrom type class (for conversion that may fail) are used, and the implementation looks very convenient. I will remember this project and use it when I have a suitable application in the future.
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
A CSV parsing and encoding library optimized for ease of use and high performance
I have done a lot of CSV development! I usually use the cassava library, though I have my own library as well. The cassava library uses FromRecord, FromNamedRecord, ToRecord, and ToNamedRecord type classes for parsing and rendering records, and it uses FromField and ToField type classes for parsing and rendering fields. An identifier type like the UserName example above should declare instances for FromField and ToField in order to be used in CSV files. For types that have appropriate Render and Parse instances, I implement general functions named something like parseFieldWithTTC and toFieldWithTTC, which allows me to declare instances as follows:
Working with CSVs
2 projects | /r/haskellquestions | 27 Oct 2021
Monthly Hask Anything (November 2022)
3 projects | /r/haskell | 1 Nov 2022
Parsing data from CSV into PostgreSQL in Phoenix Framework project with Elixir
1 project | dev.to | 24 Dec 2023
The Meaning of Monad in MonadTrans
2 projects | news.ycombinator.com | 13 Aug 2023
GQL: A SQL like query language for .git files
6 projects | /r/ProgrammingLanguages | 12 Jun 2023