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
ba7cd9c8
Commit
ba7cd9c8
authored
May 29, 2016
by
Sumit Sahrawat
Committed by
Sumit Sahrawat
Jun 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #665: Incomplete KernelInfoReply from EasyKernel.replyTo
parent
c783897d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
EasyKernel.hs
ipython-kernel/src/IHaskell/IPython/EasyKernel.hs
+7
-0
No files found.
ipython-kernel/src/IHaskell/IPython/EasyKernel.hs
View file @
ba7cd9c8
...
...
@@ -77,6 +77,10 @@ data KernelConfig m output result =
-- should be handled by defining an appropriate error constructor in your result type.
,
run
::
T
.
Text
->
IO
()
->
(
output
->
IO
()
)
->
m
(
result
,
ExecuteReplyStatus
,
String
)
,
debug
::
Bool
-- ^ Whether to print extra debugging information to
-- | A One-line description of the kernel
,
kernelBanner
::
String
-- | The version of the messaging specification used by the kernel
,
kernelProtocolVersion
::
String
}
-- Install the kernelspec, using the `writeKernelspec` field of the kernel configuration.
...
...
@@ -162,7 +166,10 @@ replyTo config _ _ KernelInfoRequest{} replyHeader =
,
languageInfo
=
kernelLanguageInfo
config
,
implementation
=
"ipython-kernel.EasyKernel"
,
implementationVersion
=
"0.0"
,
banner
=
kernelBanner
config
,
protocolVersion
=
kernelProtocolVersion
config
}
replyTo
config
_
interface
ShutdownRequest
{
restartPending
=
pending
}
replyHeader
=
do
liftIO
$
writeChan
(
shellReplyChannel
interface
)
$
ShutdownReply
replyHeader
pending
liftIO
exitSuccess
...
...
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