I have heard that repos can be used to gain leverage, particularly within hedge funds. However, if repo sellers (who borrow cash) have to post collateral, and the value of collateral is reduced via a haircut, wouldn't this in effect be the opposite of leverage? i.e. repo sellers would be getting in cash less than the full market value of their securities, when the objective is to get more cash?