commit ghc-optional-args for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2020-09-07 22:03:14

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new.3399 (New)


Package is "ghc-optional-args"

Mon Sep  7 22:03:14 2020 rev:7 rq:832300 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2020-08-28 21:35:37.620730878 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-optional-args.new.3399/ghc-optional-args.changes
2020-09-07 22:03:14.654097028 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:30 UTC 2020 - psim...@suse.com
+
+- Update optional-args to version 1.0.2 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-optional-args for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2020-08-28 21:35:37

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new.3399 (New)


Package is "ghc-optional-args"

Fri Aug 28 21:35:37 2020 rev:6 rq:829367 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2020-06-19 17:16:17.890695068 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-optional-args.new.3399/ghc-optional-args.changes
2020-08-28 21:35:37.620730878 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:36 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.71NUB8/_old  2020-08-28 21:35:38.212731159 +0200
+++ /var/tmp/diff_new_pack.71NUB8/_new  2020-08-28 21:35:38.212731159 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-optional-args
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,7 +44,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build




commit ghc-optional-args for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2020-06-19 17:16:14

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new.3606 (New)


Package is "ghc-optional-args"

Fri Jun 19 17:16:14 2020 rev:5 rq:815142 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2019-12-27 13:55:50.424729969 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-optional-args.new.3606/ghc-optional-args.changes
2020-06-19 17:16:17.890695068 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:25 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.Cqo63f/_old  2020-06-19 17:16:18.590697250 +0200
+++ /var/tmp/diff_new_pack.Cqo63f/_new  2020-06-19 17:16:18.594697262 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-optional-args
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-optional-args for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2019-12-27 13:55:44

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new.6675 (New)


Package is "ghc-optional-args"

Fri Dec 27 13:55:44 2019 rev:4 rq:759462 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2019-06-19 21:12:36.322754455 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-optional-args.new.6675/ghc-optional-args.changes
2019-12-27 13:55:50.424729969 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:14:20 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.nIS0MX/_old  2019-12-27 13:55:50.916730207 +0100
+++ /var/tmp/diff_new_pack.nIS0MX/_new  2019-12-27 13:55:50.916730207 +0100
@@ -22,7 +22,6 @@
 Release:0
 Summary:Optional function arguments
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
@@ -36,7 +35,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-optional-args for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2019-06-19 21:11:19

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new.4811 (New)


Package is "ghc-optional-args"

Wed Jun 19 21:11:19 2019 rev:3 rq:710633 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2018-10-25 09:01:19.526688971 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-optional-args.new.4811/ghc-optional-args.changes
2019-06-19 21:12:36.322754455 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 14:29:13 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---

New:

  optional-args.cabal



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.cpNhEg/_old  2019-06-19 21:12:38.054756138 +0200
+++ /var/tmp/diff_new_pack.cpNhEg/_new  2019-06-19 21:12:38.102756185 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-optional-args
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ optional-args.cabal ++
Name: optional-args
Version: 1.0.2
x-revision: 1
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2015 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: gabriel...@gmail.com
Bug-Reports: https://github.com/Gabriel439/Haskell-Optional-Args-Library/issues
Synopsis: Optional function arguments
Description: This library provides a type for specifying `Optional` function
  arguments
  .
  Read the tutorial in "Data.Optional" to learn more
Category: Data
Source-Repository head
Type: git
Location: https://github.com/Gabriel439/Haskell-Optional-Args-Library

Library
HS-Source-Dirs: src
Build-Depends: base >= 4.5 && < 5
if !impl(ghc >= 8.0)
  Build-Depends: semigroups >= 0.16 && < 0.20
Exposed-Modules: Data.Optional
GHC-Options: -O2 -Wall
Default-Language: Haskell2010



commit ghc-optional-args for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2018-10-25 09:01:16

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new (New)


Package is "ghc-optional-args"

Thu Oct 25 09:01:16 2018 rev:2 rq:643431 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2018-07-25 16:09:35.865506335 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-optional-args.new/ghc-optional-args.changes 
2018-10-25 09:01:19.526688971 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:48 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.GDLb4Q/_old  2018-10-25 09:01:20.166688579 +0200
+++ /var/tmp/diff_new_pack.GDLb4Q/_new  2018-10-25 09:01:20.170688577 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-optional-args for openSUSE:Factory

