#NEWLINE# def test_just_applicative_1( self ) : #NEWLINE# #INDENT# a = Just . pure ( ( lambda x , y : ( x + y ) ) ) . apply ( Just ( 2 ) ) . apply ( Just ( 40 ) ) #NEWLINE# self . assertNotEquals ( a , Nothing ( ) ) #NEWLINE# self . assertEquals ( a , Just ( 42 ) )