Am 03.05.2012 18:29, schrieb Baojun Wang:
> Dear list,
>
> I build haskell-platform 2011.04 by gentoo ~amd64 haskell overlay. But
> I can't run ghci even I rebuilt ghc or run haskell-updater, error
> message:
>
> ghci
> GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
> Loading package
"+= a[i]" is the same as "+=1", isn't it?
(i accidentally didn't reply to the list on my first try. sorry.)
Am 05.02.2012 16:36, schrieb Haisheng Wu:
Sorry there is a mistake in the problem description.
Here it is in Python:
a = [1,1,1,1] b = [0,1,2,3] c = [0,2] d = [0,0,0,0]
for i in b: