n3paste.de

::

a haskell happstack pastebin

  • New paste
  • View pastes

  • Login

  • About
  • Most recent pastes (filtered)

    Filter pastes (help):

    16:22 - Sat 2017.05.27

    TeX

    Paste: /iH2/Show related

    No description.

    \begin{table*}[]
    \centering
    \caption{Iterator Concepts (all postfixed with "Iterator")}
    \label{iterator-concepts}
    \begin{tabular}{lll}
    \multicolumn{1}{c}{\textbf{Concept}} & \multicolumn{1}{c}{\textbf{Notes}}                                                                            & \multicolumn{1}{c}{\textbf{Operators}}           \\ \hline
    RandomAccess                         & \begin{tabular}[c]{@{}l@{}}Constant time access to any element\\ Constant time difference with -\end{tabular} & \verb~* = ++ -> == != -- + - [] < > <= >= += -=~ \\ \hline
    Bidirectional                        &                                                                                                               & \verb~* = ++ -> == != --~                        \\ \hline
    Forward                              &                                                                                                               & \verb~* = ++ -> == !=~                           \\ \hline
    Input                                & \begin{tabular}[c]{@{}l@{}}Elements might only\\ be traversed once\end{tabular}                               & \verb~* = ++ -> == !=~                           \\ \hline
    Output                               & Mutable Iterator                                                                                              & \verb~* = ++~
    \end{tabular}
    \end{table*}
    

    19:34 - Wed 2017.05.03

    TeX

    Paste: /yX9Y/Show related

    No description.

    \begin{listing}
    \begin{minted}[fontsize=\footnotesize]{haskell}
    data Arith =
        Lit Integer
      | Var Char
      | Arith :+: Arith
      | Arith :-: Arith
      | Arith :*: Arith
    \end{minted}
    \caption{Arithmetic Syntax Tree}
    \label{lst:datastructure}
    \end{listing}