2018-07-25 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2018-07-25 16:09:30

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new (New)


Package is "ghc-optional-args"

Wed Jul 25 16:09:30 2018 rev:1 rq:624463 version:1.0.2

Changes:

New Changes file:

--- /dev/null   2018-07-14 11:19:38.193360615 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-optional-args.new/ghc-optional-args.changes 
2018-07-25 16:09:35.865506335 +0200
@@ -0,0 +1,4 @@
+---
+Fri Jul 20 13:38:38 UTC 2018 - psim...@suse.com
+
+- Add optional-args at version 1.0.2.

New:

  ghc-optional-args.changes
  ghc-optional-args.spec
  optional-args-1.0.2.tar.gz



Other differences:
--
++ ghc-optional-args.spec ++
#
# spec file for package ghc-optional-args
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name optional-args
Name:   ghc-%{pkg_name}
Version:1.0.2
Release:0
Summary:Optional function arguments
License:BSD-3-Clause
Group:  Development/Libraries/Haskell
URL:https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros

%description
This library provides a type for specifying `Optional` function arguments

Read the tutorial in "Data.Optional" to learn more.

%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Haskell
Requires:   %{name} = %{version}-%{release}
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}

%build
%ghc_lib_build

%install
%ghc_lib_install

%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%license LICENSE

%files devel -f %{name}-devel.files

%changelog



commit ghc-optional-args for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2017-09-15 22:02:29

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new (New)


Package is "ghc-optional-args"

Fri Sep 15 22:02:29 2017 rev:4 rq:525110 version:1.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2016-07-20 09:28:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-optional-args.new/ghc-optional-args.changes 
2017-09-15 22:02:30.286957560 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.keezat/_old  2017-09-15 22:02:30.886873028 +0200
+++ /var/tmp/diff_new_pack.keezat/_new  2017-09-15 22:02:30.890872464 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-optional-args
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,11 @@
 Release:0
 Summary:Optional function arguments
 License:BSD-3-Clause
-Group:  System/Libraries
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This library provides a type for specifying `Optional` function arguments
@@ -36,7 +35,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -48,15 +47,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
@@ -64,10 +60,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog




commit ghc-optional-args for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2016-07-20 09:28:33

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new (New)


Package is "ghc-optional-args"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2016-04-22 16:25:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-optional-args.new/ghc-optional-args.changes 
2016-07-20 09:28:34.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:04:10 UTC 2016 - psim...@suse.com
+
+- Update to version 1.0.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.DZhsC1/_old  2016-07-20 09:28:35.0 +0200
+++ /var/tmp/diff_new_pack.DZhsC1/_new  2016-07-20 09:28:35.0 +0200
@@ -15,40 +15,36 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name optional-args
 
-Name:   ghc-optional-args
+%global pkg_name optional-args
+Name:   ghc-%{pkg_name}
 Version:1.0.1
 Release:0
 Summary:Optional function arguments
-Group:  System/Libraries
-
 License:BSD-3-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This library provides a type for specifying `Optional` function arguments
 
 Read the tutorial in "Data.Optional" to learn more.
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -64,18 +60,14 @@
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 
-
 %changelog




commit ghc-optional-args for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-optional-args for 
openSUSE:Factory checked in at 2016-04-22 16:25:10

