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
28dd8276
Commit
28dd8276
authored
Feb 27, 2020
by
James Brock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update IHaskell kernel for MessageHeader mhBuffers
parent
8c43d47f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Main.hs
main/Main.hs
+1
-1
Stdin.hs
src/IHaskell/IPython/Stdin.hs
+1
-0
No files found.
main/Main.hs
View file @
28dd8276
...
...
@@ -221,7 +221,7 @@ createReplyHeader parent = do
err
=
error
$
"No reply for message "
++
show
(
mhMsgType
parent
)
return
$
MessageHeader
(
mhIdentifiers
parent
)
(
Just
parent
)
mempty
newMessageId
(
mhSessionId
parent
)
(
mhUsername
parent
)
repType
newMessageId
(
mhSessionId
parent
)
(
mhUsername
parent
)
repType
[]
-- | Compute a reply to a message.
replyTo
::
ZeroMQInterface
->
Message
->
MessageHeader
->
KernelState
->
Interpreter
(
KernelState
,
Message
)
...
...
src/IHaskell/IPython/Stdin.hs
View file @
28dd8276
...
...
@@ -94,6 +94,7 @@ getInputLine dir = do
.
readMay
<$>
readFile
fpath
let
hdr
=
MessageHeader
(
mhIdentifiers
parentHdr
)
(
Just
parentHdr
)
mempty
uuid
(
mhSessionId
parentHdr
)
(
mhUsername
parentHdr
)
InputRequestMessage
[]
let
msg
=
RequestInput
hdr
""
writeChan
req
msg
...
...
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