Skip to content

Commit

Permalink
[ compat ] add deprecated stub
Browse files Browse the repository at this point in the history
  • Loading branch information
gallais committed Apr 16, 2024
1 parent 1138237 commit e200afc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions GenerateEverything.hs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ unsafeModules = map modToFile
, "IO.Instances"
, "IO.Effectful"
, "IO.Finite"
, "IO.Primitive"
, "IO.Primitive.Core"
, "IO.Primitive.Handle"
, "IO.Primitive.Infinite"
Expand Down
15 changes: 15 additions & 0 deletions src/IO/Primitive.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use IO.Primitive.Core instead
------------------------------------------------------------------------

{-# OPTIONS --cubical-compatible #-}

module IO.Primitive where

open import IO.Primitive public

{-# WARNING_ON_IMPORT
"IO.Primitive was deprecated in v2.1. Use IO.Primitive.Core instead."
#-}

0 comments on commit e200afc

Please sign in to comment.