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
63ecc797
Commit
63ecc797
authored
Jan 03, 2014
by
Adam Vogt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move IHaskell stuff to src/
parent
09f23ace
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
15 additions
and
6 deletions
+15
-6
.ghci
.ghci
+1
-0
IHaskell.cabal
IHaskell.cabal
+2
-0
README.md
README.md
+11
-5
Hspec.hs
src/Hspec.hs
+0
-0
Config.hs
src/IHaskell/Config.hs
+0
-0
Display.hs
src/IHaskell/Display.hs
+0
-0
Completion.hs
src/IHaskell/Eval/Completion.hs
+0
-0
Evaluate.hs
src/IHaskell/Eval/Evaluate.hs
+1
-1
Info.hs
src/IHaskell/Eval/Info.hs
+0
-0
Lint.hs
src/IHaskell/Eval/Lint.hs
+0
-0
Parser.hs
src/IHaskell/Eval/Parser.hs
+0
-0
IPython.hs
src/IHaskell/IPython.hs
+0
-0
Parser.hs
src/IHaskell/Message/Parser.hs
+0
-0
UUID.hs
src/IHaskell/Message/UUID.hs
+0
-0
Writer.hs
src/IHaskell/Message/Writer.hs
+0
-0
Types.hs
src/IHaskell/Types.hs
+0
-0
ZeroMQ.hs
src/IHaskell/ZeroMQ.hs
+0
-0
Main.hs
src/Main.hs
+0
-0
No files found.
.ghci
View file @
63ecc797
:set -package ghc
:set -package ghc-paths
:set -optP-include -optPdist/build/autogen/cabal_macros.h
:set -i. -isrc -idist/build/autogen
:set -XDoAndIfThenElse -XNoImplicitPrelude -XOverloadedStrings
IHaskell.cabal
View file @
63ecc797
...
...
@@ -46,6 +46,7 @@ data-files:
profile/profile.tar
library
hs-source-dirs: src
build-depends: base ==4.6.*,
hlint,
cmdargs >= 0.10,
...
...
@@ -81,6 +82,7 @@ library
executable IHaskell
-- .hs or .lhs file containing the Main module.
hs-source-dirs: src
main-is: Main.hs
build-tools: happy, cpphs
...
...
README.md
View file @
63ecc797
...
...
@@ -69,8 +69,7 @@ Compilation Tools
---
Install the
`happy`
parser generator tool and
`cpphs`
preprocessor:
```
bash
cabal
install
happy
cabal
install
cpphs
cabal
install
happy cpphs
```
IHaskell Installation
...
...
@@ -148,10 +147,17 @@ The will hide all packages not listed in the
**Using GHCi directly**
If you don't want to use
cabal repl, you can just call ghci with the appropriate options. You can find these in the IHaskell.cabal file.
If you don't want to use
`cabal repl`
, you can just call ghci which can read the
`.ghci`
file included in the repository for the options.
```
bash
ghci
-XDoAndIfThenElse
-XNoImplicitPrelude
-XOverloadedStrings
-package
ghc
-optP-include
-optPdist
/build/autogen/cabal_macros.h
cd
<path-to-IHaskell>
chmod
600 .ghci
# trust the .ghci file
ghci
```
Then in the ghci session you can type things like:
If you just call ghci, it will use the options present in the .ghci file that comes with the IHaskell repo.
```
:load src/Hspec.hs
hspec parserTests
:browse IHaskell.Types
```
Hspec.hs
→
src/
Hspec.hs
View file @
63ecc797
File moved
IHaskell/Config.hs
→
src/
IHaskell/Config.hs
View file @
63ecc797
File moved
IHaskell/Display.hs
→
src/
IHaskell/Display.hs
View file @
63ecc797
File moved
IHaskell/Eval/Completion.hs
→
src/
IHaskell/Eval/Completion.hs
View file @
63ecc797
File moved
IHaskell/Eval/Evaluate.hs
→
src/
IHaskell/Eval/Evaluate.hs
View file @
63ecc797
{-# LANGUAGE DoAndIfThenElse #-}
{-# LANGUAGE DoAndIfThenElse
, NoOverloadedStrings
#-}
{- | Description : Wrapper around GHC API, exposing a single `evaluate` interface that runs
a statement, declaration, import, or directive.
...
...
IHaskell/Eval/Info.hs
→
src/
IHaskell/Eval/Info.hs
View file @
63ecc797
File moved
IHaskell/Eval/Lint.hs
→
src/
IHaskell/Eval/Lint.hs
View file @
63ecc797
File moved
IHaskell/Eval/Parser.hs
→
src/
IHaskell/Eval/Parser.hs
View file @
63ecc797
File moved
IHaskell/IPython.hs
→
src/
IHaskell/IPython.hs
View file @
63ecc797
File moved
IHaskell/Message/Parser.hs
→
src/
IHaskell/Message/Parser.hs
View file @
63ecc797
File moved
IHaskell/Message/UUID.hs
→
src/
IHaskell/Message/UUID.hs
View file @
63ecc797
File moved
IHaskell/Message/Writer.hs
→
src/
IHaskell/Message/Writer.hs
View file @
63ecc797
File moved
IHaskell/Types.hs
→
src/
IHaskell/Types.hs
View file @
63ecc797
File moved
IHaskell/ZeroMQ.hs
→
src/
IHaskell/ZeroMQ.hs
View file @
63ecc797
File moved
Main.hs
→
src/
Main.hs
View file @
63ecc797
File moved
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