Commit f5c10bec authored by SamAnklesaria's avatar SamAnklesaria
Browse files

ghci script for trac #2362

parent 54893216
......@@ -49,6 +49,7 @@ test('ghci032', normal, ghci_script, ['ghci032.script'])
test('ghci033', normal, ghci_script, ['ghci033.script'])
test('ghci034', normal, ghci_script, ['ghci034.script'])
test('ghci035', normal, ghci_script, ['ghci035.script'])
test('ghci036', normal, ghci_script, ['ghci036.script'])
test('2452', normal, ghci_script, ['2452.script'])
test('T2766', normal, ghci_script, ['T2766.script'])
......
import Data.List (nub)
:t nubBy
import Data.List (nubBy)
:t nub
:m +Data.List
:m -Data.List
:t nub
:t nubBy
import Data.List hiding (nub)
:t nub
import qualified Data.List as L
:t nub
:t L.nub
:m +Data.List
:t L.nub
:m -Data.List
:t L.nub
:m Prelude
:t nub
\ No newline at end of file
<interactive>:1:1: Not in scope: `nubBy'
<interactive>:1:1: Not in scope: `nub'
<interactive>:1:1: Not in scope: `nubBy'
<interactive>:1:1: Not in scope: `nub'
<interactive>:1:1: Not in scope: `nub'
<interactive>:1:1:
Failed to load interface for `L':
Use -v to see a list of the files searched for.
<interactive>:1:1:
Failed to load interface for `L':
Use -v to see a list of the files searched for.
<interactive>:1:1: Not in scope: `nub'
nub :: Eq a => [a] -> [a]
L.nub :: Eq a => [a] -> [a]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment