Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Format table according to LaTeX better-practices

  • Loading branch information...
commit f14826772bfa6bd4a704e19f26a7559d1d29b0af 1 parent 518dcca
@norm2782 norm2782 authored
Showing with 10 additions and 11 deletions.
  1. +9 −11 EHC/text/TopicJavaScriptIFL.cltex
  2. +1 −0  EHC/text/main.cltex
View
20 EHC/text/TopicJavaScriptIFL.cltex
@@ -228,17 +228,15 @@ type |Int|, |Double|, |Float|, and |Integer| are lazy.
\begin{table}
\centering
- \begin{tabular}{||l||l||}
- \hline
- \textbf{Haskell} & \textbf{\js}\\
- \hline
- \hline
- |Int|, |Double|, |Float| & |Number|\\
- \hline
- |Integer| & |BigInt|\\
- \hline
- otherwise & RTS representation\\
- \hline
+ \setlength{\tabcolsep}{10pt}
+ \begin{tabular}{l l}
+ \toprule
+ \textbf{Haskell} & \textbf{\js}\\
+ \midrule
+ |Int|, |Double|, |Float| & |Number|\\
+ |Integer| & |BigInt|\\
+ otherwise & RTS representation\\
+ \bottomrule
\end{tabular}
\caption{Mapping from Haskell Types to native \js types}
\label{table:typemap}
View
1  EHC/text/main.cltex
@@ -384,6 +384,7 @@
%%[72
\usepackage{xspace}
+\usepackage{booktabs}
%%]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Please sign in to comment.
Something went wrong with that request. Please try again.