Skip to content

Commit

Permalink
Use :seti instead of :set in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed Oct 14, 2023
1 parent a7623d5 commit 6bb14c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
- 8.10.5
- 8.10.6
- 8.10.7
- 9.0.1
- 9.0.2
- 9.2.1
# - 9.0.1
# - 9.0.2
# - 9.2.1
- 9.2.2
- 9.2.3
- 9.2.4
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ There's two sets of GHC extensions involved when running Doctest:

```haskell
-- |
-- >>> :set -XTupleSections
-- >>> :seti -XTupleSections
-- >>> fst' $ (1,) 2
-- 1
fst' :: (a, b) -> a
Expand All @@ -450,7 +450,7 @@ Haddock](#hiding-examples-from-haddock), e.g.:

```haskell
-- $
-- >>> :set -XTupleSections
-- >>> :seti -XTupleSections
```

[language-pragma]: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/exts/pragmas.html#language-pragma
Expand Down
4 changes: 2 additions & 2 deletions doc/README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ There's two sets of GHC extensions involved when running Doctest:

```haskell
-- |
-- >>> :set -XTupleSections
-- >>> :seti -XTupleSections
-- >>> fst' $ (1,) 2
-- 1
fst' :: (a, b) -> a
Expand All @@ -405,7 +405,7 @@ Haddock](#hiding-examples-from-haddock), e.g.:

```haskell
-- $
-- >>> :set -XTupleSections
-- >>> :seti -XTupleSections
```

[language-pragma]: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/exts/pragmas.html#language-pragma
Expand Down
2 changes: 1 addition & 1 deletion test/Language/Haskell/GhciWrapperSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec = do

context "with -XOverloadedStrings, -Wall and -Werror" $ do
it "does not fail on marker expression (bug fix)" $ withInterpreter $ \ghci -> do
ghci ":set -XOverloadedStrings -Wall -Werror" `shouldReturn` ""
ghci ":seti -XOverloadedStrings -Wall -Werror" `shouldReturn` ""
ghci "putStrLn \"foo\"" `shouldReturn` "foo\n"

context "with NoImplicitPrelude" $ do
Expand Down

0 comments on commit 6bb14c4

Please sign in to comment.