Skip to content

issues Search Results · repo:dfinity/new-motoko-base language:Motoko

Filter by

54 results
 (103 ms)

54 results

indfinity/new-motoko-base (press backspace or delete to remove)

Should they not update the first set instead?
  • crusso
  • 1
  • Opened 
    2 days ago
  • #161

The former traps deleting an absent key, the latter does not. I suggest add/remove trapping put/delete non-trapping
  • crusso
  • Opened 
    2 days ago
  • #160

The former traps on override of an existing key, the latter does not (which is what I would expect from a map). I can make the semantics of pure/Map.add match Map.add, but I suggest we also support variants ...
bug
question
  • crusso
  • 1
  • Opened 
    3 days ago
  • #156

Currently implemented as {} {(k, v)} {(k, v), ..., (k,v)} to echo mathematical set notation and so we can easily copy (some) contents back into a Motoko expression (eg. Map.fromIter K,V (Map.fromArray ...
  • crusso
  • Opened 
    3 days ago
  • #155

Currently, we are specifying the following signature for foldLeft/foldRight, for all ordered collections (array is just an example): func foldLeft T, A (array : [T], base : A, combine : (A, T) - A) ...
  • crusso
  • Opened 
    3 days ago
  • #154

I noticed that the new motoko base tests use two libraries that were last updated 2 years ago: https://github.com/aviate-labs/testing.mo https://github.com/kritzcreek/motoko-matchers I would like to propose ...
  • ZenVoich
  • 5
  • Opened 
    3 days ago
  • #152

Should we postpone implementing pure/Queue until we decide on a good representation?
  • crusso
  • Opened 
    4 days ago
  • #149

This fails to match the signature for pure/Map.map, which doesn t not require a comparison because it copies the structure of the tree instead of reconstructing it from scratch like (imperative) Map.map ...
  • crusso
  • 1
  • Opened 
    4 days ago
  • #146
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.