[Haskell-beginners] map question

Tommy M. McGuire mcguire at crsr.net
Thu Sep 17 11:05:43 EDT 2009


Cue The Evolution of a Haskell Programmer:

http://www.willamette.edu/~fruehr/haskell/evolution.html

:-)

Magnus Therning wrote:
> On Thu, Sep 17, 2009 at 2:06 PM, Tom Doris <tomdoris at gmail.com> wrote:
>> This works:
>>
>> map (+ (-1)) [1,2,3,4]
> 
> map pred [1..4]
> 
> /M
> 


-- 
Tommy M. McGuire
mcguire at crsr.net


More information about the Beginners mailing list