You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 931 Reporter: administrator Assigned to:@alainfrisch Status: closed (set by @xavierleroy on 2012-03-24T14:01:48Z) Resolution: fixed Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general) Related to:#2748
Bug description
Hello,
for regularity it would be nice if the Map-module also contained a
"singleton"-function as is the case in module "Set":
val singleton: key -> 'a -> 'a t
let singleton x data = Node(Empty, x, data, Empty, 1)
Original bug ID: 931
Reporter: administrator
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2012-03-24T14:01:48Z)
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Related to: #2748
Bug description
Hello,
for regularity it would be nice if the Map-module also contained a
"singleton"-function as is the case in module "Set":
val singleton: key -> 'a -> 'a t
let singleton x data = Node(Empty, x, data, Empty, 1)
Thanks!
Best regards,
Markus
--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus
The text was updated successfully, but these errors were encountered: