• Alfredo Di Napoli's avatar
    Remove InsertDB class, add publishNode and shareNode · 76b51c0c
    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`.
    76b51c0c
Database.hs 637 Bytes