Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions copilot-core/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2025-06-28
* Remove deprecated fields of Copilot.Core.Expr.UExpr. (#636)

2025-05-07
* Version bump (4.4). (#618)
* Remove deprecated Copilot.Core.Type.uTypeType. (#615)
Expand Down
6 changes: 1 addition & 5 deletions copilot-core/src/Copilot/Core/Expr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,4 @@ data Expr a where
-- | A untyped expression that carries the information about the type of the
-- expression as a value, as opposed to exposing it at type level (using an
-- existential).
data UExpr = forall a . Typeable a => UExpr
{ uExprType :: Type a
, uExprExpr :: Expr a
}
{-# DEPRECATED uExprType, uExprExpr "These fields are deprecated in Copilot 4.2. Use pattern matching instead." #-}
data UExpr = forall a . Typeable a => UExpr (Type a) (Expr a)