Closed Cmdv closed 3 weeks ago
Found the type names confusing:
data Cache = UninitiatedCache | Cache !CacheInternal
So renamed it to reflect the fact that it acts like a Maybe:
Maybe
data CacheStatus = NoCache | ActiveCache !CacheInternal
Also did this type whilst I was at it:
data CacheNew = CacheNew | DontCacheNew | EvictAndReturn
to
data CacheUpdateAction = UpdateCache | DoNotUpdateCache | EvictAndUpdateCache
Description
Found the type names confusing:
So renamed it to reflect the fact that it acts like a
Maybe
:Also did this type whilst I was at it:
to