[Haskell-beginners] map question

Magnus Therning magnus at therning.org
Thu Sep 17 09:54:19 EDT 2009


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

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


More information about the Beginners mailing list