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
b26209a9
Commit
b26209a9
authored
Jul 04, 2021
by
David Davó
Browse files
Options
Browse Files
Download
Plain Diff
Merge singletons 3.0
parents
2ebdc43b
a6d0a651
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
8 deletions
+17
-8
ci.yml
.github/workflows/ci.yml
+1
-0
Singletons.hs
...askell-widgets/src/IHaskell/Display/Widgets/Singletons.hs
+5
-3
Types.hs
...ay/ihaskell-widgets/src/IHaskell/Display/Widgets/Types.hs
+8
-4
Calc.hs
ipython-kernel/examples/Calc.hs
+1
-0
Simple.hs
ipython-kernel/examples/Simple.hs
+1
-0
stack-8.8.yaml
stack-8.8.yaml
+1
-1
No files found.
.github/workflows/ci.yml
View file @
b26209a9
...
@@ -41,6 +41,7 @@ jobs:
...
@@ -41,6 +41,7 @@ jobs:
-
stack-yaml
:
'
stack-8.2.yaml'
-
stack-yaml
:
'
stack-8.2.yaml'
-
stack-yaml
:
'
stack-8.4.yaml'
-
stack-yaml
:
'
stack-8.4.yaml'
-
stack-yaml
:
'
stack-8.6.yaml'
-
stack-yaml
:
'
stack-8.6.yaml'
-
stack-yaml
:
'
stack-8.8.yaml'
-
stack-yaml
:
'
stack.yaml'
-
stack-yaml
:
'
stack.yaml'
steps
:
steps
:
...
...
ihaskell-display/ihaskell-widgets/src/IHaskell/Display/Widgets/Singletons.hs
View file @
b26209a9
...
@@ -17,12 +17,14 @@
...
@@ -17,12 +17,14 @@
#
endif
#
endif
module
IHaskell.Display.Widgets.Singletons
where
module
IHaskell.Display.Widgets.Singletons
where
import
Data.Singletons.TH
#
if
MIN_VERSION_singletons
(
2
,
4
,
0
)
#
if
MIN_VERSION_singletons
(
3
,
0
,
0
)
import
Data.Singletons.Base.TH
#
elif
MIN_VERSION_singletons
(
2
,
4
,
0
)
import
Data.Singletons.TH
#
else
#
else
import
Data.Singletons.Prelude.Ord
import
Data.Singletons.Prelude.Ord
import
Data.Singletons.TH
#
endif
#
endif
-- Widget properties
-- Widget properties
...
...
ihaskell-display/ihaskell-widgets/src/IHaskell/Display/Widgets/Types.hs
View file @
b26209a9
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE AutoDeriveTypeable #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleContexts #-}
...
@@ -86,16 +87,19 @@ import Data.Vinyl.Functor (Compose(..), Const(..))
...
@@ -86,16 +87,19 @@ import Data.Vinyl.Functor (Compose(..), Const(..))
import
Data.Vinyl.Lens
(
rget
,
rput
,
type
(
∈
))
import
Data.Vinyl.Lens
(
rget
,
rput
,
type
(
∈
))
import
Data.Vinyl.TypeLevel
(
RecAll
)
import
Data.Vinyl.TypeLevel
(
RecAll
)
#
if
MIN_VERSION_singletons
(
2
,
4
,
0
)
#
if
MIN_VERSION_singletons
(
3
,
0
,
0
)
import
Data.List.Singletons
#
elif
MIN_VERSION_singletons
(
2
,
4
,
0
)
import
Data.Singletons.Prelude.List
import
Data.Singletons.Prelude.List
#
else
#
else
import
Data.Singletons.Prelude
((
:++
))
import
Data.Singletons.Prelude
((
:++
))
#
endif
#
endif
import
Data.Text.Lazy
(
unpack
)
#
if
MIN_VERSION_singletons
(
3
,
0
,
0
)
import
Data.
Text.Lazy.Encoding
import
Data.
Singletons.Base.TH
#
else
import
Data.Singletons.TH
import
Data.Singletons.TH
#
endif
import
GHC.IO.Exception
import
GHC.IO.Exception
...
...
ipython-kernel/examples/Calc.hs
View file @
b26209a9
...
@@ -222,6 +222,7 @@ mkConfig var = KernelConfig
...
@@ -222,6 +222,7 @@ mkConfig var = KernelConfig
,
languageFileExtension
=
".txt"
,
languageFileExtension
=
".txt"
,
languageCodeMirrorMode
=
"null"
,
languageCodeMirrorMode
=
"null"
,
languagePygmentsLexer
=
"Text"
,
languagePygmentsLexer
=
"Text"
,
languageMimeType
=
"x/extended-huttons-razor"
}
}
,
writeKernelspec
=
const
$
return
$
KernelSpec
,
writeKernelspec
=
const
$
return
$
KernelSpec
{
kernelDisplayName
=
"Hutton's Razor"
{
kernelDisplayName
=
"Hutton's Razor"
...
...
ipython-kernel/examples/Simple.hs
View file @
b26209a9
...
@@ -62,6 +62,7 @@ languageConfig = LanguageInfo
...
@@ -62,6 +62,7 @@ languageConfig = LanguageInfo
,
languageFileExtension
=
".txt"
,
languageFileExtension
=
".txt"
,
languageCodeMirrorMode
=
"null"
,
languageCodeMirrorMode
=
"null"
,
languagePygmentsLexer
=
"Text"
,
languagePygmentsLexer
=
"Text"
,
languageMimeType
=
"x/funcalc"
}
}
languageKernelspec
::
KernelSpec
languageKernelspec
::
KernelSpec
...
...
stack-8.8.yaml
View file @
b26209a9
...
@@ -52,4 +52,4 @@ nix:
...
@@ -52,4 +52,4 @@ nix:
-
pango
-
pango
-
pkgconfig
-
pkgconfig
-
zeromq
-
zeromq
-
zlib
-
zlib
\ No newline at end of file
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