我正在努力学习Haskell.
我在这里阅读代码[1].我只是复制并过去代码的一部分:46和298-300.
问题:(..)是什么意思?
我很难过,但我没有结果.
module Pos.Core.Types(
-- something here
SharedSeed (..) -- what does this mean?
) where
newtype SharedSeed = SharedSeed
{ getSharedSeed :: ByteString
} deriving (Show, Eq, Ord, Generic, NFData, Typeable)
Run Code Online (Sandbox Code Playgroud)
[1] https://github.com/input-output-hk/cardano-sl/blob/master/core/Pos/Core/Types.hs