From c79473051a8e1647b14f351b72768b74301acc33 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Wed, 19 Jan 2022 13:04:08 -0500 Subject: Deal with the MonadFail proposal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit base-4.9 split MonadFail from Monad. Strengthen some type signatures to require MonadFail instead of just Monad, derive MonadFail in relevant places, and change a partial pattern match inside STM to one that explicitly calls error. (STM is not a MonadFail; the user must explicitly specify the desired semantics if a pattern match doesn’t work out. In this case, the failing branch of the pattern should never be reached, so crashing is fine.) --- COPYRIGHT | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'COPYRIGHT') diff --git a/COPYRIGHT b/COPYRIGHT index d3007b4ec..1c9f7ebce 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -11,6 +11,24 @@ Copyright: © 2011 Joey Hess © 2014 Robie Basak License: GPL-3+ +Files: Utility/HumanTime.hs +Copyright: 2012-2013 Joey Hess + 2022 Benjamin Barenblat +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at + . + https://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software distributed + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. See the License for the + specific language governing permissions and limitations under the License. + . + On Debian systems, the complete text of the Apache License, Version 2.0, can be + found in "/usr/share/common-licenses/Apache-2.0". + Files: Utility/ThreadScheduler.hs Copyright: 2011 Bas van Dijk & Roel van Dijk 2012, 2013 Joey Hess -- cgit v1.2.3