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
354cffca
Commit
354cffca
authored
Jan 05, 2014
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving ihaskell-display and adding build script
parent
e09132a0
Changes
24
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
1304 additions
and
0 deletions
+1304
-0
build.sh
build.sh
+13
-0
Aeson.hs
ihaskell-display/ihaskell-aeson/IHaskell/Display/Aeson.hs
+16
-0
LICENSE
ihaskell-display/ihaskell-aeson/LICENSE
+20
-0
Setup.hs
ihaskell-display/ihaskell-aeson/Setup.hs
+2
-0
ihaskell-aeson.cabal
ihaskell-display/ihaskell-aeson/ihaskell-aeson.cabal
+71
-0
Display.hs
ihaskell-display/ihaskell-basic/IHaskell/Display/Display.hs
+15
-0
LICENSE
ihaskell-display/ihaskell-basic/LICENSE
+20
-0
README.md
ihaskell-display/ihaskell-basic/README.md
+4
-0
Setup.hs
ihaskell-display/ihaskell-basic/Setup.hs
+2
-0
ihaskell-display.cabal
ihaskell-display/ihaskell-basic/ihaskell-display.cabal
+73
-0
Blaze.hs
ihaskell-display/ihaskell-blaze/IHaskell/Display/Blaze.hs
+17
-0
LICENSE
ihaskell-display/ihaskell-blaze/LICENSE
+20
-0
Setup.hs
ihaskell-display/ihaskell-blaze/Setup.hs
+2
-0
ihaskell-blaze.cabal
ihaskell-display/ihaskell-blaze/ihaskell-blaze.cabal
+74
-0
Charts.hs
ihaskell-display/ihaskell-charts/IHaskell/Display/Charts.hs
+47
-0
LICENSE
ihaskell-display/ihaskell-charts/LICENSE
+20
-0
Setup.hs
ihaskell-display/ihaskell-charts/Setup.hs
+2
-0
Test.ipynb
ihaskell-display/ihaskell-charts/Test.ipynb
+331
-0
ihaskell-charts.cabal
ihaskell-display/ihaskell-charts/ihaskell-charts.cabal
+75
-0
Diagrams.hs
...ll-display/ihaskell-diagrams/IHaskell/Display/Diagrams.hs
+52
-0
LICENSE
ihaskell-display/ihaskell-diagrams/LICENSE
+20
-0
Setup.hs
ihaskell-display/ihaskell-diagrams/Setup.hs
+2
-0
Test.ipynb
ihaskell-display/ihaskell-diagrams/Test.ipynb
+331
-0
ihaskell-diagrams.cabal
ihaskell-display/ihaskell-diagrams/ihaskell-diagrams.cabal
+75
-0
No files found.
build.sh
0 → 100755
View file @
354cffca
#!/bin/sh
cd
profile
rm
profile.tar
tar
-cvf
profile.tar
*
cd
..
cabal
install
--force-reinstalls
||
return
1
cd
ihaskell-display
for
dir
in
`
ls
`
do
cd
$dir
cabal
install
||
return
1
cd
..
done
ihaskell-display/ihaskell-aeson/IHaskell/Display/Aeson.hs
0 → 100644
View file @
354cffca
{-# LANGUAGE NoImplicitPrelude, TypeSynonymInstances, QuasiQuotes #-}
module
IHaskell.Display.Aeson
where
import
ClassyPrelude
import
Data.Textual.Encoding
import
Data.Aeson
import
Data.Aeson.Encode.Pretty
import
Data.String.Here
import
IHaskell.Display
instance
IHaskellDisplay
Value
where
display
renderable
=
return
[
plain
json
,
html
dom
]
where
json
=
unpack
$
decodeUtf8
$
encodePretty
renderable
dom
=
[
i
|
<div class="highlight-code" id="javascript">${json}</div>
|]
ihaskell-display/ihaskell-aeson/LICENSE
0 → 100644
View file @
354cffca
The MIT License (MIT)
Copyright (c) 2013 Andrew Gibiansky
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ihaskell-display/ihaskell-aeson/Setup.hs
0 → 100644
View file @
354cffca
import
Distribution.Simple
main
=
defaultMain
ihaskell-display/ihaskell-aeson/ihaskell-aeson.cabal
0 → 100644
View file @
354cffca
-- The name of the package.
name: ihaskell-aeson
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: IHaskell display instances for Aeson
-- A longer description of the package.
-- description:
-- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell-Display
-- The license under which the package is released.
-- license:
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: andrew.gibiansky@gmail.com
-- A copyright notice.
-- copyright:
category: Development
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16
library
-- Modules exported by the library.
exposed-modules: IHaskell.Display.Aeson
-- Modules included in this library but not exported.
-- other-modules:
-- Language extensions.
default-extensions: DoAndIfThenElse
OverloadedStrings
-- Other library packages from which modules are imported.
build-depends: base ==4.6.*,
here,
classy-prelude >=0.7,
aeson,
aeson-pretty,
ihaskell
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
ihaskell-display/ihaskell-basic/IHaskell/Display/Display.hs
0 → 100644
View file @
354cffca
{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
module
IHaskell.Display.Display
where
import
IHaskell.Display
import
Text.Printf
instance
Show
a
=>
IHaskellDisplay
(
Maybe
a
)
where
display
just
=
return
[
stringDisplay
,
htmlDisplay
]
where
stringDisplay
=
plain
(
show
just
)
htmlDisplay
=
html
str
str
=
case
just
of
Nothing
->
"<span style='color: red; font-weight: bold;'>Nothing</span>"
Just
x
->
printf
"<span style='color: green; font-weight: bold;'>Just</span><span style='font-family: monospace;'>%s</span>"
(
show
x
)
ihaskell-display/ihaskell-basic/LICENSE
0 → 100644
View file @
354cffca
The MIT License (MIT)
Copyright (c) 2013 Andrew Gibiansky
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ihaskell-display/ihaskell-basic/README.md
0 → 100644
View file @
354cffca
IHaskell-Display
================
Instances of IHaskellDisplay for default prelude data types.
ihaskell-display/ihaskell-basic/Setup.hs
0 → 100644
View file @
354cffca
import
Distribution.Simple
main
=
defaultMain
ihaskell-display/ihaskell-basic/ihaskell-display.cabal
0 → 100644
View file @
354cffca
-- Initial ihaskell-display.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: ihaskell-display
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: IHaskell display instances for basic types
-- A longer description of the package.
-- description:
-- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell
-- The license under which the package is released.
-- license:
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: andrew.gibiansky@gmail.com
-- A copyright notice.
-- copyright:
category: Development
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16
library
-- Modules exported by the library.
exposed-modules: IHaskell.Display.Display
-- Modules included in this library but not exported.
-- other-modules:
-- Language extensions.
default-extensions: DoAndIfThenElse
OverloadedStrings
-- Other library packages from which modules are imported.
build-depends: base ==4.6.*,
classy-prelude >=0.6,
ihaskell
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
ihaskell-display/ihaskell-blaze/IHaskell/Display/Blaze.hs
0 → 100644
View file @
354cffca
{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
module
IHaskell.Display.Blaze
where
import
IHaskell.Display
import
Text.Printf
import
Text.Blaze.Html
import
Text.Blaze.Renderer.Pretty
import
Text.Blaze.Internal
import
Control.Monad
instance
IHaskellDisplay
(
MarkupM
a
)
where
display
val
=
return
[
stringDisplay
,
htmlDisplay
]
where
str
=
renderMarkup
(
void
val
)
stringDisplay
=
plain
str
htmlDisplay
=
html
str
ihaskell-display/ihaskell-blaze/LICENSE
0 → 100644
View file @
354cffca
The MIT License (MIT)
Copyright (c) 2013 Andrew Gibiansky
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ihaskell-display/ihaskell-blaze/Setup.hs
0 → 100644
View file @
354cffca
import
Distribution.Simple
main
=
defaultMain
ihaskell-display/ihaskell-blaze/ihaskell-blaze.cabal
0 → 100644
View file @
354cffca
-- Initial ihaskell-display.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: ihaskell-blaze
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: IHaskell display instances for blaze-html types
-- A longer description of the package.
-- description:
-- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell-Display
-- The license under which the package is released.
-- license:
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: andrew.gibiansky@gmail.com
-- A copyright notice.
-- copyright:
category: Development
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16
library
-- Modules exported by the library.
exposed-modules: IHaskell.Display.Blaze
-- Modules included in this library but not exported.
-- other-modules:
-- Language extensions.
default-extensions: DoAndIfThenElse
OverloadedStrings
-- Other library packages from which modules are imported.
build-depends: base ==4.6.*,
classy-prelude >=0.6,
blaze-html >= 0.6,
blaze-markup >= 0.5,
ihaskell
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
ihaskell-display/ihaskell-charts/IHaskell/Display/Charts.hs
0 → 100644
View file @
354cffca
{-# LANGUAGE NoImplicitPrelude #-}
module
IHaskell.Display.Charts
where
import
ClassyPrelude
import
System.Directory
import
Data.Default.Class
import
Graphics.Rendering.Chart.Renderable
import
Graphics.Rendering.Chart.Backend.Cairo
import
qualified
Data.ByteString.Base64
as
Base64
import
qualified
Data.ByteString.Char8
as
Char
import
System.IO.Unsafe
import
IHaskell.Display
width
::
Width
width
=
600
height
::
Height
height
=
400
instance
IHaskellDisplay
(
Renderable
a
)
where
display
renderable
=
do
imgData
<-
chartData
renderable
PNG
-- We can add `svg svgDisplay` to the output of `display`,
-- but SVGs are not resizable in the IPython notebook.
svgDisplay
<-
chartData
renderable
SVG
return
[
png
width
height
imgData
,
svg
svgDisplay
]
chartData
::
Renderable
a
->
FileFormat
->
IO
String
chartData
renderable
format
=
do
-- Switch to a temporary directory so that any files we create aren't
-- visible. On Unix, this is usually /tmp.
try
(
getTemporaryDirectory
>>=
setCurrentDirectory
)
::
IO
(
Either
SomeException
()
)
-- Write the PNG image.
let
filename
=
".ihaskell-chart.png"
opts
=
def
{
_fo_format
=
format
,
_fo_size
=
(
width
,
height
)}
renderableToFile
opts
renderable
filename
-- Convert to base64.
imgData
<-
readFile
$
fpFromString
filename
return
$
Char
.
unpack
$
case
format
of
PNG
->
Base64
.
encode
imgData
_
->
imgData
ihaskell-display/ihaskell-charts/LICENSE
0 → 100644
View file @
354cffca
The MIT License (MIT)
Copyright (c) 2013 Andrew Gibiansky
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ihaskell-display/ihaskell-charts/Setup.hs
0 → 100644
View file @
354cffca
import
Distribution.Simple
main
=
defaultMain
ihaskell-display/ihaskell-charts/Test.ipynb
0 → 100644
View file @
354cffca
This diff is collapsed.
Click to expand it.
ihaskell-display/ihaskell-charts/ihaskell-charts.cabal
0 → 100644
View file @
354cffca
-- The name of the package.
name: ihaskell-charts
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: IHaskell display instances for charts types
-- A longer description of the package.
-- description:
-- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell-Display
-- The license under which the package is released.
-- license:
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: andrew.gibiansky@gmail.com
-- A copyright notice.
-- copyright:
category: Development
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16
library
-- Modules exported by the library.
exposed-modules: IHaskell.Display.Charts
-- Modules included in this library but not exported.
-- other-modules:
-- Language extensions.
default-extensions: DoAndIfThenElse
OverloadedStrings
-- Other library packages from which modules are imported.
build-depends: base ==4.6.*,
classy-prelude >=0.6,
base64-bytestring,
bytestring,
data-default-class,
directory,
Chart,
Chart-cairo,
ihaskell
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
ihaskell-display/ihaskell-diagrams/IHaskell/Display/Diagrams.hs
0 → 100644
View file @
354cffca
{-# LANGUAGE NoImplicitPrelude, TypeSynonymInstances, FlexibleInstances #-}
module
IHaskell.Display.Diagrams
where
import
ClassyPrelude
import
System.Directory
import
qualified
Data.ByteString.Base64
as
Base64
import
qualified
Data.ByteString.Char8
as
Char
import
System.IO.Unsafe
import
Diagrams.Prelude
import
Diagrams.Backend.Cairo
import
IHaskell.Display
instance
IHaskellDisplay
(
Diagram
Cairo
R2
)
where
display
renderable
=
do
(
width
,
height
,
imgData
)
<-
diagramData
renderable
PNG
(
_
,
_
,
svgData
)
<-
diagramData
renderable
SVG
return
[
png
(
floor
width
)
(
floor
height
)
imgData
,
svg
svgData
]
diagramData
::
Diagram
Cairo
R2
->
OutputType
->
IO
(
Double
,
Double
,
String
)
diagramData
renderable
format
=
do
-- Switch to a temporary directory so that any files we create aren't
-- visible. On Unix, this is usually /tmp.
try
(
getTemporaryDirectory
>>=
setCurrentDirectory
)
::
IO
(
Either
SomeException
()
)
-- Compute width and height.
let
w
=
width
renderable
h
=
height
renderable
aspect
=
w
/
h
imgHeight
=
300
imgWidth
=
aspect
*
imgHeight
-- Write the image.
let
filename
=
".ihaskell-diagram."
++
extension
format
renderCairo
filename
(
Height
imgHeight
)
renderable
-- Convert to base64.
imgData
<-
readFile
$
fpFromString
filename
let
value
=
Char
.
unpack
$
case
format
of
PNG
->
Base64
.
encode
imgData
_
->
imgData
return
(
imgWidth
,
imgHeight
,
value
)
where
extension
SVG
=
"svg"
extension
PNG
=
"png"
-- Rendering hint.
diagram
::
Diagram
Cairo
R2
->
Diagram
Cairo
R2
diagram
=
id
ihaskell-display/ihaskell-diagrams/LICENSE
0 → 100644
View file @
354cffca
The MIT License (MIT)
Copyright (c) 2013 Andrew Gibiansky
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ihaskell-display/ihaskell-diagrams/Setup.hs
0 → 100644
View file @
354cffca
import
Distribution.Simple
main
=
defaultMain
ihaskell-display/ihaskell-diagrams/Test.ipynb
0 → 100644
View file @
354cffca
This diff is collapsed.
Click to expand it.
ihaskell-display/ihaskell-diagrams/ihaskell-diagrams.cabal
0 → 100644
View file @
354cffca
-- The name of the package.
name: ihaskell-diagrams
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: IHaskell display instances for diagram types
-- A longer description of the package.
-- description:
-- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell-Display
-- The license under which the package is released.
-- license:
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: andrew.gibiansky@gmail.com
-- A copyright notice.
-- copyright:
category: Development
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16
library
-- Modules exported by the library.
exposed-modules: IHaskell.Display.Diagrams
-- Modules included in this library but not exported.
-- other-modules:
-- Language extensions.
default-extensions: DoAndIfThenElse
OverloadedStrings
-- Other library packages from which modules are imported.
build-depends: base ==4.6.*,
classy-prelude >=0.6,
base64-bytestring,
bytestring,
directory,
diagrams,
diagrams-lib,
diagrams-cairo,
ihaskell
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
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