rnfail030.hs:2:21: error: Not in scope: ‘Data.List.map’ Perhaps you want to add ‘map’ to the import list in the import of ‘Data.List’ (rnfail030.hs:3:1-19).