Help for this page

Select Code to Download


  1. or download this
    sum x y = x + y
    
    sum :: Num a => a -> a -> a
    
  2. or download this
    sum :: Num a => a -> (a -> a)
    
  3. or download this
    increment = sum 1
    
  4. or download this
    sum 1 2
    ## really means
    ...
    (\y -> 1 + y) 2
    ##
    1 + 2