내가 브라이언 설리번의 Attoparsec 기반의 HTTP 파서 (http://www.serpentine.com/blog/2010/03/03/whats-in-a-parser-attoparsec-rewired-2/)에 대한 테스트를 실행하려고 발견, 나는이 오류가 없어 :Attoparsec`many` 방법은
> runhaskell TestRFC2616.hs
TestRFC2616.hs:13:30:
Not in scope: `many'
Perhaps you meant one of these:
`any' (imported from Prelude),
`B.any' (imported from Data.ByteString.Char8),
many' (imported from Data.Attoparsec)
놀을, 나는 ghci를 실행하고이 있어요 :
> ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m +Data.Attoparsec
Prelude Data.Attoparsec> :t many
<interactive>:1:1:
Not in scope: `many'
Perhaps you meant one of these:
`any' (imported from Prelude),
many' (imported from Data.Attoparsec),
`many1' (imported from Data.Attoparsec)
Prelude Data.Attoparsec>
아무도 나에게 무슨 일이 일어 났는지 말해 줄 수 있습니까?
'many''가 아니라'many'를 제안하는 것이 좋습니다. 그리고 아마 당신은'Control.Applicative'의'many'를 원할 것입니다. –