Comparing /work/SRC/openSUSE:Factory/ghc-optional-args (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-optional-args.new (New)


Package is "ghc-optional-args"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-optional-args/ghc-optional-args.changes  
2016-02-09 13:32:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-optional-args.new/ghc-optional-args.changes 
2016-04-22 16:25:28.0 +0200
@@ -1,0 +2,5 @@
+Sun Apr 17 15:11:40 UTC 2016 - mimi...@gmail.com
+
+- update to 1.0.1
+
+---

Old:

  optional-args-1.0.0.tar.gz

New:

  optional-args-1.0.1.tar.gz



Other differences:
--
++ ghc-optional-args.spec ++
--- /var/tmp/diff_new_pack.olEcl6/_old  2016-04-22 16:25:28.0 +0200
+++ /var/tmp/diff_new_pack.olEcl6/_new  2016-04-22 16:25:28.0 +0200
@@ -18,7 +18,7 @@
 %global pkg_name optional-args
 
 Name:   ghc-optional-args
-Version:1.0.0
+Version:1.0.1
 Release:0
 Summary:Optional function arguments
 Group:  System/Libraries

++ optional-args-1.0.0.tar.gz -> optional-args-1.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/optional-args-1.0.0/optional-args.cabal 
new/optional-args-1.0.1/optional-args.cabal
--- old/optional-args-1.0.0/optional-args.cabal 2015-06-15 04:24:32.0 
+0200
+++ new/optional-args-1.0.1/optional-args.cabal 2016-04-16 06:11:46.0 
+0200
@@ -1,5 +1,5 @@
 Name: optional-args
-Version: 1.0.0
+Version: 1.0.1
 Cabal-Version: >=1.10
 Build-Type: Simple
 License: BSD3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/optional-args-1.0.0/src/Data/Optional.hs 
new/optional-args-1.0.1/src/Data/Optional.hs
--- old/optional-args-1.0.0/src/Data/Optional.hs2015-06-15 
04:24:32.0 +0200
+++ new/optional-args-1.0.1/src/Data/Optional.hs2016-04-16 
06:11:21.0 +0200
@@ -3,78 +3,78 @@
 {-# LANGUAGE DeriveTraversable #-}
 
 -- | Use the `Optional` type for optional function arguments.  For example:
--- 
+--
 -- > import Data.Optional
 -- >
 -- > greet :: Optional String -> String
 -- > greet (Specific name) = "Hello, " ++ name
 -- > greet  Default= "Hello"
--- 
+--
 -- >>> greet (Specific "John")
 -- "Hello, John"
 -- >>> greet Default
 -- "Hello"
--- 
+--
 -- The `Optional` type overloads as many Haskell literals as possible so
 -- that you do not need to wrap values in `Specific`.  For example, if you
 -- enable the `OverloadedStrings` extension you can use a naked string
 -- literal instead:
--- 
+--
 -- >>> :set -XOverloadedStrings
 -- >>> greet "John"
 -- "Hello, John"
--- 
+--
 -- The `Optional` type also implements `Num` and `Fractional`, so you can
 -- use numeric literals in place of `Optional` values:
--- 
+--
 -- > birthday :: Optional Int -> String
 -- > birthday (Specific age) = "You are " ++ show age ++ " years old!"
 -- > birthday  Default   = "You are one year older!"
--- 
+--
 -- >>> birthday 20
 -- "You are 20 years old!"
 -- >>> birthday Default
 -- "You are one year older!"
--- 
+--
 -- The `IsString`, `Num`, and `Fractional` instances are recursive, so you
 -- can wrap your types in a more descriptive newtype and derive `IsString`,
 -- `Num` or `Fractional`:
--- 
+--
 -- > {-# LANGUAGE GeneralizedNewtypeDeriving #-}
--- > 
+-- >
 -- > import Data.Optional
 -- > import Data.String (IsString)
--- > 
+-- >
 -- > newtype Name = Name { getName :: String } deriving (IsString)
--- > 
+-- >
 -- > greet :: Optional Name -> String
 -- > greet (Specific name) = "Hello, " ++ getName name
 -- > greet  Default= "Hello"
--- > 
+-- >
 -- > newtype Age = Age { getAge :: Int } deriving (Num)
--- > 
+-- >
 -- > birthday :: Optional Age -> String
 -- > birthday (Specific age) = "You are " ++ show (getAge age) ++ " years old!"
 -- > birthday  Default   = "You are one year older!"
--- 
+--
 -- ... and you would still be able to provide naked numeric or string
 -- literals:
--- 
+--
 -- >>> :set -XOverloadedStrings
 -- >>> greet "John"
 -- "Hello, John"
 -- >>> birthday 20
 -- "You are 20 years old!"
--- 
+--
 -- You can use `empty` as a short-hand for a `Default` argument:
--- 
+--
 -- >>> greet empty
 -- "Hello"
 -- >>> birthday empty
 -- "You are one year older!"
--- 
+--
 -- You can also use `pure` as a short-hand for a `Specific` argument:
--- 
+--
 -- >>> greet (pure "John")
 -- "Hello, John"
 -- >>> birthday (pure 20)
@@ -83,6 +83,9 @@
 module Data.Optional