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
df62bd56
Commit
df62bd56
authored
May 09, 2014
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed temporary
parent
2415aefd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
ihaskell.cabal
ihaskell.cabal
+1
-2
Display.hs
src/IHaskell/Display.hs
+0
-2
Evaluate.hs
src/IHaskell/Eval/Evaluate.hs
+3
-4
No files found.
ihaskell.cabal
View file @
df62bd56
...
...
@@ -91,8 +91,7 @@ library
stm -any,
text -any,
utf8-string -any,
vector -any,
temporary ==1.2.*
vector -any
exposed-modules: IHaskell.Display
IHaskell.Convert
...
...
src/IHaskell/Display.hs
View file @
df62bd56
...
...
@@ -25,7 +25,6 @@ import qualified Data.ByteString.Char8 as Char
import
Data.Aeson
(
Value
)
import
System.Directory
(
getTemporaryDirectory
,
setCurrentDirectory
)
import
System.IO.Temp
(
createTempDirectory
)
import
Control.Concurrent.STM.TChan
...
...
@@ -135,6 +134,5 @@ switchToTmpDir = void (try switchDir :: IO (Either SomeException ()))
where
switchDir
=
getTemporaryDirectory
>>=
flip
createTempDirectory
"ihaskell-display-tmp"
>>=
setCurrentDirectory
src/IHaskell/Eval/Evaluate.hs
View file @
df62bd56
...
...
@@ -705,10 +705,9 @@ evalCommand output (Expression expr) state = do
out
<-
useDisplay
displayExpr
-- Register the `it` object as a widget.
out'
<-
if
isWidget
then
registerWidget
out
else
return
out
return
out'
if
isWidget
then
registerWidget
out
else
return
out
else
do
-- Evaluate this expression as though it's just a statement.
...
...
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