add Map to DAML-LF
See original GitHub issuewe wanted to add Map
s to DAML-LF for a long time. now we’re ready!
the proposal is simple, add a Map
type to DAML-LF, which is an unordered, Text
-keyed map.
concretely, we’d have
Map : * -> *
MAP_EMPTY : forall a. Map a
MAP_INSERT : forall a. Text -> a -> Map a -> Map a
MAP_LOOKUP : forall a. Text -> Map a -> Optional a
MAP_DELETE : forall a. Text -> Map a -> Map a
MAP_TO_LIST: ∀ α. Map α → List ⟨key: Text, value: α⟩
MAP_SIZE : forall a. Map a -> Int64
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Dallas City Info_2022
Click the search box and type in an address or choose Use current location; Zoom to address and click on the map. Example:...
Read more >Interactive Maps - City of Dallas, GIS
The City of Dallas Texas GIS Homepage. Here you can find links leading to published geospatial datasets, and published applications providing locational ...
Read more >Driving directions to Dallas, TX, US - Waze
Realtime driving directions to Dallas, TX, US, based on live traffic updates and road conditions – from Waze fellow drivers.
Read more >Dallas County Parcel Viewer
... FirmPanel, Rivers/Streams, Lot line, Subdivisions, Parcel Hook, Leader, Parcels, Utility Line, Sec/Twp line, County Line, cannot be added to the map.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will use
MAP_EMPTY
instead ofMAP_NEW
MAP_DELETE
insteadMAP_REMOVE
to follow Map.daml
Sounds good to me! Apart from Maybe => Optional.