Commit 90f967c1 authored by Sumit Sahrawat's avatar Sumit Sahrawat

Formatting fixes

parent 007e9532
{-# LANGUAGE FlexibleInstances #-}
{- There are 3 types of plots to consider in haskell-gnuplot: Plot, Frame and Multiplot.
Plot types are the actual plots, whereas Frame types are plots with additional options
e.g. custom axes tics, graph title etc.. Multiplots are collections of 2D and/or 3D plots.
......@@ -62,6 +63,7 @@ name = ".ihaskell-gnuplot."
-- Width and height
w = 300
h = 300
graphDataPNG2P :: (C x, C y) => P.T (Tw.T x y) -> IO DisplayData
......@@ -160,7 +162,6 @@ graphDataSVG3F graph = do
imgData <- Char.readFile $ name ++ "svg"
return $ svg $ Char.unpack imgData
graphDataPNGM :: M.T -> IO DisplayData
graphDataPNGM graph = do
switchToTmpDir
......
import Distribution.Simple
main = defaultMain
......@@ -288,7 +288,8 @@ data Message =
KernelInfoReply
{ header :: MessageHeader
, protocolVersion :: String -- ^ current protocol version, major and minor
, banner :: String -- ^ Kernel information description e.g. (IHaskell 0.8.3.0 GHC 7.10.2)
, banner :: String -- ^ Kernel information description e.g. (IHaskell 0.8.3.0 GHC
-- 7.10.2)
, implementation :: String -- ^ e.g. IHaskell
, implementationVersion :: String -- ^ The version of the implementation
, languageInfo :: LanguageInfo
......
......@@ -4,7 +4,8 @@ import IHaskellPrelude
ihaskellCSS :: String
ihaskellCSS =
unlines [
unlines
[
-- Custom IHaskell CSS
"/* Styles used for the Hoogle display in the pager */"
, ".hoogle-doc {"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment