1 Sep 07:01 2013

## function arithmetic?

Christopher Howard <christopher.howard <at> frigidcode.com>

2013-09-01 05:01:38 GMT

2013-09-01 05:01:38 GMT

Hi. I was just curious about something. In one of my math textbooks I see expressions like this f + g or (f + g)(a) where f and g are functions. What is meant is f(a) + g(a) Is there a way in Haskell you can make use of syntax like that (i.e., expressions like f + g and f * g to create a new function), perhaps by loading a module or something?