Zulip Chat Archive

Stream: batteries

Topic: haskell typeclasses


Kim Morrison (Mar 31 2025 at 22:52):

Yes, I wanted the complement --- are there any files in Control which are not imported outside of Control.

Aaron Liu (Mar 31 2025 at 22:59):

Kim Morrison said:

Yes, I wanted the complement --- are there any files in Control which are not imported outside of Control.

A quick search finds file#Control/Fold, file#Control/LawfulFix, and file#Control/Random

Kim Morrison (Mar 31 2025 at 23:00):

@Mario Carneiro would you want those files in Batteries?

If we could find another home for Haskell, I think that would be good. These files have not been receiving any love in Mathlib for years.

Mario Carneiro (Mar 31 2025 at 23:14):

It could move to batteries... I don't really want to maintain a leancolls style typeclass hierarchy but maybe it's something batteries could support, with the primary motivation being that it's a "vocabulary type", it's annoying if everyone redefines it.

Mario Carneiro (Mar 31 2025 at 23:15):

cc: @François G. Dorais , opinions?

Notification Bot (Mar 31 2025 at 23:16):

5 messages were moved here from #mathlib4 > Technical Debt Counters by Mario Carneiro.

François G. Dorais (Apr 02 2025 at 00:02):

I think it could move but I'm rather busy this week so this is just a preliminary opinion.


Last updated: May 02 2025 at 03:31 UTC