• Alfredo Di Napoli's avatar
    Remove InsertDB class, add publishNode and shareNode · 16140c9a
    Alfredo Di Napoli authored
    This commit removes the `InsertDB` typeclass, an indirection which
    wasn't very useful as it was being used in exactly one place in the
    whole codebase (i.e. the share code).
    
    Talking about share, this commit refactors things ever so slightly so
    that we have a dedicated `shareNode` operation rather than using the
    low-level `insertNodeNode`.
    16140c9a
Share.hs 5.46 KB