Add more configurables for EasyKernel

This commit is contained in:
Sumit Sahrawat 2016-06-03 17:17:44 +05:30 committed by Sumit Sahrawat
parent ba7cd9c84e
commit 8e381a7f54

View File

@ -81,6 +81,10 @@ data KernelConfig m output result =
, kernelBanner :: String
-- | The version of the messaging specification used by the kernel
, kernelProtocolVersion :: String
-- | Name of the kernel implementation
, kernelImplName :: String
-- | Version of the kernel implementation
, kernelImplVersion :: String
}
-- Install the kernelspec, using the `writeKernelspec` field of the kernel configuration.
@ -164,8 +168,8 @@ replyTo config _ _ KernelInfoRequest{} replyHeader =
KernelInfoReply
{ header = replyHeader
, languageInfo = kernelLanguageInfo config
, implementation = "ipython-kernel.EasyKernel"
, implementationVersion = "0.0"
, implementation = kernelImplName config
, implementationVersion = kernelImplVersion config
, banner = kernelBanner config
, protocolVersion = kernelProtocolVersion config
}