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
869973df
Commit
869973df
authored
Jul 05, 2015
by
Sumit Sahrawat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deal with small -fcontext-stack on ghc-7.8
Use default value from ghc-7.10, i.e 100.
parent
4df9f1ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
ihaskell-widgets.cabal
ihaskell-display/ihaskell-widgets/ihaskell-widgets.cabal
+3
-0
Image.hs
...ay/ihaskell-widgets/src/IHaskell/Display/Widgets/Image.hs
+1
-0
Evaluate.hs
src/IHaskell/Eval/Evaluate.hs
+4
-0
No files found.
ihaskell-display/ihaskell-widgets/ihaskell-widgets.cabal
View file @
869973df
...
@@ -91,3 +91,6 @@ library
...
@@ -91,3 +91,6 @@ library
-- Base language which the package is written in.
-- Base language which the package is written in.
default-language: Haskell2010
default-language: Haskell2010
-- Deal with small -fcontext-stack on ghc-7.8
if impl(ghc == 7.8.*)
ghc-options: -fcontext-stack=100
ihaskell-display/ihaskell-widgets/src/IHaskell/Display/Widgets/Image.hs
View file @
869973df
...
@@ -17,6 +17,7 @@ import Control.Monad (when, join)
...
@@ -17,6 +17,7 @@ import Control.Monad (when, join)
import
Data.Aeson
import
Data.Aeson
import
Data.HashMap.Strict
as
HM
import
Data.HashMap.Strict
as
HM
import
Data.IORef
(
newIORef
)
import
Data.IORef
(
newIORef
)
import
Data.Monoid
(
mempty
)
import
Data.Text
(
Text
)
import
Data.Text
(
Text
)
import
Data.Vinyl
(
Rec
(
..
),
(
<+>
))
import
Data.Vinyl
(
Rec
(
..
),
(
<+>
))
...
...
src/IHaskell/Eval/Evaluate.hs
View file @
869973df
...
@@ -239,6 +239,10 @@ initializeImports = do
...
@@ -239,6 +239,10 @@ initializeImports = do
imports
<-
mapM
parseImportDecl
$
globalImports
++
displayImports
imports
<-
mapM
parseImportDecl
$
globalImports
++
displayImports
setContext
$
map
IIDecl
$
implicitPrelude
:
imports
setContext
$
map
IIDecl
$
implicitPrelude
:
imports
-- Set -fcontext-stack to 100 (default in ghc-7.10). ghc-7.8 uses 20, which is too small.
let
contextStackFlag
=
printf
"-fcontext-stack=%d"
(
100
::
Int
)
void
$
setFlags
[
contextStackFlag
]
-- | Give a value for the `it` variable.
-- | Give a value for the `it` variable.
initializeItVariable
::
Interpreter
()
initializeItVariable
::
Interpreter
()
initializeItVariable
=
initializeItVariable
=
...
...
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