Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
75168d07
Commit
75168d07
authored
Mar 14, 2020
by
Paavo Parkkinen
Committed by
Marge Bot
Mar 17, 2020
Browse files
Make example collapsible
parent
4d85d68b
Pipeline
#16838
failed with stages
in 325 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
libraries/base/Data/Semigroup.hs
View file @
75168d07
...
...
@@ -126,6 +126,7 @@ cycle1 xs = xs' where xs' = xs <> xs'
-- | This lets you use a difference list of a 'Semigroup' as a 'Monoid'.
--
-- === __Example:__
-- >>> let hello = diff "Hello, "
-- >>> appEndo hello "World!"
-- "Hello, World!"
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!2887 (closed)
·
Mar 17, 2020
mentioned in merge request
!2887 (closed)
mentioned in merge request !2887
Toggle commit list
Ben Gamari
🐢
@bgamari
mentioned in merge request
!1675 (closed)
·
Mar 18, 2020
mentioned in merge request
!1675 (closed)
mentioned in merge request !1675
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment