Seeking Advice on Migrating from `readonlyMap` in fp-ts to Effect's `HashMap`
Hi there! We have been using the
From what I've seen, there's no equivalent in Effect. The closest I can see if
What would be your recommendation ?
- wait for something like Map to land on Effect as it's scheduled?
- keep using the module from fp-ts?
- start migrating to HashMap as it's unlikely that a Map module will ever exist in Effect?
- something else?
Thanks in advance for your answers!
readonlyMap module from fp-ts a lot to help deal with the Map we extensively use in our code base.From what I've seen, there's no equivalent in Effect. The closest I can see if
HashMap but we would have to migrate all our code and probably write custom serialization/deserialization function to keep our current data structure in the database.What would be your recommendation ?
- wait for something like Map to land on Effect as it's scheduled?
- keep using the module from fp-ts?
- start migrating to HashMap as it's unlikely that a Map module will ever exist in Effect?
- something else?
Thanks in advance for your answers!
