Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Jun 18, 2024
1 parent b839b8f commit 5e5f2f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion haskell/lambda-pi/src/Language/LambdaPi/Impl/Foil.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import Unsafe.Coerce (unsafeCoerce)
-- $setup
-- >>> :set -XOverloadedStrings
-- >>> :set -XDataKinds
-- import Control.Monad.Foil
-- >>> import Control.Monad.Foil

-- | Type of scope-safe \(\lambda\Pi\)-terms with pairs.
data Expr n where
Expand Down
1 change: 1 addition & 0 deletions haskell/lambda-pi/src/Language/LambdaPi/Impl/FreeFoil.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import System.Exit (exitFailure)

-- $setup
-- >>> import qualified Control.Monad.Foil as Foil
-- >>> import Control.Monad.Free.Foil
-- >>> :set -XOverloadedStrings
-- >>> :set -XDataKinds

Expand Down

0 comments on commit 5e5f2f2

Please sign in to comment.