1. 10 Nov, 2018 2 commits
    • Eric Myhre's avatar
      Add missing link fields to ipldfree.Node. · 6e449c0a
      Eric Myhre authored
      Not sure why these weren't there already.
      
      (Probably because of the ongoing discussion about "is link a kind at
      the data model level?" -- to which I still opine "ideally, no".  But
      that's something we're probably going to concede "yes" on *for now*,
      and try to straighten out later once we get something ready for the
      higher level type systems.)
      Signed-off-by: default avatarEric Myhre <hash@exultant.us>
      6e449c0a
    • Eric Myhre's avatar
      Drag a few things towards consistent order. · 1ac85e2d
      Eric Myhre authored
      Sort float and bytes (less ubiquitous things) to the bottom.
      
      Drop mention of uint from the ipldfree implementation.  So far all spec
      discussions have tended towards mentioning "integers" as a type, and
      definitely not "unsigned integers" or "positive-only integers" as a
      distinct kind in the core Data Model.
      Signed-off-by: default avatarEric Myhre <hash@exultant.us>
      1ac85e2d
  2. 21 Oct, 2018 1 commit
    • Eric Myhre's avatar
      Node for all. Last phase deref. · 34a8b3c7
      Eric Myhre authored
      Finally got the bind and free impls on the same page.
      
      Surprisingly, the bind node can work without being a ptr itself.
      I'm not sure if that'll last, but let's try to roll with it.
      If we *can* keep that property, it might reduce GC impact in a pretty
      significant way.
      
      Added a 'fluent' package.  It's just a twinkle in my eye so far, but it
      might represent the nicest way through all the discussed issues.
      Nodes shouldn't have to be panicful; and users shouldn't have to do all
      error handling manually either.  A package full of fluent interfaces
      that know what's going on seems to be the only way to get both.
      But we'll see how this shakes out.  Maybe typeful traversers will
      make the whole thing end up more coreward than being relegated to a
      helper package.  I have no idea.
      Signed-off-by: default avatarEric Myhre <hash@exultant.us>
      34a8b3c7
  3. 19 Oct, 2018 1 commit