Skip to content

Commit c603bc8

Browse files
copilot-language: Remove deprecated function Copilot.Language.Spec.forall. Refs #518.
The function Copilot.Language.Spec.forall not being used by any other part of Copilot. It was replaced by a function with a different name due to the lowercase name not being allowed in newer versions of GHC. The original function was deprecated in Copilot 3.18. As per our internal policy of waiting 3 versions from deprecation until a public interface declaration can be removed, this function can now be removed. This commit removes the function Copilot.Language.Spec.forall from copilot-language (both in the module that defines it and in a module that re-exports it).
1 parent f5a96ce commit c603bc8

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

copilot-language/src/Copilot/Language.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module Copilot.Language
3838
, prop
3939
, theorem
4040
, forAll
41-
, forall, exists
41+
, exists
4242
) where
4343

4444
import Data.Int hiding (Int)

copilot-language/src/Copilot/Language/Spec.hs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Copilot.Language.Spec
2828
, prop, properties
2929
, theorem, theorems
3030
, forAll
31-
, forall, exists
31+
, exists
3232
, extractProp
3333
, Universal, Existential
3434
) where
@@ -165,11 +165,6 @@ data Prop a where
165165
forAll :: Stream Bool -> Prop Universal
166166
forAll = Forall
167167

168-
{-# DEPRECATED forall "Use forAll instead." #-}
169-
-- | Universal quantification of boolean streams over time.
170-
forall :: Stream Bool -> Prop Universal
171-
forall = forAll
172-
173168
-- | Existential quantification of boolean streams over time.
174169
exists :: Stream Bool -> Prop Existential
175170
exists = Exists

0 commit comments

Comments
 (0)