If an effect causes you to discard a card, discard it, but you may put it on top of your library instead of into your graveyard.
10/4/2004 This effect has no effect on the cards being put into the graveyard from a library, because they are not “discarded”.
10/4/2004 You can’t use the Library of Leng ability to place a discarded card on top of your library when you discard a card as a cost, because costs aren’t effects.
10/4/2004 The discard triggers anything else that triggers on discards.
10/4/2004 You can look at a randomly discarded card before deciding where it goes.
10/4/2004 The ability applies any time a spell or ability has you discard as part of its effect. It does not matter if you or your opponent control the spell or ability. The discard is forced because it is an effect.
10/4/2004 If more than one card is discarded due to a single effect, the Library allows you to decide whether or not to use it on each of the cards. You get to decide the order the cards are placed on the library if more than one goes there.
10/4/2004 Since the card goes directly to the library, the card is not revealed unless the spell or ability requiring the discard specifically says it is.
10/4/2004 The ability replaces the normal discard action with a discard action that puts the card on the library instead of the graveyard.
10/1/2009 If multiple effects modify your hand size, apply them in timestamp order. For example, if you put Null Profusion (an enchantment that says your maximum hand size is two) onto the battlefield and then put Library of Leng onto the battlefield, you’ll have no maximum hand size. However, if those permanents entered the battlefield in the opposite order, your maximum hand size would be two.