[Haskell-cafe] Operator #

c8h10n4o2 asaferibeiro4 at ymail.com
Thu Dec 9 20:31:33 CET 2010


What does # mean in this code ? (from Data.List)

findIndices p ls = loop 0# ls
                 where
                   loop _ [] = []
                   loop n (x:xs) | p x       = I# n : loop (n +# 1#) xs
                                      | otherwise = loop (n +# 1#) xs

-- 
View this message in context: http://haskell.1045720.n5.nabble.com/Operator-tp3299360p3299360.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list