Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
ead91982
Commit
ead91982
authored
Jun 12, 2014
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes ihaskell test nb
parent
0e6dc7e5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
22 deletions
+64
-22
ihaskell-diagrams.cabal
ihaskell-display/ihaskell-diagrams/ihaskell-diagrams.cabal
+1
-1
IHaskell.ipynb
notebooks/IHaskell.ipynb
+61
-20
Util.hs
src/IHaskell/Eval/Util.hs
+2
-1
No files found.
ihaskell-display/ihaskell-diagrams/ihaskell-diagrams.cabal
View file @
ead91982
...
@@ -63,7 +63,7 @@ library
...
@@ -63,7 +63,7 @@ library
bytestring,
bytestring,
directory,
directory,
-- Use diagrams wrapper package to ensure all same versions of subpackages
-- Use diagrams wrapper package to ensure all same versions of subpackages
diagrams==1.
1
.*,
diagrams==1.
2
.*,
diagrams-lib,
diagrams-lib,
diagrams-cairo,
diagrams-cairo,
ihaskell >= 0.4
ihaskell >= 0.4
...
...
notebooks/IHaskell.ipynb
View file @
ead91982
This diff is collapsed.
Click to expand it.
src/IHaskell/Eval/Util.hs
View file @
ead91982
...
@@ -168,7 +168,8 @@ evalImport imports = do
...
@@ -168,7 +168,8 @@ evalImport imports = do
-- Check whether an import is the same as another import (same module).
-- Check whether an import is the same as another import (same module).
importOf
::
ImportDecl
RdrName
->
InteractiveImport
->
Bool
importOf
::
ImportDecl
RdrName
->
InteractiveImport
->
Bool
importOf
_
(
IIModule
_
)
=
False
importOf
_
(
IIModule
_
)
=
False
importOf
imp
(
IIDecl
decl
)
=
((
==
)
`
on
`
(
unLoc
.
ideclName
))
decl
imp
importOf
imp
(
IIDecl
decl
)
=
((
==
)
`
on
`
(
unLoc
.
ideclName
))
decl
imp
&&
not
(
ideclQualified
decl
)
-- Check whether an import is an *implicit* import of something.
-- Check whether an import is an *implicit* import of something.
implicitImportOf
::
ImportDecl
RdrName
->
InteractiveImport
->
Bool
implicitImportOf
::
ImportDecl
RdrName
->
InteractiveImport
->
Bool
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment