Skip to content

Add function setItem#672

Open
gusty wants to merge 1 commit intomasterfrom
gus/set_item
Open

Add function setItem#672
gusty wants to merge 1 commit intomasterfrom
gus/set_item

Conversation

@gusty
Copy link
Member

@gusty gusty commented Jan 24, 2026

This function is simple but has some interesting use cases:

> let x =
    new System.Collections.Generic.Dictionary<int,string> ()
    |- setItem 1 "one"
    |- setItem 2 "two"

val x: System.Collections.Generic.Dictionary<int,string> =
  dict [(1, "one"); (2, "two")]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants