Hi ! I'm building a list of pair using zip_with
and would like to get a stringmap
from it. Is there a function in stdpp for that (can't find it myself :/) or should I do it ? I found the to_list
but no from_list
The functions you want are map_to_list
and list_to_map
.
ok, I'll keep fin_maps.v
opened :) Thank you @Paolo Giarrusso
Yep, that's what I do; if you're also struggling with Search
, please consider posting any examples here:
https://coq.zulipchat.com/#narrow/stream/237977-Coq-users/topic/Towards.20a.20CEP.20for.20improving.20Search
I'm not yet used to use Search
when type classes are around, and Search gmap
or Search stringmap
didn't return map_to_list. I should learn to use Search
like I used to do SearchPattern
Last updated: Oct 13 2024 at 01:02 UTC