[CSL-2288] Add documentation and comments for meaning of types and functions
[CSL-2288] Add documentation and comments for meaning of types and functions

input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/cardano-sl