Changes between Version 6 and Version 7 of Libraries/Proposals/SemigroupMonoid


Ignore:
Timestamp:
Sep 21, 2017 9:54:33 PM (3 months ago)
Author:
Herbert Valerio Riedel
Comment:

spell out Prelude reexports

Legend:

Unmodified
Added
Removed
Modified
  • Libraries/Proposals/SemigroupMonoid

    v6 v7  
    1818
    1919{{{#!hs
     20module Prelude
     21    ( Semigroup((<>))
     22    , Monoid(mempty, mconcat)
     23    -- …
     24    ) where
     25
     26-- …
     27}}}
     28
     29
     30{{{#!hs
    2031module Data.Semigroup where
    2132
     
    2334    (<>) :: a -> a -> a
    2435
     36    -- not (re)exported from Prelude
    2537    sconcat :: NonEmpty a -> a
    2638    sconcat (a :| as) = go a as
     
    3042
    3143    -- GHC extension, not needed for Haskell Report
     44    -- & not (re)exported from Prelude
    3245    stimes :: Integral b => b -> a -> a
    3346    stimes y0 x0 = {- default impl -}
     
    4457
    4558    -- GHC extension, not needed for Haskell Report
     59    -- & not (re)exported from Prelude
    4660    mtimes :: Integral b => b -> a -> a
    4761    mtimes y0 x0 = {- default impl -}